OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 F(OptimizeFunctionOnNextCall, -1, 1) \ | 90 F(OptimizeFunctionOnNextCall, -1, 1) \ |
91 F(NeverOptimizeFunction, 1, 1) \ | 91 F(NeverOptimizeFunction, 1, 1) \ |
92 F(GetOptimizationStatus, -1, 1) \ | 92 F(GetOptimizationStatus, -1, 1) \ |
93 F(GetOptimizationCount, 1, 1) \ | 93 F(GetOptimizationCount, 1, 1) \ |
94 F(UnblockConcurrentRecompilation, 0, 1) \ | 94 F(UnblockConcurrentRecompilation, 0, 1) \ |
95 F(CompileForOnStackReplacement, 1, 1) \ | 95 F(CompileForOnStackReplacement, 1, 1) \ |
96 F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \ | 96 F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \ |
97 F(SetNativeFlag, 1, 1) \ | 97 F(SetNativeFlag, 1, 1) \ |
98 F(SetInlineBuiltinFlag, 1, 1) \ | 98 F(SetInlineBuiltinFlag, 1, 1) \ |
99 F(StoreArrayLiteralElement, 5, 1) \ | 99 F(StoreArrayLiteralElement, 5, 1) \ |
100 F(DebugCallbackSupportsStepping, 1, 1) \ | |
101 F(DebugPrepareStepInIfStepping, 1, 1) \ | 100 F(DebugPrepareStepInIfStepping, 1, 1) \ |
102 F(DebugPendingExceptionInPromise, 2, 1) \ | 101 F(DebugPendingExceptionInPromise, 2, 1) \ |
103 F(FlattenString, 1, 1) \ | 102 F(FlattenString, 1, 1) \ |
104 F(LoadMutableDouble, 2, 1) \ | 103 F(LoadMutableDouble, 2, 1) \ |
105 F(TryMigrateInstance, 1, 1) \ | 104 F(TryMigrateInstance, 1, 1) \ |
106 F(NotifyContextDisposed, 0, 1) \ | 105 F(NotifyContextDisposed, 0, 1) \ |
107 \ | 106 \ |
108 /* Array join support */ \ | 107 /* Array join support */ \ |
109 F(PushIfAbsent, 2, 1) \ | 108 F(PushIfAbsent, 2, 1) \ |
110 F(ArrayConcat, 1, 1) \ | 109 F(ArrayConcat, 1, 1) \ |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 F(ArrayBufferViewGetByteLength, 1, 1) \ | 699 F(ArrayBufferViewGetByteLength, 1, 1) \ |
701 F(ArrayBufferViewGetByteOffset, 1, 1) \ | 700 F(ArrayBufferViewGetByteOffset, 1, 1) \ |
702 F(TypedArrayGetLength, 1, 1) \ | 701 F(TypedArrayGetLength, 1, 1) \ |
703 /* ArrayBuffer */ \ | 702 /* ArrayBuffer */ \ |
704 F(ArrayBufferGetByteLength, 1, 1) \ | 703 F(ArrayBufferGetByteLength, 1, 1) \ |
705 /* Maths */ \ | 704 /* Maths */ \ |
706 F(ConstructDouble, 2, 1) \ | 705 F(ConstructDouble, 2, 1) \ |
707 F(DoubleHi, 1, 1) \ | 706 F(DoubleHi, 1, 1) \ |
708 F(DoubleLo, 1, 1) \ | 707 F(DoubleLo, 1, 1) \ |
709 F(MathSqrt, 1, 1) \ | 708 F(MathSqrt, 1, 1) \ |
710 F(MathLog, 1, 1) | 709 F(MathLog, 1, 1) \ |
| 710 /* Debugger */ \ |
| 711 F(DebugCallbackSupportsStepping, 1, 1) |
711 | 712 |
712 | 713 |
713 //--------------------------------------------------------------------------- | 714 //--------------------------------------------------------------------------- |
714 // Runtime provides access to all C++ runtime functions. | 715 // Runtime provides access to all C++ runtime functions. |
715 | 716 |
716 class RuntimeState { | 717 class RuntimeState { |
717 public: | 718 public: |
718 StaticResource<ConsStringIteratorOp>* string_iterator() { | 719 StaticResource<ConsStringIteratorOp>* string_iterator() { |
719 return &string_iterator_; | 720 return &string_iterator_; |
720 } | 721 } |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 911 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
911 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 912 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
912 | 913 |
913 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 914 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
914 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 915 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
915 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 916 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
916 | 917 |
917 } } // namespace v8::internal | 918 } } // namespace v8::internal |
918 | 919 |
919 #endif // V8_RUNTIME_H_ | 920 #endif // V8_RUNTIME_H_ |
OLD | NEW |