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