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

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

Issue 9310117: Implement KeyedStoreICs to grow arrays on out-of-bound stores. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add missing WB stub 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/codegen-arm.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 7041 matching lines...) Expand 10 before | Expand all | Expand 10 after
7052 { r3, r4, r5, EMIT_REMEMBERED_SET }, 7052 { r3, r4, r5, EMIT_REMEMBERED_SET },
7053 // Used in CompileStoreGlobal. 7053 // Used in CompileStoreGlobal.
7054 { r4, r1, r2, OMIT_REMEMBERED_SET }, 7054 { r4, r1, r2, OMIT_REMEMBERED_SET },
7055 // Used in StoreStubCompiler::CompileStoreField via GenerateStoreField. 7055 // Used in StoreStubCompiler::CompileStoreField via GenerateStoreField.
7056 { r1, r2, r3, EMIT_REMEMBERED_SET }, 7056 { r1, r2, r3, EMIT_REMEMBERED_SET },
7057 { r3, r2, r1, EMIT_REMEMBERED_SET }, 7057 { r3, r2, r1, EMIT_REMEMBERED_SET },
7058 // Used in KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField. 7058 // Used in KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField.
7059 { r2, r1, r3, EMIT_REMEMBERED_SET }, 7059 { r2, r1, r3, EMIT_REMEMBERED_SET },
7060 { r3, r1, r2, EMIT_REMEMBERED_SET }, 7060 { r3, r1, r2, EMIT_REMEMBERED_SET },
7061 // KeyedStoreStubCompiler::GenerateStoreFastElement. 7061 // KeyedStoreStubCompiler::GenerateStoreFastElement.
7062 { r4, r2, r3, EMIT_REMEMBERED_SET }, 7062 { r3, r2, r4, EMIT_REMEMBERED_SET },
7063 { r2, r3, r4, EMIT_REMEMBERED_SET },
7063 // ElementsTransitionGenerator::GenerateSmiOnlyToObject 7064 // ElementsTransitionGenerator::GenerateSmiOnlyToObject
7064 // and ElementsTransitionGenerator::GenerateSmiOnlyToDouble 7065 // and ElementsTransitionGenerator::GenerateSmiOnlyToDouble
7065 // and ElementsTransitionGenerator::GenerateDoubleToObject 7066 // and ElementsTransitionGenerator::GenerateDoubleToObject
7066 { r2, r3, r9, EMIT_REMEMBERED_SET }, 7067 { r2, r3, r9, EMIT_REMEMBERED_SET },
7068 { r2, r3, r9, OMIT_REMEMBERED_SET },
7067 // ElementsTransitionGenerator::GenerateDoubleToObject 7069 // ElementsTransitionGenerator::GenerateDoubleToObject
7068 { r6, r2, r0, EMIT_REMEMBERED_SET }, 7070 { r6, r2, r0, EMIT_REMEMBERED_SET },
7069 { r2, r6, r9, EMIT_REMEMBERED_SET }, 7071 { r2, r6, r9, EMIT_REMEMBERED_SET },
7070 // StoreArrayLiteralElementStub::Generate 7072 // StoreArrayLiteralElementStub::Generate
7071 { r5, r0, r6, EMIT_REMEMBERED_SET }, 7073 { r5, r0, r6, EMIT_REMEMBERED_SET },
7072 // Null termination. 7074 // Null termination.
7073 { no_reg, no_reg, no_reg, EMIT_REMEMBERED_SET} 7075 { no_reg, no_reg, no_reg, EMIT_REMEMBERED_SET}
7074 }; 7076 };
7075 7077
7076 7078
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
7361 __ StoreNumberToDoubleElements(r0, r3, r1, r5, r6, r7, r9, r2, 7363 __ StoreNumberToDoubleElements(r0, r3, r1, r5, r6, r7, r9, r2,
7362 &slow_elements); 7364 &slow_elements);
7363 __ Ret(); 7365 __ Ret();
7364 } 7366 }
7365 7367
7366 #undef __ 7368 #undef __
7367 7369
7368 } } // namespace v8::internal 7370 } } // namespace v8::internal
7369 7371
7370 #endif // V8_TARGET_ARCH_ARM 7372 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698