| 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 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
| 9 #include "src/handles.h" | 9 #include "src/handles.h" |
| 10 | 10 |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 V(StringFromCharCode, 2) \ | 327 V(StringFromCharCode, 2) \ |
| 328 V(StringPrototypeCharAt, 2) \ | 328 V(StringPrototypeCharAt, 2) \ |
| 329 V(StringPrototypeCharCodeAt, 2) \ | 329 V(StringPrototypeCharCodeAt, 2) \ |
| 330 V(TypedArrayPrototypeByteLength, 1) \ | 330 V(TypedArrayPrototypeByteLength, 1) \ |
| 331 V(TypedArrayPrototypeByteOffset, 1) \ | 331 V(TypedArrayPrototypeByteOffset, 1) \ |
| 332 V(TypedArrayPrototypeLength, 1) \ | 332 V(TypedArrayPrototypeLength, 1) \ |
| 333 V(AtomicsLoad, 3) \ | 333 V(AtomicsLoad, 3) \ |
| 334 V(AtomicsStore, 4) | 334 V(AtomicsStore, 4) |
| 335 | 335 |
| 336 // Define list of builtins implemented in TurboFan (with CallStub linkage). | 336 // Define list of builtins implemented in TurboFan (with CallStub linkage). |
| 337 #define BUILTIN_LIST_S(V) \ | 337 #define BUILTIN_LIST_S(V) \ |
| 338 V(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ | 338 V(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ |
| 339 V(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector) \ | 339 V(LoadGlobalIC_SlowNotInsideTypeof, HANDLER, Code::LOAD_GLOBAL_IC, \ |
| 340 V(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ | 340 LoadGlobalWithVector) \ |
| 341 V(LoadGlobalIC_SlowInsideTypeof, HANDLER, Code::LOAD_GLOBAL_IC, \ |
| 342 LoadGlobalWithVector) \ |
| 343 V(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ |
| 341 V(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector) | 344 V(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector) |
| 342 | 345 |
| 343 // Define list of builtin handlers implemented in assembly. | 346 // Define list of builtin handlers implemented in assembly. |
| 344 #define BUILTIN_LIST_H(V) \ | 347 #define BUILTIN_LIST_H(V) \ |
| 345 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \ | 348 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \ |
| 346 V(StoreIC_Slow, STORE_IC) \ | 349 V(StoreIC_Slow, STORE_IC) \ |
| 347 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \ | 350 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \ |
| 348 V(LoadIC_Normal, LOAD_IC) \ | 351 V(LoadIC_Normal, LOAD_IC) \ |
| 349 V(StoreIC_Normal, STORE_IC) | 352 V(StoreIC_Normal, STORE_IC) |
| 350 | 353 |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 friend class BuiltinFunctionTable; | 751 friend class BuiltinFunctionTable; |
| 749 friend class Isolate; | 752 friend class Isolate; |
| 750 | 753 |
| 751 DISALLOW_COPY_AND_ASSIGN(Builtins); | 754 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 752 }; | 755 }; |
| 753 | 756 |
| 754 } // namespace internal | 757 } // namespace internal |
| 755 } // namespace v8 | 758 } // namespace v8 |
| 756 | 759 |
| 757 #endif // V8_BUILTINS_H_ | 760 #endif // V8_BUILTINS_H_ |
| OLD | NEW |