OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |