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/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 #define FOR_EACH_INTRINSIC_COMPILER(F) \ | 121 #define FOR_EACH_INTRINSIC_COMPILER(F) \ |
122 F(CompileLazy, 1, 1) \ | 122 F(CompileLazy, 1, 1) \ |
123 F(CompileBaseline, 1, 1) \ | 123 F(CompileBaseline, 1, 1) \ |
124 F(CompileOptimized_Concurrent, 1, 1) \ | 124 F(CompileOptimized_Concurrent, 1, 1) \ |
125 F(CompileOptimized_NotConcurrent, 1, 1) \ | 125 F(CompileOptimized_NotConcurrent, 1, 1) \ |
126 F(NotifyStubFailure, 0, 1) \ | 126 F(NotifyStubFailure, 0, 1) \ |
127 F(NotifyDeoptimized, 1, 1) \ | 127 F(NotifyDeoptimized, 1, 1) \ |
128 F(CompileForOnStackReplacement, 1, 1) \ | 128 F(CompileForOnStackReplacement, 1, 1) \ |
129 F(TryInstallOptimizedCode, 1, 1) \ | 129 F(TryInstallOptimizedCode, 1, 1) \ |
130 F(ResolvePossiblyDirectEval, 6, 1) | 130 F(ResolvePossiblyDirectEval, 6, 1) \ |
| 131 F(InstantiateAsmJs, 4, 1) |
131 | 132 |
132 #define FOR_EACH_INTRINSIC_DATE(F) \ | 133 #define FOR_EACH_INTRINSIC_DATE(F) \ |
133 F(IsDate, 1, 1) \ | 134 F(IsDate, 1, 1) \ |
134 F(DateCurrentTime, 0, 1) \ | 135 F(DateCurrentTime, 0, 1) \ |
135 F(ThrowNotDateError, 0, 1) | 136 F(ThrowNotDateError, 0, 1) |
136 | 137 |
137 #define FOR_EACH_INTRINSIC_DEBUG(F) \ | 138 #define FOR_EACH_INTRINSIC_DEBUG(F) \ |
138 F(HandleDebuggerStatement, 0, 1) \ | 139 F(HandleDebuggerStatement, 0, 1) \ |
139 F(DebugBreak, 1, 1) \ | 140 F(DebugBreak, 1, 1) \ |
140 F(DebugBreakOnBytecode, 1, 1) \ | 141 F(DebugBreakOnBytecode, 1, 1) \ |
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1137 | 1138 |
1138 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1139 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1139 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1140 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1140 STATIC_ASSERT(LANGUAGE_END == 3); | 1141 STATIC_ASSERT(LANGUAGE_END == 3); |
1141 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1142 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1142 | 1143 |
1143 } // namespace internal | 1144 } // namespace internal |
1144 } // namespace v8 | 1145 } // namespace v8 |
1145 | 1146 |
1146 #endif // V8_RUNTIME_RUNTIME_H_ | 1147 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |