| OLD | NEW |
| 1 | 1 |
| 2 // Copyright 2011 the V8 project authors. All rights reserved. | 2 // Copyright 2011 the V8 project authors. All rights reserved. |
| 3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
| 4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 5 | 5 |
| 6 #ifndef V8_BUILTINS_H_ | 6 #ifndef V8_BUILTINS_H_ |
| 7 #define V8_BUILTINS_H_ | 7 #define V8_BUILTINS_H_ |
| 8 | 8 |
| 9 #include "src/base/flags.h" | 9 #include "src/base/flags.h" |
| 10 #include "src/handles.h" | 10 #include "src/handles.h" |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 V(StringFromCharCode, 2) \ | 330 V(StringFromCharCode, 2) \ |
| 331 V(StringPrototypeCharAt, 2) \ | 331 V(StringPrototypeCharAt, 2) \ |
| 332 V(StringPrototypeCharCodeAt, 2) \ | 332 V(StringPrototypeCharCodeAt, 2) \ |
| 333 V(TypedArrayPrototypeByteLength, 1) \ | 333 V(TypedArrayPrototypeByteLength, 1) \ |
| 334 V(TypedArrayPrototypeByteOffset, 1) \ | 334 V(TypedArrayPrototypeByteOffset, 1) \ |
| 335 V(TypedArrayPrototypeLength, 1) \ | 335 V(TypedArrayPrototypeLength, 1) \ |
| 336 V(AtomicsLoad, 3) \ | 336 V(AtomicsLoad, 3) \ |
| 337 V(AtomicsStore, 4) | 337 V(AtomicsStore, 4) |
| 338 | 338 |
| 339 // Define list of builtins implemented in TurboFan (with CallStub linkage). | 339 // Define list of builtins implemented in TurboFan (with CallStub linkage). |
| 340 #define BUILTIN_LIST_S(V) \ | 340 #define BUILTIN_LIST_S(V) \ |
| 341 V(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ | 341 V(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ |
| 342 V(LoadGlobalIC_SlowNotInsideTypeof, HANDLER, Code::LOAD_GLOBAL_IC, \ | 342 V(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector) \ |
| 343 LoadGlobalWithVector) \ | 343 V(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ |
| 344 V(LoadGlobalIC_SlowInsideTypeof, HANDLER, Code::LOAD_GLOBAL_IC, \ | |
| 345 LoadGlobalWithVector) \ | |
| 346 V(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ | |
| 347 V(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector) | 344 V(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector) |
| 348 | 345 |
| 349 // Define list of builtin handlers implemented in assembly. | 346 // Define list of builtin handlers implemented in assembly. |
| 350 #define BUILTIN_LIST_H(V) \ | 347 #define BUILTIN_LIST_H(V) \ |
| 351 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \ | 348 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \ |
| 352 V(StoreIC_Slow, STORE_IC) \ | 349 V(StoreIC_Slow, STORE_IC) \ |
| 353 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \ | 350 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \ |
| 354 V(LoadIC_Normal, LOAD_IC) \ | 351 V(LoadIC_Normal, LOAD_IC) \ |
| 355 V(StoreIC_Normal, STORE_IC) | 352 V(StoreIC_Normal, STORE_IC) |
| 356 | 353 |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 friend class BuiltinFunctionTable; | 751 friend class BuiltinFunctionTable; |
| 755 friend class Isolate; | 752 friend class Isolate; |
| 756 | 753 |
| 757 DISALLOW_COPY_AND_ASSIGN(Builtins); | 754 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 758 }; | 755 }; |
| 759 | 756 |
| 760 } // namespace internal | 757 } // namespace internal |
| 761 } // namespace v8 | 758 } // namespace v8 |
| 762 | 759 |
| 763 #endif // V8_BUILTINS_H_ | 760 #endif // V8_BUILTINS_H_ |
| OLD | NEW |