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

Side by Side Diff: src/ia32/code-stubs-ia32.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 | « src/heap.cc ('k') | src/ia32/codegen-ia32.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 7023 matching lines...) Expand 10 before | Expand all | Expand 10 after
7034 // KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField. 7034 // KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField.
7035 { edx, ecx, ebx, EMIT_REMEMBERED_SET }, 7035 { edx, ecx, ebx, EMIT_REMEMBERED_SET },
7036 // GenerateStoreField calls the stub with two different permutations of 7036 // GenerateStoreField calls the stub with two different permutations of
7037 // registers. This is the second. 7037 // registers. This is the second.
7038 { ebx, ecx, edx, EMIT_REMEMBERED_SET }, 7038 { ebx, ecx, edx, EMIT_REMEMBERED_SET },
7039 // StoreIC::GenerateNormal via GenerateDictionaryStore 7039 // StoreIC::GenerateNormal via GenerateDictionaryStore
7040 { ebx, edi, edx, EMIT_REMEMBERED_SET }, 7040 { ebx, edi, edx, EMIT_REMEMBERED_SET },
7041 // KeyedStoreIC::GenerateGeneric. 7041 // KeyedStoreIC::GenerateGeneric.
7042 { ebx, edx, ecx, EMIT_REMEMBERED_SET}, 7042 { ebx, edx, ecx, EMIT_REMEMBERED_SET},
7043 // KeyedStoreStubCompiler::GenerateStoreFastElement. 7043 // KeyedStoreStubCompiler::GenerateStoreFastElement.
7044 { edi, edx, ecx, EMIT_REMEMBERED_SET}, 7044 { edi, ebx, ecx, EMIT_REMEMBERED_SET},
7045 { edx, edi, ebx, EMIT_REMEMBERED_SET},
7045 // ElementsTransitionGenerator::GenerateSmiOnlyToObject 7046 // ElementsTransitionGenerator::GenerateSmiOnlyToObject
7046 // and ElementsTransitionGenerator::GenerateSmiOnlyToDouble 7047 // and ElementsTransitionGenerator::GenerateSmiOnlyToDouble
7047 // and ElementsTransitionGenerator::GenerateDoubleToObject 7048 // and ElementsTransitionGenerator::GenerateDoubleToObject
7048 { edx, ebx, edi, EMIT_REMEMBERED_SET}, 7049 { edx, ebx, edi, EMIT_REMEMBERED_SET},
7050 { edx, ebx, edi, OMIT_REMEMBERED_SET},
7049 // ElementsTransitionGenerator::GenerateDoubleToObject 7051 // ElementsTransitionGenerator::GenerateDoubleToObject
7050 { eax, edx, esi, EMIT_REMEMBERED_SET}, 7052 { eax, edx, esi, EMIT_REMEMBERED_SET},
7051 { edx, eax, edi, EMIT_REMEMBERED_SET}, 7053 { edx, eax, edi, EMIT_REMEMBERED_SET},
7052 // StoreArrayLiteralElementStub::Generate 7054 // StoreArrayLiteralElementStub::Generate
7053 { ebx, eax, ecx, EMIT_REMEMBERED_SET}, 7055 { ebx, eax, ecx, EMIT_REMEMBERED_SET},
7054 // Null termination. 7056 // Null termination.
7055 { no_reg, no_reg, no_reg, EMIT_REMEMBERED_SET} 7057 { no_reg, no_reg, no_reg, EMIT_REMEMBERED_SET}
7056 }; 7058 };
7057 7059
7058 7060
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
7372 false); 7374 false);
7373 __ pop(edx); 7375 __ pop(edx);
7374 __ ret(0); 7376 __ ret(0);
7375 } 7377 }
7376 7378
7377 #undef __ 7379 #undef __
7378 7380
7379 } } // namespace v8::internal 7381 } } // namespace v8::internal
7380 7382
7381 #endif // V8_TARGET_ARCH_IA32 7383 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698