| 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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 V(StringFromCharCode, 2) \ | 332 V(StringFromCharCode, 2) \ |
| 333 V(StringPrototypeCharAt, 2) \ | 333 V(StringPrototypeCharAt, 2) \ |
| 334 V(StringPrototypeCharCodeAt, 2) \ | 334 V(StringPrototypeCharCodeAt, 2) \ |
| 335 V(TypedArrayPrototypeByteLength, 1) \ | 335 V(TypedArrayPrototypeByteLength, 1) \ |
| 336 V(TypedArrayPrototypeByteOffset, 1) \ | 336 V(TypedArrayPrototypeByteOffset, 1) \ |
| 337 V(TypedArrayPrototypeLength, 1) \ | 337 V(TypedArrayPrototypeLength, 1) \ |
| 338 V(AtomicsLoad, 3) \ | 338 V(AtomicsLoad, 3) \ |
| 339 V(AtomicsStore, 4) | 339 V(AtomicsStore, 4) |
| 340 | 340 |
| 341 // Define list of builtins implemented in TurboFan (with CallStub linkage). | 341 // Define list of builtins implemented in TurboFan (with CallStub linkage). |
| 342 #define BUILTIN_LIST_S(V) \ | 342 #define BUILTIN_LIST_S(V) \ |
| 343 V(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ | 343 V(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobal) \ |
| 344 V(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobal) \ |
| 345 V(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ |
| 344 V(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector) | 346 V(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector) |
| 345 | 347 |
| 346 // Define list of builtin handlers implemented in assembly. | 348 // Define list of builtin handlers implemented in assembly. |
| 347 #define BUILTIN_LIST_H(V) \ | 349 #define BUILTIN_LIST_H(V) \ |
| 348 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \ | 350 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \ |
| 349 V(StoreIC_Slow, STORE_IC) \ | 351 V(StoreIC_Slow, STORE_IC) \ |
| 350 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \ | 352 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \ |
| 351 V(LoadIC_Normal, LOAD_IC) \ | 353 V(LoadIC_Normal, LOAD_IC) \ |
| 352 V(StoreIC_Normal, STORE_IC) | 354 V(StoreIC_Normal, STORE_IC) |
| 353 | 355 |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 friend class BuiltinFunctionTable; | 731 friend class BuiltinFunctionTable; |
| 730 friend class Isolate; | 732 friend class Isolate; |
| 731 | 733 |
| 732 DISALLOW_COPY_AND_ASSIGN(Builtins); | 734 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 733 }; | 735 }; |
| 734 | 736 |
| 735 } // namespace internal | 737 } // namespace internal |
| 736 } // namespace v8 | 738 } // namespace v8 |
| 737 | 739 |
| 738 #endif // V8_BUILTINS_H_ | 740 #endif // V8_BUILTINS_H_ |
| OLD | NEW |