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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
544 F(SymbolIsPrivate, 1, 1) | 544 F(SymbolIsPrivate, 1, 1) |
545 | 545 |
546 #define FOR_EACH_INTRINSIC_TEST(F) \ | 546 #define FOR_EACH_INTRINSIC_TEST(F) \ |
547 F(ConstructDouble, 2, 1) \ | 547 F(ConstructDouble, 2, 1) \ |
548 F(ConstructConsString, 2, 1) \ | 548 F(ConstructConsString, 2, 1) \ |
549 F(DeoptimizeFunction, 1, 1) \ | 549 F(DeoptimizeFunction, 1, 1) \ |
550 F(DeoptimizeNow, 0, 1) \ | 550 F(DeoptimizeNow, 0, 1) \ |
551 F(RunningInSimulator, 0, 1) \ | 551 F(RunningInSimulator, 0, 1) \ |
552 F(IsConcurrentRecompilationSupported, 0, 1) \ | 552 F(IsConcurrentRecompilationSupported, 0, 1) \ |
553 F(OptimizeFunctionOnNextCall, -1, 1) \ | 553 F(OptimizeFunctionOnNextCall, -1, 1) \ |
554 F(PrintTypeProfile, -1, 1) \ | |
Yang
2017/03/20 08:48:45
I think you need argument count 1, not -1.
Franzi
2017/03/20 10:09:56
Done.
| |
554 F(InterpretFunctionOnNextCall, 1, 1) \ | 555 F(InterpretFunctionOnNextCall, 1, 1) \ |
555 F(BaselineFunctionOnNextCall, 1, 1) \ | 556 F(BaselineFunctionOnNextCall, 1, 1) \ |
556 F(OptimizeOsr, -1, 1) \ | 557 F(OptimizeOsr, -1, 1) \ |
557 F(NeverOptimizeFunction, 1, 1) \ | 558 F(NeverOptimizeFunction, 1, 1) \ |
558 F(GetOptimizationStatus, -1, 1) \ | 559 F(GetOptimizationStatus, -1, 1) \ |
559 F(UnblockConcurrentRecompilation, 0, 1) \ | 560 F(UnblockConcurrentRecompilation, 0, 1) \ |
560 F(GetOptimizationCount, 1, 1) \ | 561 F(GetOptimizationCount, 1, 1) \ |
561 F(GetUndetectable, 0, 1) \ | 562 F(GetUndetectable, 0, 1) \ |
562 F(GetCallable, 0, 1) \ | 563 F(GetCallable, 0, 1) \ |
563 F(ClearFunctionFeedback, 1, 1) \ | 564 F(ClearFunctionFeedback, 1, 1) \ |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
855 kMaybeDeopted = 1 << 3, | 856 kMaybeDeopted = 1 << 3, |
856 kOptimized = 1 << 4, | 857 kOptimized = 1 << 4, |
857 kTurboFanned = 1 << 5, | 858 kTurboFanned = 1 << 5, |
858 kInterpreted = 1 << 6, | 859 kInterpreted = 1 << 6, |
859 }; | 860 }; |
860 | 861 |
861 } // namespace internal | 862 } // namespace internal |
862 } // namespace v8 | 863 } // namespace v8 |
863 | 864 |
864 #endif // V8_RUNTIME_RUNTIME_H_ | 865 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |