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

Side by Side Diff: src/builtins.h

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 | « no previous file | src/builtins.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 #ifndef V8_BUILTINS_H_ 5 #ifndef V8_BUILTINS_H_
6 #define V8_BUILTINS_H_ 6 #define V8_BUILTINS_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC, \ 88 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC, \
89 kNoExtraICState) \ 89 kNoExtraICState) \
90 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, GENERIC, kNoExtraICState) \ 90 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, GENERIC, kNoExtraICState) \
91 \ 91 \
92 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, StoreIC::kStrictModeState) \ 92 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, StoreIC::kStrictModeState) \
93 \ 93 \
94 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, kNoExtraICState) \ 94 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, kNoExtraICState) \
95 V(KeyedStoreIC_PreMonomorphic, KEYED_STORE_IC, PREMONOMORPHIC, \ 95 V(KeyedStoreIC_PreMonomorphic, KEYED_STORE_IC, PREMONOMORPHIC, \
96 kNoExtraICState) \ 96 kNoExtraICState) \
97 V(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, MEGAMORPHIC, kNoExtraICState) \ 97 V(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, MEGAMORPHIC, kNoExtraICState) \
98 V(KeyedStoreIC_Generic, KEYED_STORE_IC, GENERIC, kNoExtraICState) \
99 \ 98 \
100 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \ 99 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \
101 StoreIC::kStrictModeState) \ 100 StoreIC::kStrictModeState) \
102 V(KeyedStoreIC_PreMonomorphic_Strict, KEYED_STORE_IC, PREMONOMORPHIC, \ 101 V(KeyedStoreIC_PreMonomorphic_Strict, KEYED_STORE_IC, PREMONOMORPHIC, \
103 StoreIC::kStrictModeState) \ 102 StoreIC::kStrictModeState) \
104 V(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, MEGAMORPHIC, \ 103 V(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, MEGAMORPHIC, \
105 StoreIC::kStrictModeState) \ 104 StoreIC::kStrictModeState) \
106 V(KeyedStoreIC_Generic_Strict, KEYED_STORE_IC, GENERIC, \
107 StoreIC::kStrictModeState) \
108 V(KeyedStoreIC_SloppyArguments, KEYED_STORE_IC, MONOMORPHIC, \ 105 V(KeyedStoreIC_SloppyArguments, KEYED_STORE_IC, MONOMORPHIC, \
109 kNoExtraICState) \ 106 kNoExtraICState) \
110 \ 107 \
111 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ 108 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \
112 V(FunctionCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 109 V(FunctionCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \
113 V(FunctionApply, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 110 V(FunctionApply, BUILTIN, UNINITIALIZED, kNoExtraICState) \
114 \ 111 \
115 V(InternalArrayCode, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 112 V(InternalArrayCode, BUILTIN, UNINITIALIZED, kNoExtraICState) \
116 V(ArrayCode, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 113 V(ArrayCode, BUILTIN, UNINITIALIZED, kNoExtraICState) \
117 \ 114 \
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 338
342 friend class BuiltinFunctionTable; 339 friend class BuiltinFunctionTable;
343 friend class Isolate; 340 friend class Isolate;
344 341
345 DISALLOW_COPY_AND_ASSIGN(Builtins); 342 DISALLOW_COPY_AND_ASSIGN(Builtins);
346 }; 343 };
347 344
348 } } // namespace v8::internal 345 } } // namespace v8::internal
349 346
350 #endif // V8_BUILTINS_H_ 347 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698