OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/objects.h" | 9 #include "src/objects.h" |
10 #include "src/zone.h" | 10 #include "src/zone.h" |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 \ | 289 \ |
290 /* Harmony proxies */ \ | 290 /* Harmony proxies */ \ |
291 F(CreateJSProxy, 2, 1) \ | 291 F(CreateJSProxy, 2, 1) \ |
292 F(CreateJSFunctionProxy, 4, 1) \ | 292 F(CreateJSFunctionProxy, 4, 1) \ |
293 F(IsJSFunctionProxy, 1, 1) \ | 293 F(IsJSFunctionProxy, 1, 1) \ |
294 F(GetHandler, 1, 1) \ | 294 F(GetHandler, 1, 1) \ |
295 F(GetCallTrap, 1, 1) \ | 295 F(GetCallTrap, 1, 1) \ |
296 F(GetConstructTrap, 1, 1) \ | 296 F(GetConstructTrap, 1, 1) \ |
297 F(Fix, 1, 1) \ | 297 F(Fix, 1, 1) \ |
298 \ | 298 \ |
| 299 /* ES6 collections */ \ |
| 300 F(MapGrow, 1, 1) \ |
| 301 F(MapShrink, 1, 1) \ |
| 302 F(SetGrow, 1, 1) \ |
| 303 F(SetShrink, 1, 1) \ |
| 304 F(GenericHash, 1, 1) \ |
| 305 \ |
299 /* ES6 collection iterators */ \ | 306 /* ES6 collection iterators */ \ |
300 F(SetIteratorInitialize, 3, 1) \ | 307 F(SetIteratorInitialize, 3, 1) \ |
301 F(SetIteratorClone, 1, 1) \ | 308 F(SetIteratorClone, 1, 1) \ |
302 F(SetIteratorNext, 2, 1) \ | 309 F(SetIteratorNext, 2, 1) \ |
303 F(SetIteratorDetails, 1, 1) \ | 310 F(SetIteratorDetails, 1, 1) \ |
304 F(MapIteratorInitialize, 3, 1) \ | 311 F(MapIteratorInitialize, 3, 1) \ |
305 F(MapIteratorClone, 1, 1) \ | 312 F(MapIteratorClone, 1, 1) \ |
306 F(MapIteratorNext, 2, 1) \ | 313 F(MapIteratorNext, 2, 1) \ |
307 F(MapIteratorDetails, 1, 1) \ | 314 F(MapIteratorDetails, 1, 1) \ |
308 \ | 315 \ |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 F(ArrayBufferGetByteLength, 1, 1) \ | 699 F(ArrayBufferGetByteLength, 1, 1) \ |
693 /* Maths */ \ | 700 /* Maths */ \ |
694 F(ConstructDouble, 2, 1) \ | 701 F(ConstructDouble, 2, 1) \ |
695 F(DoubleHi, 1, 1) \ | 702 F(DoubleHi, 1, 1) \ |
696 F(DoubleLo, 1, 1) \ | 703 F(DoubleLo, 1, 1) \ |
697 F(MathFloor, 1, 1) \ | 704 F(MathFloor, 1, 1) \ |
698 F(MathSqrt, 1, 1) \ | 705 F(MathSqrt, 1, 1) \ |
699 F(MathLogRT, 1, 1) \ | 706 F(MathLogRT, 1, 1) \ |
700 /* ES6 Collections */ \ | 707 /* ES6 Collections */ \ |
701 F(MapClear, 1, 1) \ | 708 F(MapClear, 1, 1) \ |
702 F(MapDelete, 2, 1) \ | |
703 F(MapGet, 2, 1) \ | |
704 F(MapGetSize, 1, 1) \ | |
705 F(MapHas, 2, 1) \ | |
706 F(MapInitialize, 1, 1) \ | 709 F(MapInitialize, 1, 1) \ |
707 F(MapSet, 3, 1) \ | |
708 F(SetAdd, 2, 1) \ | |
709 F(SetClear, 1, 1) \ | 710 F(SetClear, 1, 1) \ |
710 F(SetDelete, 2, 1) \ | |
711 F(SetGetSize, 1, 1) \ | |
712 F(SetHas, 2, 1) \ | |
713 F(SetInitialize, 1, 1) \ | 711 F(SetInitialize, 1, 1) \ |
| 712 F(FixedArrayGet, 2, 1) \ |
| 713 F(FixedArraySet, 3, 1) \ |
| 714 F(JSCollectionGetTable, 1, 1) \ |
| 715 F(StringGetRawHashField, 1, 1) \ |
| 716 F(TheHole, 0, 1) \ |
714 /* Arrays */ \ | 717 /* Arrays */ \ |
715 F(HasFastPackedElements, 1, 1) \ | 718 F(HasFastPackedElements, 1, 1) \ |
716 F(GetPrototype, 1, 1) | 719 F(GetPrototype, 1, 1) |
717 | 720 |
718 | 721 |
719 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ | 722 #define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \ |
720 RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \ | 723 RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \ |
721 RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ | 724 RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ |
722 RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ | 725 RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ |
723 RUNTIME_FUNCTION_LIST_DEBUGGER(F) \ | 726 RUNTIME_FUNCTION_LIST_DEBUGGER(F) \ |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 | 896 |
894 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 897 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
895 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 898 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
896 STATIC_ASSERT(LANGUAGE_END == 3); | 899 STATIC_ASSERT(LANGUAGE_END == 3); |
897 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 900 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
898 | 901 |
899 } // namespace internal | 902 } // namespace internal |
900 } // namespace v8 | 903 } // namespace v8 |
901 | 904 |
902 #endif // V8_RUNTIME_RUNTIME_H_ | 905 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |