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/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ | 346 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ |
347 F(LiveEditPatchFunctionPositions, 2, 1) \ | 347 F(LiveEditPatchFunctionPositions, 2, 1) \ |
348 F(LiveEditCheckAndDropActivations, 3, 1) \ | 348 F(LiveEditCheckAndDropActivations, 3, 1) \ |
349 F(LiveEditCompareStrings, 2, 1) \ | 349 F(LiveEditCompareStrings, 2, 1) \ |
350 F(LiveEditRestartFrame, 2, 1) | 350 F(LiveEditRestartFrame, 2, 1) |
351 | 351 |
352 | 352 |
353 #define FOR_EACH_INTRINSIC_MATHS(F) \ | 353 #define FOR_EACH_INTRINSIC_MATHS(F) \ |
354 F(DoubleHi, 1, 1) \ | 354 F(DoubleHi, 1, 1) \ |
355 F(DoubleLo, 1, 1) \ | 355 F(DoubleLo, 1, 1) \ |
356 F(ConstructDouble, 2, 1) \ | |
357 F(RemPiO2, 2, 1) \ | |
358 F(MathPow, 2, 1) \ | 356 F(MathPow, 2, 1) \ |
359 F(MathPowRT, 2, 1) \ | 357 F(MathPowRT, 2, 1) \ |
360 F(GenerateRandomNumbers, 1, 1) | 358 F(GenerateRandomNumbers, 1, 1) |
361 | 359 |
362 | 360 |
363 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ | 361 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ |
364 F(NumberToRadixString, 2, 1) \ | 362 F(NumberToRadixString, 2, 1) \ |
365 F(NumberToFixed, 2, 1) \ | 363 F(NumberToFixed, 2, 1) \ |
366 F(NumberToExponential, 2, 1) \ | 364 F(NumberToExponential, 2, 1) \ |
367 F(NumberToPrecision, 2, 1) \ | 365 F(NumberToPrecision, 2, 1) \ |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 | 839 |
842 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ | 840 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ |
843 F(CreateSymbol, 1, 1) \ | 841 F(CreateSymbol, 1, 1) \ |
844 F(CreatePrivateSymbol, 1, 1) \ | 842 F(CreatePrivateSymbol, 1, 1) \ |
845 F(SymbolDescription, 1, 1) \ | 843 F(SymbolDescription, 1, 1) \ |
846 F(SymbolDescriptiveString, 1, 1) \ | 844 F(SymbolDescriptiveString, 1, 1) \ |
847 F(SymbolRegistry, 0, 1) \ | 845 F(SymbolRegistry, 0, 1) \ |
848 F(SymbolIsPrivate, 1, 1) | 846 F(SymbolIsPrivate, 1, 1) |
849 | 847 |
850 #define FOR_EACH_INTRINSIC_TEST(F) \ | 848 #define FOR_EACH_INTRINSIC_TEST(F) \ |
| 849 F(ConstructDouble, 2, 1) \ |
851 F(DeoptimizeFunction, 1, 1) \ | 850 F(DeoptimizeFunction, 1, 1) \ |
852 F(DeoptimizeNow, 0, 1) \ | 851 F(DeoptimizeNow, 0, 1) \ |
853 F(RunningInSimulator, 0, 1) \ | 852 F(RunningInSimulator, 0, 1) \ |
854 F(IsConcurrentRecompilationSupported, 0, 1) \ | 853 F(IsConcurrentRecompilationSupported, 0, 1) \ |
855 F(OptimizeFunctionOnNextCall, -1, 1) \ | 854 F(OptimizeFunctionOnNextCall, -1, 1) \ |
856 F(OptimizeOsr, -1, 1) \ | 855 F(OptimizeOsr, -1, 1) \ |
857 F(NeverOptimizeFunction, 1, 1) \ | 856 F(NeverOptimizeFunction, 1, 1) \ |
858 F(GetOptimizationStatus, -1, 1) \ | 857 F(GetOptimizationStatus, -1, 1) \ |
859 F(UnblockConcurrentRecompilation, 0, 1) \ | 858 F(UnblockConcurrentRecompilation, 0, 1) \ |
860 F(GetOptimizationCount, 1, 1) \ | 859 F(GetOptimizationCount, 1, 1) \ |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1142 | 1141 |
1143 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1142 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1144 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1143 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1145 STATIC_ASSERT(LANGUAGE_END == 3); | 1144 STATIC_ASSERT(LANGUAGE_END == 3); |
1146 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1145 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1147 | 1146 |
1148 } // namespace internal | 1147 } // namespace internal |
1149 } // namespace v8 | 1148 } // namespace v8 |
1150 | 1149 |
1151 #endif // V8_RUNTIME_RUNTIME_H_ | 1150 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |