| 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/objects.h" | 9 #include "src/objects.h" |
| 10 #include "src/zone.h" | 10 #include "src/zone.h" |
| (...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 F(DebugBreakInOptimizedCode, 0, 1) \ | 668 F(DebugBreakInOptimizedCode, 0, 1) \ |
| 669 F(ClassOf, 1, 1) \ | 669 F(ClassOf, 1, 1) \ |
| 670 F(StringCharCodeAt, 2, 1) \ | 670 F(StringCharCodeAt, 2, 1) \ |
| 671 F(StringAdd, 2, 1) \ | 671 F(StringAdd, 2, 1) \ |
| 672 F(SubString, 3, 1) \ | 672 F(SubString, 3, 1) \ |
| 673 F(StringCompare, 2, 1) \ | 673 F(StringCompare, 2, 1) \ |
| 674 F(RegExpExec, 4, 1) \ | 674 F(RegExpExec, 4, 1) \ |
| 675 F(RegExpConstructResult, 3, 1) \ | 675 F(RegExpConstructResult, 3, 1) \ |
| 676 F(GetFromCache, 2, 1) \ | 676 F(GetFromCache, 2, 1) \ |
| 677 F(NumberToString, 1, 1) \ | 677 F(NumberToString, 1, 1) \ |
| 678 F(DebugIsActive, 0, 1) | 678 F(DebugIsActive, 0, 1) \ |
| 679 F(CallSuperWithSpread, 0, 1) |
| 679 | 680 |
| 680 | 681 |
| 681 // ---------------------------------------------------------------------------- | 682 // ---------------------------------------------------------------------------- |
| 682 // INLINE_OPTIMIZED_FUNCTION_LIST defines the intrinsics typically handled | 683 // INLINE_OPTIMIZED_FUNCTION_LIST defines the intrinsics typically handled |
| 683 // specially by Crankshaft. | 684 // specially by Crankshaft. |
| 684 // Entries have the form F(name, number of arguments, number of return values). | 685 // Entries have the form F(name, number of arguments, number of return values). |
| 685 #define INLINE_OPTIMIZED_FUNCTION_LIST(F) \ | 686 #define INLINE_OPTIMIZED_FUNCTION_LIST(F) \ |
| 686 /* Typed Arrays */ \ | 687 /* Typed Arrays */ \ |
| 687 F(TypedArrayInitialize, 5, 1) \ | 688 F(TypedArrayInitialize, 5, 1) \ |
| 688 F(DataViewInitialize, 4, 1) \ | 689 F(DataViewInitialize, 4, 1) \ |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 905 | 906 |
| 906 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 907 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 907 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 908 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 908 STATIC_ASSERT(LANGUAGE_END == 3); | 909 STATIC_ASSERT(LANGUAGE_END == 3); |
| 909 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 910 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 910 | 911 |
| 911 } // namespace internal | 912 } // namespace internal |
| 912 } // namespace v8 | 913 } // namespace v8 |
| 913 | 914 |
| 914 #endif // V8_RUNTIME_RUNTIME_H_ | 915 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |