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

Side by Side Diff: src/builtins.cc

Issue 847963004: Replace generic KeyedStore stub with megamorphic version (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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 | « src/builtins.h ('k') | src/ic/ic.h » ('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 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 static void Generate_KeyedStoreIC_Megamorphic(MacroAssembler* masm) { 1288 static void Generate_KeyedStoreIC_Megamorphic(MacroAssembler* masm) {
1289 KeyedStoreIC::GenerateMegamorphic(masm, SLOPPY); 1289 KeyedStoreIC::GenerateMegamorphic(masm, SLOPPY);
1290 } 1290 }
1291 1291
1292 1292
1293 static void Generate_KeyedStoreIC_Megamorphic_Strict(MacroAssembler* masm) { 1293 static void Generate_KeyedStoreIC_Megamorphic_Strict(MacroAssembler* masm) {
1294 KeyedStoreIC::GenerateMegamorphic(masm, STRICT); 1294 KeyedStoreIC::GenerateMegamorphic(masm, STRICT);
1295 } 1295 }
1296 1296
1297 1297
1298 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) {
1299 KeyedStoreIC::GenerateGeneric(masm, SLOPPY);
1300 }
1301
1302
1303 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) {
1304 KeyedStoreIC::GenerateGeneric(masm, STRICT);
1305 }
1306
1307
1308 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { 1298 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) {
1309 KeyedStoreIC::GenerateMiss(masm); 1299 KeyedStoreIC::GenerateMiss(masm);
1310 } 1300 }
1311 1301
1312 1302
1313 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { 1303 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) {
1314 KeyedStoreIC::GenerateInitialize(masm); 1304 KeyedStoreIC::GenerateInitialize(masm);
1315 } 1305 }
1316 1306
1317 1307
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1626 } 1616 }
1627 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1617 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1628 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1618 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1629 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) 1619 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H)
1630 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1620 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1631 #undef DEFINE_BUILTIN_ACCESSOR_C 1621 #undef DEFINE_BUILTIN_ACCESSOR_C
1632 #undef DEFINE_BUILTIN_ACCESSOR_A 1622 #undef DEFINE_BUILTIN_ACCESSOR_A
1633 1623
1634 1624
1635 } } // namespace v8::internal 1625 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/ic/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698