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, -1, 1) | |
Michael Starzinger
2016/06/29 08:29:23
nit: s/-1/4/ because this runtime function always
bradn
2016/06/30 07:59:36
Done.
| |
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 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1144 | 1145 |
1145 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1146 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1146 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1147 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1147 STATIC_ASSERT(LANGUAGE_END == 3); | 1148 STATIC_ASSERT(LANGUAGE_END == 3); |
1148 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1149 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1149 | 1150 |
1150 } // namespace internal | 1151 } // namespace internal |
1151 } // namespace v8 | 1152 } // namespace v8 |
1152 | 1153 |
1153 #endif // V8_RUNTIME_RUNTIME_H_ | 1154 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |