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

Side by Side Diff: src/builtins.cc

Issue 584043002: Add MEGAMORPHIC state support for KeyedStoreIC (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased for landing Created 6 years, 2 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/builtins.h ('k') | src/ic/arm/ic-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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/arguments.h" 8 #include "src/arguments.h"
9 #include "src/base/once.h" 9 #include "src/base/once.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1307 static void Generate_KeyedStoreIC_Slow(MacroAssembler* masm) { 1307 static void Generate_KeyedStoreIC_Slow(MacroAssembler* masm) {
1308 ElementHandlerCompiler::GenerateStoreSlow(masm); 1308 ElementHandlerCompiler::GenerateStoreSlow(masm);
1309 } 1309 }
1310 1310
1311 1311
1312 static void Generate_StoreIC_Setter_ForDeopt(MacroAssembler* masm) { 1312 static void Generate_StoreIC_Setter_ForDeopt(MacroAssembler* masm) {
1313 NamedStoreHandlerCompiler::GenerateStoreViaSetterForDeopt(masm); 1313 NamedStoreHandlerCompiler::GenerateStoreViaSetterForDeopt(masm);
1314 } 1314 }
1315 1315
1316 1316
1317 static void Generate_KeyedStoreIC_Megamorphic(MacroAssembler* masm) {
1318 KeyedStoreIC::GenerateGeneric(masm, SLOPPY, kMissOnMissingHandler);
1319 }
1320
1321
1322 static void Generate_KeyedStoreIC_Megamorphic_Strict(MacroAssembler* masm) {
1323 KeyedStoreIC::GenerateGeneric(masm, STRICT, kMissOnMissingHandler);
1324 }
1325
1326
1317 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { 1327 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) {
1318 KeyedStoreIC::GenerateGeneric(masm, SLOPPY); 1328 KeyedStoreIC::GenerateGeneric(masm, SLOPPY, kCallRuntimeOnMissingHandler);
1319 } 1329 }
1320 1330
1321 1331
1322 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { 1332 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) {
1323 KeyedStoreIC::GenerateGeneric(masm, STRICT); 1333 KeyedStoreIC::GenerateGeneric(masm, STRICT, kCallRuntimeOnMissingHandler);
1324 } 1334 }
1325 1335
1326 1336
1327 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { 1337 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) {
1328 KeyedStoreIC::GenerateMiss(masm); 1338 KeyedStoreIC::GenerateMiss(masm);
1329 } 1339 }
1330 1340
1331 1341
1332 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { 1342 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) {
1333 KeyedStoreIC::GenerateInitialize(masm); 1343 KeyedStoreIC::GenerateInitialize(masm);
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
1645 } 1655 }
1646 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1656 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1647 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1657 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1648 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) 1658 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H)
1649 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1659 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1650 #undef DEFINE_BUILTIN_ACCESSOR_C 1660 #undef DEFINE_BUILTIN_ACCESSOR_C
1651 #undef DEFINE_BUILTIN_ACCESSOR_A 1661 #undef DEFINE_BUILTIN_ACCESSOR_A
1652 1662
1653 1663
1654 } } // namespace v8::internal 1664 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/ic/arm/ic-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698