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