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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 Code::kNoExtraICState) \ | 160 Code::kNoExtraICState) \ |
161 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC, \ | 161 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC, \ |
162 Code::kNoExtraICState) \ | 162 Code::kNoExtraICState) \ |
163 \ | 163 \ |
164 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \ | 164 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \ |
165 kStrictMode) \ | 165 kStrictMode) \ |
166 V(KeyedStoreIC_Generic_Strict, KEYED_STORE_IC, MEGAMORPHIC, \ | 166 V(KeyedStoreIC_Generic_Strict, KEYED_STORE_IC, MEGAMORPHIC, \ |
167 kStrictMode) \ | 167 kStrictMode) \ |
168 V(KeyedStoreIC_NonStrictArguments, KEYED_STORE_IC, MEGAMORPHIC, \ | 168 V(KeyedStoreIC_NonStrictArguments, KEYED_STORE_IC, MEGAMORPHIC, \ |
169 Code::kNoExtraICState) \ | 169 Code::kNoExtraICState) \ |
| 170 V(TransitionElementsSmiToDouble, BUILTIN, UNINITIALIZED, \ |
| 171 Code::kNoExtraICState) \ |
| 172 V(TransitionElementsDoubleToObject, BUILTIN, UNINITIALIZED, \ |
| 173 Code::kNoExtraICState) \ |
170 \ | 174 \ |
171 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ | 175 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ |
172 V(FunctionCall, BUILTIN, UNINITIALIZED, \ | 176 V(FunctionCall, BUILTIN, UNINITIALIZED, \ |
173 Code::kNoExtraICState) \ | 177 Code::kNoExtraICState) \ |
174 V(FunctionApply, BUILTIN, UNINITIALIZED, \ | 178 V(FunctionApply, BUILTIN, UNINITIALIZED, \ |
175 Code::kNoExtraICState) \ | 179 Code::kNoExtraICState) \ |
176 \ | 180 \ |
177 V(ArrayCode, BUILTIN, UNINITIALIZED, \ | 181 V(ArrayCode, BUILTIN, UNINITIALIZED, \ |
178 Code::kNoExtraICState) \ | 182 Code::kNoExtraICState) \ |
179 V(ArrayConstructCode, BUILTIN, UNINITIALIZED, \ | 183 V(ArrayConstructCode, BUILTIN, UNINITIALIZED, \ |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 V(BIT_AND, 1) \ | 231 V(BIT_AND, 1) \ |
228 V(BIT_XOR, 1) \ | 232 V(BIT_XOR, 1) \ |
229 V(UNARY_MINUS, 0) \ | 233 V(UNARY_MINUS, 0) \ |
230 V(BIT_NOT, 0) \ | 234 V(BIT_NOT, 0) \ |
231 V(SHL, 1) \ | 235 V(SHL, 1) \ |
232 V(SAR, 1) \ | 236 V(SAR, 1) \ |
233 V(SHR, 1) \ | 237 V(SHR, 1) \ |
234 V(DELETE, 2) \ | 238 V(DELETE, 2) \ |
235 V(IN, 1) \ | 239 V(IN, 1) \ |
236 V(INSTANCE_OF, 1) \ | 240 V(INSTANCE_OF, 1) \ |
237 V(GET_KEYS, 0) \ | |
238 V(FILTER_KEY, 1) \ | 241 V(FILTER_KEY, 1) \ |
239 V(CALL_NON_FUNCTION, 0) \ | 242 V(CALL_NON_FUNCTION, 0) \ |
240 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR, 0) \ | 243 V(CALL_NON_FUNCTION_AS_CONSTRUCTOR, 0) \ |
241 V(CALL_FUNCTION_PROXY, 1) \ | 244 V(CALL_FUNCTION_PROXY, 1) \ |
242 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR, 1) \ | 245 V(CALL_FUNCTION_PROXY_AS_CONSTRUCTOR, 1) \ |
243 V(TO_OBJECT, 0) \ | 246 V(TO_OBJECT, 0) \ |
244 V(TO_NUMBER, 0) \ | 247 V(TO_NUMBER, 0) \ |
245 V(TO_STRING, 0) \ | 248 V(TO_STRING, 0) \ |
246 V(STRING_ADD_LEFT, 1) \ | 249 V(STRING_ADD_LEFT, 1) \ |
247 V(STRING_ADD_RIGHT, 1) \ | 250 V(STRING_ADD_RIGHT, 1) \ |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 | 371 |
369 friend class BuiltinFunctionTable; | 372 friend class BuiltinFunctionTable; |
370 friend class Isolate; | 373 friend class Isolate; |
371 | 374 |
372 DISALLOW_COPY_AND_ASSIGN(Builtins); | 375 DISALLOW_COPY_AND_ASSIGN(Builtins); |
373 }; | 376 }; |
374 | 377 |
375 } } // namespace v8::internal | 378 } } // namespace v8::internal |
376 | 379 |
377 #endif // V8_BUILTINS_H_ | 380 #endif // V8_BUILTINS_H_ |
OLD | NEW |