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

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: nits 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
OLDNEW
1 // Copyright 2011 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
11 // with the distribution. 11 // with the distribution.
(...skipping 7022 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},
7049 // ElementsTransitionGenerator::GenerateDoubleToObject 7050 // ElementsTransitionGenerator::GenerateDoubleToObject
7050 { eax, edx, esi, EMIT_REMEMBERED_SET}, 7051 { eax, edx, esi, EMIT_REMEMBERED_SET},
7051 { edx, eax, edi, EMIT_REMEMBERED_SET}, 7052 { edx, eax, edi, EMIT_REMEMBERED_SET},
7052 // StoreArrayLiteralElementStub::Generate 7053 // StoreArrayLiteralElementStub::Generate
7053 { ebx, eax, ecx, EMIT_REMEMBERED_SET}, 7054 { ebx, eax, ecx, EMIT_REMEMBERED_SET},
7054 // Null termination. 7055 // Null termination.
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
7372 false); 7373 false);
7373 __ pop(edx); 7374 __ pop(edx);
7374 __ ret(0); 7375 __ ret(0);
7375 } 7376 }
7376 7377
7377 #undef __ 7378 #undef __
7378 7379
7379 } } // namespace v8::internal 7380 } } // namespace v8::internal
7380 7381
7381 #endif // V8_TARGET_ARCH_IA32 7382 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698