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

Side by Side Diff: src/builtins.h

Issue 1864703003: Turn StoreIC::Megamorphic into a builtin, get rid of the non-monomorphic-cache (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 10
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 240 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
241 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 241 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
242 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 242 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
243 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 243 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, kNoExtraICState) \
244 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, kNoExtraICState) \ 244 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, kNoExtraICState) \
245 V(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, MEGAMORPHIC, kNoExtraICState) \ 245 V(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, MEGAMORPHIC, kNoExtraICState) \
246 \ 246 \
247 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, \ 247 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, \
248 StoreICState::kStrictModeState) \ 248 StoreICState::kStrictModeState) \
249 \ 249 \
250 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC, kNoExtraICState) \
251 V(StoreIC_Megamorphic_Strict, STORE_IC, MEGAMORPHIC, \
252 StoreICState::kStrictModeState) \
253 \
250 V(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, MEGAMORPHIC, kNoExtraICState) \ 254 V(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, MEGAMORPHIC, kNoExtraICState) \
251 \
252 V(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, MEGAMORPHIC, \ 255 V(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, MEGAMORPHIC, \
253 StoreICState::kStrictModeState) \ 256 StoreICState::kStrictModeState) \
254 \ 257 \
255 V(DatePrototypeGetDate, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 258 V(DatePrototypeGetDate, BUILTIN, UNINITIALIZED, kNoExtraICState) \
256 V(DatePrototypeGetDay, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 259 V(DatePrototypeGetDay, BUILTIN, UNINITIALIZED, kNoExtraICState) \
257 V(DatePrototypeGetFullYear, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 260 V(DatePrototypeGetFullYear, BUILTIN, UNINITIALIZED, kNoExtraICState) \
258 V(DatePrototypeGetHours, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 261 V(DatePrototypeGetHours, BUILTIN, UNINITIALIZED, kNoExtraICState) \
259 V(DatePrototypeGetMilliseconds, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 262 V(DatePrototypeGetMilliseconds, BUILTIN, UNINITIALIZED, kNoExtraICState) \
260 V(DatePrototypeGetMinutes, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 263 V(DatePrototypeGetMinutes, BUILTIN, UNINITIALIZED, kNoExtraICState) \
261 V(DatePrototypeGetMonth, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 264 V(DatePrototypeGetMonth, BUILTIN, UNINITIALIZED, kNoExtraICState) \
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 friend class BuiltinFunctionTable; 671 friend class BuiltinFunctionTable;
669 friend class Isolate; 672 friend class Isolate;
670 673
671 DISALLOW_COPY_AND_ASSIGN(Builtins); 674 DISALLOW_COPY_AND_ASSIGN(Builtins);
672 }; 675 };
673 676
674 } // namespace internal 677 } // namespace internal
675 } // namespace v8 678 } // namespace v8
676 679
677 #endif // V8_BUILTINS_H_ 680 #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