Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(734)

Side by Side Diff: src/mips/code-stubs-mips.cc

Issue 9378005: MIPS: Implement KeyedStoreICs to grow arrays on out-of-bound stores. (Closed)
Patch Set: rebased on r10702 Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/mips/codegen-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 7309 matching lines...) Expand 10 before | Expand all | Expand 10 after
7320 { a3, t0, t1, EMIT_REMEMBERED_SET }, 7320 { a3, t0, t1, EMIT_REMEMBERED_SET },
7321 // Used in CompileStoreGlobal. 7321 // Used in CompileStoreGlobal.
7322 { t0, a1, a2, OMIT_REMEMBERED_SET }, 7322 { t0, a1, a2, OMIT_REMEMBERED_SET },
7323 // Used in StoreStubCompiler::CompileStoreField via GenerateStoreField. 7323 // Used in StoreStubCompiler::CompileStoreField via GenerateStoreField.
7324 { a1, a2, a3, EMIT_REMEMBERED_SET }, 7324 { a1, a2, a3, EMIT_REMEMBERED_SET },
7325 { a3, a2, a1, EMIT_REMEMBERED_SET }, 7325 { a3, a2, a1, EMIT_REMEMBERED_SET },
7326 // Used in KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField. 7326 // Used in KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField.
7327 { a2, a1, a3, EMIT_REMEMBERED_SET }, 7327 { a2, a1, a3, EMIT_REMEMBERED_SET },
7328 { a3, a1, a2, EMIT_REMEMBERED_SET }, 7328 { a3, a1, a2, EMIT_REMEMBERED_SET },
7329 // KeyedStoreStubCompiler::GenerateStoreFastElement. 7329 // KeyedStoreStubCompiler::GenerateStoreFastElement.
7330 { t0, a2, a3, EMIT_REMEMBERED_SET }, 7330 { a3, a2, t0, EMIT_REMEMBERED_SET },
7331 { a2, a3, t0, EMIT_REMEMBERED_SET },
7331 // ElementsTransitionGenerator::GenerateSmiOnlyToObject 7332 // ElementsTransitionGenerator::GenerateSmiOnlyToObject
7332 // and ElementsTransitionGenerator::GenerateSmiOnlyToDouble 7333 // and ElementsTransitionGenerator::GenerateSmiOnlyToDouble
7333 // and ElementsTransitionGenerator::GenerateDoubleToObject 7334 // and ElementsTransitionGenerator::GenerateDoubleToObject
7334 { a2, a3, t5, EMIT_REMEMBERED_SET }, 7335 { a2, a3, t5, EMIT_REMEMBERED_SET },
7336 { a2, a3, t5, OMIT_REMEMBERED_SET },
7335 // ElementsTransitionGenerator::GenerateDoubleToObject 7337 // ElementsTransitionGenerator::GenerateDoubleToObject
7336 { t2, a2, a0, EMIT_REMEMBERED_SET }, 7338 { t2, a2, a0, EMIT_REMEMBERED_SET },
7337 { a2, t2, t5, EMIT_REMEMBERED_SET }, 7339 { a2, t2, t5, EMIT_REMEMBERED_SET },
7338 // StoreArrayLiteralElementStub::Generate 7340 // StoreArrayLiteralElementStub::Generate
7339 { t1, a0, t2, EMIT_REMEMBERED_SET }, 7341 { t1, a0, t2, EMIT_REMEMBERED_SET },
7340 // Null termination. 7342 // Null termination.
7341 { no_reg, no_reg, no_reg, EMIT_REMEMBERED_SET} 7343 { no_reg, no_reg, no_reg, EMIT_REMEMBERED_SET}
7342 }; 7344 };
7343 7345
7344 7346
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
7637 __ Ret(USE_DELAY_SLOT); 7639 __ Ret(USE_DELAY_SLOT);
7638 __ mov(v0, a0); 7640 __ mov(v0, a0);
7639 } 7641 }
7640 7642
7641 7643
7642 #undef __ 7644 #undef __
7643 7645
7644 } } // namespace v8::internal 7646 } } // namespace v8::internal
7645 7647
7646 #endif // V8_TARGET_ARCH_MIPS 7648 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips/codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698