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_H_ | 5 #ifndef V8_RUNTIME_H_ |
6 #define V8_RUNTIME_H_ | 6 #define V8_RUNTIME_H_ |
7 | 7 |
8 #include "allocation.h" | 8 #include "allocation.h" |
9 #include "zone.h" | 9 #include "zone.h" |
10 | 10 |
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 F(ArrayBufferViewGetByteLength, 1, 1) \ | 678 F(ArrayBufferViewGetByteLength, 1, 1) \ |
679 F(ArrayBufferViewGetByteOffset, 1, 1) \ | 679 F(ArrayBufferViewGetByteOffset, 1, 1) \ |
680 F(TypedArrayGetLength, 1, 1) \ | 680 F(TypedArrayGetLength, 1, 1) \ |
681 /* ArrayBuffer */ \ | 681 /* ArrayBuffer */ \ |
682 F(ArrayBufferGetByteLength, 1, 1) \ | 682 F(ArrayBufferGetByteLength, 1, 1) \ |
683 /* Maths */ \ | 683 /* Maths */ \ |
684 F(ConstructDouble, 2, 1) \ | 684 F(ConstructDouble, 2, 1) \ |
685 F(DoubleHi, 1, 1) \ | 685 F(DoubleHi, 1, 1) \ |
686 F(DoubleLo, 1, 1) \ | 686 F(DoubleLo, 1, 1) \ |
687 F(MathSqrtRT, 1, 1) \ | 687 F(MathSqrtRT, 1, 1) \ |
688 F(MathLog, 1, 1) \ | 688 F(MathLogRT, 1, 1) \ |
689 /* Debugger */ \ | 689 /* Debugger */ \ |
690 F(DebugCallbackSupportsStepping, 1, 1) | 690 F(DebugCallbackSupportsStepping, 1, 1) |
691 | 691 |
692 | 692 |
693 //--------------------------------------------------------------------------- | 693 //--------------------------------------------------------------------------- |
694 // Runtime provides access to all C++ runtime functions. | 694 // Runtime provides access to all C++ runtime functions. |
695 | 695 |
696 class RuntimeState { | 696 class RuntimeState { |
697 public: | 697 public: |
698 StaticResource<ConsStringIteratorOp>* string_iterator() { | 698 StaticResource<ConsStringIteratorOp>* string_iterator() { |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
895 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 895 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
896 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 896 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
897 | 897 |
898 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 898 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
899 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 899 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
900 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 900 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
901 | 901 |
902 } } // namespace v8::internal | 902 } } // namespace v8::internal |
903 | 903 |
904 #endif // V8_RUNTIME_H_ | 904 #endif // V8_RUNTIME_H_ |
OLD | NEW |