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