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 526 matching lines...) Loading... | |
537 // Entries have the form F(name, number of arguments, number of return values). | 537 // Entries have the form F(name, number of arguments, number of return values). |
538 #define RUNTIME_HIDDEN_FUNCTION_LIST(F) \ | 538 #define RUNTIME_HIDDEN_FUNCTION_LIST(F) \ |
539 /* String and Regexp */ \ | 539 /* String and Regexp */ \ |
540 F(NumberToString, 1, 1) \ | 540 F(NumberToString, 1, 1) \ |
541 F(RegExpConstructResult, 3, 1) \ | 541 F(RegExpConstructResult, 3, 1) \ |
542 F(RegExpExec, 4, 1) \ | 542 F(RegExpExec, 4, 1) \ |
543 F(StringAdd, 2, 1) \ | 543 F(StringAdd, 2, 1) \ |
544 F(SubString, 3, 1) \ | 544 F(SubString, 3, 1) \ |
545 F(StringCompare, 2, 1) \ | 545 F(StringCompare, 2, 1) \ |
546 F(StringCharCodeAt, 2, 1) \ | 546 F(StringCharCodeAt, 2, 1) \ |
547 F(Log, 3, 1) \ | 547 F(Log, 2, 1) \ |
Yang
2014/05/06 08:31:32
I think this can be removed too, including Runtime
Michael Starzinger
2014/05/06 08:57:20
Done.
| |
548 F(GetFromCache, 2, 1) \ | 548 F(GetFromCache, 2, 1) \ |
549 \ | 549 \ |
550 /* Compilation */ \ | 550 /* Compilation */ \ |
551 F(CompileUnoptimized, 1, 1) \ | 551 F(CompileUnoptimized, 1, 1) \ |
552 F(CompileOptimized, 2, 1) \ | 552 F(CompileOptimized, 2, 1) \ |
553 F(TryInstallOptimizedCode, 1, 1) \ | 553 F(TryInstallOptimizedCode, 1, 1) \ |
554 F(NotifyDeoptimized, 1, 1) \ | 554 F(NotifyDeoptimized, 1, 1) \ |
555 F(NotifyStubFailure, 0, 1) \ | 555 F(NotifyStubFailure, 0, 1) \ |
556 \ | 556 \ |
557 /* Utilities */ \ | 557 /* Utilities */ \ |
(...skipping 92 matching lines...) Loading... | |
650 F(MathPow, 2, 1) \ | 650 F(MathPow, 2, 1) \ |
651 F(IsMinusZero, 1, 1) \ | 651 F(IsMinusZero, 1, 1) \ |
652 F(HasCachedArrayIndex, 1, 1) \ | 652 F(HasCachedArrayIndex, 1, 1) \ |
653 F(GetCachedArrayIndex, 1, 1) \ | 653 F(GetCachedArrayIndex, 1, 1) \ |
654 F(FastAsciiArrayJoin, 2, 1) \ | 654 F(FastAsciiArrayJoin, 2, 1) \ |
655 F(GeneratorNext, 2, 1) \ | 655 F(GeneratorNext, 2, 1) \ |
656 F(GeneratorThrow, 2, 1) \ | 656 F(GeneratorThrow, 2, 1) \ |
657 F(DebugBreakInOptimizedCode, 0, 1) \ | 657 F(DebugBreakInOptimizedCode, 0, 1) \ |
658 F(ClassOf, 1, 1) \ | 658 F(ClassOf, 1, 1) \ |
659 F(StringCharCodeAt, 2, 1) \ | 659 F(StringCharCodeAt, 2, 1) \ |
660 F(Log, 3, 1) \ | |
661 F(StringAdd, 2, 1) \ | 660 F(StringAdd, 2, 1) \ |
662 F(SubString, 3, 1) \ | 661 F(SubString, 3, 1) \ |
663 F(StringCompare, 2, 1) \ | 662 F(StringCompare, 2, 1) \ |
664 F(RegExpExec, 4, 1) \ | 663 F(RegExpExec, 4, 1) \ |
665 F(RegExpConstructResult, 3, 1) \ | 664 F(RegExpConstructResult, 3, 1) \ |
666 F(GetFromCache, 2, 1) \ | 665 F(GetFromCache, 2, 1) \ |
667 F(NumberToString, 1, 1) | 666 F(NumberToString, 1, 1) |
668 | 667 |
669 | 668 |
670 // ---------------------------------------------------------------------------- | 669 // ---------------------------------------------------------------------------- |
(...skipping 227 matching lines...) Loading... | |
898 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 897 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
899 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 898 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
900 | 899 |
901 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 900 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
902 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 901 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
903 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 902 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
904 | 903 |
905 } } // namespace v8::internal | 904 } } // namespace v8::internal |
906 | 905 |
907 #endif // V8_RUNTIME_H_ | 906 #endif // V8_RUNTIME_H_ |
OLD | NEW |