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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 /* ArrayBuffer */ \ | 716 /* ArrayBuffer */ \ |
710 F(ArrayBufferGetByteLength, 1, 1) \ | 717 F(ArrayBufferGetByteLength, 1, 1) \ |
711 /* Maths */ \ | 718 /* Maths */ \ |
712 F(ConstructDouble, 2, 1) \ | 719 F(ConstructDouble, 2, 1) \ |
713 F(DoubleHi, 1, 1) \ | 720 F(DoubleHi, 1, 1) \ |
714 F(DoubleLo, 1, 1) \ | 721 F(DoubleLo, 1, 1) \ |
715 F(MathSqrtRT, 1, 1) \ | 722 F(MathSqrtRT, 1, 1) \ |
716 F(MathLogRT, 1, 1) \ | 723 F(MathLogRT, 1, 1) \ |
717 /* ES6 Collections */ \ | 724 /* ES6 Collections */ \ |
718 F(MapClear, 1, 1) \ | 725 F(MapClear, 1, 1) \ |
719 F(MapDelete, 2, 1) \ | |
720 F(MapGet, 2, 1) \ | |
721 F(MapGetSize, 1, 1) \ | |
722 F(MapHas, 2, 1) \ | |
723 F(MapInitialize, 1, 1) \ | 726 F(MapInitialize, 1, 1) \ |
724 F(MapSet, 3, 1) \ | |
725 F(SetAdd, 2, 1) \ | |
726 F(SetClear, 1, 1) \ | 727 F(SetClear, 1, 1) \ |
727 F(SetDelete, 2, 1) \ | |
728 F(SetGetSize, 1, 1) \ | |
729 F(SetHas, 2, 1) \ | |
730 F(SetInitialize, 1, 1) \ | 728 F(SetInitialize, 1, 1) \ |
| 729 F(FixedArrayGet, 2, 1) \ |
| 730 F(FixedArraySet, 3, 1) \ |
| 731 F(FixedArraySetTheHole, 2, 1) \ |
| 732 F(JSCollectionGetTable, 1, 1) \ |
| 733 F(StringHash, 1, 1) \ |
| 734 F(SmiHash, 1, 1) \ |
731 /* Arrays */ \ | 735 /* Arrays */ \ |
732 F(HasFastPackedElements, 1, 1) \ | 736 F(HasFastPackedElements, 1, 1) \ |
733 F(GetPrototype, 1, 1) | 737 F(GetPrototype, 1, 1) |
734 | 738 |
735 | 739 |
736 //--------------------------------------------------------------------------- | 740 //--------------------------------------------------------------------------- |
737 // Runtime provides access to all C++ runtime functions. | 741 // Runtime provides access to all C++ runtime functions. |
738 | 742 |
739 class RuntimeState { | 743 class RuntimeState { |
740 public: | 744 public: |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 | 901 |
898 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 902 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
899 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 903 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
900 STATIC_ASSERT(LANGUAGE_END == 3); | 904 STATIC_ASSERT(LANGUAGE_END == 3); |
901 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 905 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
902 | 906 |
903 } // namespace internal | 907 } // namespace internal |
904 } // namespace v8 | 908 } // namespace v8 |
905 | 909 |
906 #endif // V8_RUNTIME_RUNTIME_H_ | 910 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |