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

Side by Side Diff: src/builtins.h

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 | « 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 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC, kNoExtraICState) \ 91 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC, kNoExtraICState) \
92 \ 92 \
93 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, StoreIC::kStrictModeState) \ 93 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, StoreIC::kStrictModeState) \
94 \ 94 \
95 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, kNoExtraICState) \ 95 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, kNoExtraICState) \
96 V(KeyedStoreIC_PreMonomorphic, KEYED_STORE_IC, PREMONOMORPHIC, \ 96 V(KeyedStoreIC_PreMonomorphic, KEYED_STORE_IC, PREMONOMORPHIC, \
97 kNoExtraICState) \ 97 kNoExtraICState) \
98 V(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, MEGAMORPHIC, kNoExtraICState) \
98 V(KeyedStoreIC_Generic, KEYED_STORE_IC, GENERIC, kNoExtraICState) \ 99 V(KeyedStoreIC_Generic, KEYED_STORE_IC, GENERIC, kNoExtraICState) \
99 \ 100 \
100 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \ 101 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \
101 StoreIC::kStrictModeState) \ 102 StoreIC::kStrictModeState) \
102 V(KeyedStoreIC_PreMonomorphic_Strict, KEYED_STORE_IC, PREMONOMORPHIC, \ 103 V(KeyedStoreIC_PreMonomorphic_Strict, KEYED_STORE_IC, PREMONOMORPHIC, \
103 StoreIC::kStrictModeState) \ 104 StoreIC::kStrictModeState) \
105 V(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, MEGAMORPHIC, \
106 StoreIC::kStrictModeState) \
104 V(KeyedStoreIC_Generic_Strict, KEYED_STORE_IC, GENERIC, \ 107 V(KeyedStoreIC_Generic_Strict, KEYED_STORE_IC, GENERIC, \
105 StoreIC::kStrictModeState) \ 108 StoreIC::kStrictModeState) \
106 V(KeyedStoreIC_SloppyArguments, KEYED_STORE_IC, MONOMORPHIC, \ 109 V(KeyedStoreIC_SloppyArguments, KEYED_STORE_IC, MONOMORPHIC, \
107 kNoExtraICState) \ 110 kNoExtraICState) \
108 \ 111 \
109 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ 112 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \
110 V(FunctionCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 113 V(FunctionCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \
111 V(FunctionApply, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 114 V(FunctionApply, BUILTIN, UNINITIALIZED, kNoExtraICState) \
112 \ 115 \
113 V(InternalArrayCode, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 116 V(InternalArrayCode, BUILTIN, UNINITIALIZED, kNoExtraICState) \
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 341
339 friend class BuiltinFunctionTable; 342 friend class BuiltinFunctionTable;
340 friend class Isolate; 343 friend class Isolate;
341 344
342 DISALLOW_COPY_AND_ASSIGN(Builtins); 345 DISALLOW_COPY_AND_ASSIGN(Builtins);
343 }; 346 };
344 347
345 } } // namespace v8::internal 348 } } // namespace v8::internal
346 349
347 #endif // V8_BUILTINS_H_ 350 #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