OLD | NEW |
---|---|
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
120 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, \ | 120 V(LoadIC_Miss, BUILTIN, UNINITIALIZED, \ |
121 kNoExtraICState) \ | 121 kNoExtraICState) \ |
122 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, \ | 122 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED, \ |
123 kNoExtraICState) \ | 123 kNoExtraICState) \ |
124 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, \ | 124 V(StoreIC_Miss, BUILTIN, UNINITIALIZED, \ |
125 kNoExtraICState) \ | 125 kNoExtraICState) \ |
126 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, \ | 126 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED, \ |
127 kNoExtraICState) \ | 127 kNoExtraICState) \ |
128 V(LoadIC_Initialize, LOAD_IC, UNINITIALIZED, \ | 128 V(LoadIC_Initialize, LOAD_IC, UNINITIALIZED, \ |
129 kNoExtraICState) \ | 129 kNoExtraICState) \ |
130 V(LoadIC_Initialize_Contextual, LOAD_IC, UNINITIALIZED, \ | |
131 IC::kContextualState) \ | |
130 V(LoadIC_PreMonomorphic, LOAD_IC, PREMONOMORPHIC, \ | 132 V(LoadIC_PreMonomorphic, LOAD_IC, PREMONOMORPHIC, \ |
131 kNoExtraICState) \ | 133 kNoExtraICState) \ |
134 V(LoadIC_PreMonomorphic_Contextual, LOAD_IC, PREMONOMORPHIC, \ | |
135 IC::kContextualState) \ | |
132 V(LoadIC_Megamorphic, LOAD_IC, MEGAMORPHIC, \ | 136 V(LoadIC_Megamorphic, LOAD_IC, MEGAMORPHIC, \ |
133 kNoExtraICState) \ | 137 kNoExtraICState) \ |
138 V(LoadIC_Megamorphic_Contextual, LOAD_IC, MEGAMORPHIC, \ | |
139 IC::kContextualState) \ | |
Toon Verwaest
2013/12/02 15:33:58
Generate using macros.
| |
134 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, \ | 140 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, \ |
135 kNoExtraICState) \ | 141 kNoExtraICState) \ |
136 \ | 142 \ |
137 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED, \ | 143 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED, \ |
138 kNoExtraICState) \ | 144 kNoExtraICState) \ |
139 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC, \ | 145 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC, \ |
140 kNoExtraICState) \ | 146 kNoExtraICState) \ |
141 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, GENERIC, \ | 147 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, GENERIC, \ |
142 kNoExtraICState) \ | 148 kNoExtraICState) \ |
143 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC, \ | 149 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC, \ |
144 kNoExtraICState) \ | 150 kNoExtraICState) \ |
145 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MONOMORPHIC, \ | 151 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MONOMORPHIC, \ |
146 kNoExtraICState) \ | 152 kNoExtraICState) \ |
147 V(KeyedLoadIC_NonStrictArguments, KEYED_LOAD_IC, MONOMORPHIC, \ | 153 V(KeyedLoadIC_NonStrictArguments, KEYED_LOAD_IC, MONOMORPHIC, \ |
148 kNoExtraICState) \ | 154 kNoExtraICState) \ |
149 \ | 155 \ |
150 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED, \ | 156 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED, \ |
151 kNoExtraICState) \ | 157 kNoExtraICState) \ |
152 V(StoreIC_PreMonomorphic, STORE_IC, PREMONOMORPHIC, \ | 158 V(StoreIC_PreMonomorphic, STORE_IC, PREMONOMORPHIC, \ |
153 kNoExtraICState) \ | 159 kNoExtraICState) \ |
154 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC, \ | 160 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC, \ |
155 kNoExtraICState) \ | 161 kNoExtraICState) \ |
156 V(StoreIC_Generic, STORE_IC, GENERIC, \ | 162 V(StoreIC_Generic, STORE_IC, GENERIC, \ |
157 kNoExtraICState) \ | 163 kNoExtraICState) \ |
158 V(StoreIC_Generic_Strict, STORE_IC, GENERIC, \ | 164 V(StoreIC_Generic_Strict, STORE_IC, GENERIC, \ |
159 StoreIC::kStrictModeState) \ | 165 StoreIC::kStrictModeState) \ |
160 V(StoreIC_Initialize_Strict, STORE_IC, UNINITIALIZED, \ | 166 V(StoreIC_Initialize_Strict, STORE_IC, UNINITIALIZED, \ |
161 StoreIC::kStrictModeState) \ | 167 StoreIC::kStrictModeState) \ |
168 V(StoreIC_Initialize_Contextual_Strict, STORE_IC, UNINITIALIZED, \ | |
169 StoreIC::ComputeExtraICState(kStrictMode, CONTEXTUAL)) \ | |
162 V(StoreIC_PreMonomorphic_Strict, STORE_IC, PREMONOMORPHIC, \ | 170 V(StoreIC_PreMonomorphic_Strict, STORE_IC, PREMONOMORPHIC, \ |
163 StoreIC::kStrictModeState) \ | 171 StoreIC::kStrictModeState) \ |
172 V(StoreIC_PreMonomorphic_Contextual_Strict, STORE_IC, PREMONOMORPHIC, \ | |
173 StoreIC::ComputeExtraICState(kStrictMode, CONTEXTUAL)) \ | |
164 V(StoreIC_Megamorphic_Strict, STORE_IC, MEGAMORPHIC, \ | 174 V(StoreIC_Megamorphic_Strict, STORE_IC, MEGAMORPHIC, \ |
165 StoreIC::kStrictModeState) \ | 175 StoreIC::kStrictModeState) \ |
176 V(StoreIC_Megamorphic_Contextual_Strict, STORE_IC, MEGAMORPHIC, \ | |
177 StoreIC::ComputeExtraICState(kStrictMode, CONTEXTUAL)) \ | |
166 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, \ | 178 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, \ |
167 StoreIC::kStrictModeState) \ | 179 StoreIC::kStrictModeState) \ |
168 \ | 180 \ |
169 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, \ | 181 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, \ |
170 kNoExtraICState) \ | 182 kNoExtraICState) \ |
171 V(KeyedStoreIC_PreMonomorphic, KEYED_STORE_IC, PREMONOMORPHIC, \ | 183 V(KeyedStoreIC_PreMonomorphic, KEYED_STORE_IC, PREMONOMORPHIC, \ |
172 kNoExtraICState) \ | 184 kNoExtraICState) \ |
173 V(KeyedStoreIC_Generic, KEYED_STORE_IC, GENERIC, \ | 185 V(KeyedStoreIC_Generic, KEYED_STORE_IC, GENERIC, \ |
174 kNoExtraICState) \ | 186 kNoExtraICState) \ |
175 \ | 187 \ |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
430 | 442 |
431 friend class BuiltinFunctionTable; | 443 friend class BuiltinFunctionTable; |
432 friend class Isolate; | 444 friend class Isolate; |
433 | 445 |
434 DISALLOW_COPY_AND_ASSIGN(Builtins); | 446 DISALLOW_COPY_AND_ASSIGN(Builtins); |
435 }; | 447 }; |
436 | 448 |
437 } } // namespace v8::internal | 449 } } // namespace v8::internal |
438 | 450 |
439 #endif // V8_BUILTINS_H_ | 451 #endif // V8_BUILTINS_H_ |
OLD | NEW |