| 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...) Expand 10 before | Expand all | Expand 10 after 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) \ | |
| 548 F(GetFromCache, 2, 1) \ | 547 F(GetFromCache, 2, 1) \ |
| 549 \ | 548 \ |
| 550 /* Compilation */ \ | 549 /* Compilation */ \ |
| 551 F(CompileUnoptimized, 1, 1) \ | 550 F(CompileUnoptimized, 1, 1) \ |
| 552 F(CompileOptimized, 2, 1) \ | 551 F(CompileOptimized, 2, 1) \ |
| 553 F(TryInstallOptimizedCode, 1, 1) \ | 552 F(TryInstallOptimizedCode, 1, 1) \ |
| 554 F(NotifyDeoptimized, 1, 1) \ | 553 F(NotifyDeoptimized, 1, 1) \ |
| 555 F(NotifyStubFailure, 0, 1) \ | 554 F(NotifyStubFailure, 0, 1) \ |
| 556 \ | 555 \ |
| 557 /* Utilities */ \ | 556 /* Utilities */ \ |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 F(MathPow, 2, 1) \ | 649 F(MathPow, 2, 1) \ |
| 651 F(IsMinusZero, 1, 1) \ | 650 F(IsMinusZero, 1, 1) \ |
| 652 F(HasCachedArrayIndex, 1, 1) \ | 651 F(HasCachedArrayIndex, 1, 1) \ |
| 653 F(GetCachedArrayIndex, 1, 1) \ | 652 F(GetCachedArrayIndex, 1, 1) \ |
| 654 F(FastAsciiArrayJoin, 2, 1) \ | 653 F(FastAsciiArrayJoin, 2, 1) \ |
| 655 F(GeneratorNext, 2, 1) \ | 654 F(GeneratorNext, 2, 1) \ |
| 656 F(GeneratorThrow, 2, 1) \ | 655 F(GeneratorThrow, 2, 1) \ |
| 657 F(DebugBreakInOptimizedCode, 0, 1) \ | 656 F(DebugBreakInOptimizedCode, 0, 1) \ |
| 658 F(ClassOf, 1, 1) \ | 657 F(ClassOf, 1, 1) \ |
| 659 F(StringCharCodeAt, 2, 1) \ | 658 F(StringCharCodeAt, 2, 1) \ |
| 660 F(Log, 3, 1) \ | |
| 661 F(StringAdd, 2, 1) \ | 659 F(StringAdd, 2, 1) \ |
| 662 F(SubString, 3, 1) \ | 660 F(SubString, 3, 1) \ |
| 663 F(StringCompare, 2, 1) \ | 661 F(StringCompare, 2, 1) \ |
| 664 F(RegExpExec, 4, 1) \ | 662 F(RegExpExec, 4, 1) \ |
| 665 F(RegExpConstructResult, 3, 1) \ | 663 F(RegExpConstructResult, 3, 1) \ |
| 666 F(GetFromCache, 2, 1) \ | 664 F(GetFromCache, 2, 1) \ |
| 667 F(NumberToString, 1, 1) | 665 F(NumberToString, 1, 1) |
| 668 | 666 |
| 669 | 667 |
| 670 // ---------------------------------------------------------------------------- | 668 // ---------------------------------------------------------------------------- |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 898 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 896 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
| 899 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 897 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
| 900 | 898 |
| 901 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 899 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 902 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 900 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 903 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 901 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
| 904 | 902 |
| 905 } } // namespace v8::internal | 903 } } // namespace v8::internal |
| 906 | 904 |
| 907 #endif // V8_RUNTIME_H_ | 905 #endif // V8_RUNTIME_H_ |
| OLD | NEW |