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/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 125 |
126 | 126 |
127 #define FOR_EACH_INTRINSIC_COMPILER(F) \ | 127 #define FOR_EACH_INTRINSIC_COMPILER(F) \ |
128 F(CompileLazy, 1, 1) \ | 128 F(CompileLazy, 1, 1) \ |
129 F(CompileOptimized_Concurrent, 1, 1) \ | 129 F(CompileOptimized_Concurrent, 1, 1) \ |
130 F(CompileOptimized_NotConcurrent, 1, 1) \ | 130 F(CompileOptimized_NotConcurrent, 1, 1) \ |
131 F(NotifyStubFailure, 0, 1) \ | 131 F(NotifyStubFailure, 0, 1) \ |
132 F(NotifyDeoptimized, 1, 1) \ | 132 F(NotifyDeoptimized, 1, 1) \ |
133 F(CompileForOnStackReplacement, 1, 1) \ | 133 F(CompileForOnStackReplacement, 1, 1) \ |
134 F(TryInstallOptimizedCode, 1, 1) \ | 134 F(TryInstallOptimizedCode, 1, 1) \ |
135 F(CompileString, 2, 1) \ | |
136 F(ResolvePossiblyDirectEval, 5, 1) | 135 F(ResolvePossiblyDirectEval, 5, 1) |
137 | 136 |
138 | 137 |
139 #define FOR_EACH_INTRINSIC_DATE(F) \ | 138 #define FOR_EACH_INTRINSIC_DATE(F) \ |
140 F(DateMakeDay, 2, 1) \ | 139 F(DateMakeDay, 2, 1) \ |
141 F(DateSetValue, 3, 1) \ | 140 F(DateSetValue, 3, 1) \ |
142 F(IsDate, 1, 1) \ | 141 F(IsDate, 1, 1) \ |
143 F(ThrowNotDateError, 0, 1) \ | 142 F(ThrowNotDateError, 0, 1) \ |
144 F(DateCurrentTime, 0, 1) \ | 143 F(DateCurrentTime, 0, 1) \ |
145 F(DateParseString, 2, 1) \ | 144 F(DateParseString, 2, 1) \ |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 F(InterpreterToBoolean, 1, 1) \ | 226 F(InterpreterToBoolean, 1, 1) \ |
228 F(InterpreterLogicalNot, 1, 1) \ | 227 F(InterpreterLogicalNot, 1, 1) \ |
229 F(InterpreterTypeOf, 1, 1) \ | 228 F(InterpreterTypeOf, 1, 1) \ |
230 F(InterpreterNewClosure, 2, 1) \ | 229 F(InterpreterNewClosure, 2, 1) \ |
231 F(InterpreterForInPrepare, 1, 1) | 230 F(InterpreterForInPrepare, 1, 1) |
232 | 231 |
233 | 232 |
234 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ | 233 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ |
235 F(FunctionGetName, 1, 1) \ | 234 F(FunctionGetName, 1, 1) \ |
236 F(FunctionSetName, 2, 1) \ | 235 F(FunctionSetName, 2, 1) \ |
237 F(CompleteFunctionConstruction, 3, 1) \ | |
238 F(FunctionRemovePrototype, 1, 1) \ | 236 F(FunctionRemovePrototype, 1, 1) \ |
239 F(FunctionGetScript, 1, 1) \ | 237 F(FunctionGetScript, 1, 1) \ |
240 F(FunctionGetSourceCode, 1, 1) \ | 238 F(FunctionGetSourceCode, 1, 1) \ |
241 F(FunctionGetScriptSourcePosition, 1, 1) \ | 239 F(FunctionGetScriptSourcePosition, 1, 1) \ |
242 F(FunctionGetPositionForOffset, 2, 1) \ | 240 F(FunctionGetPositionForOffset, 2, 1) \ |
243 F(FunctionSetInstanceClassName, 2, 1) \ | 241 F(FunctionSetInstanceClassName, 2, 1) \ |
244 F(FunctionSetLength, 2, 1) \ | 242 F(FunctionSetLength, 2, 1) \ |
245 F(FunctionSetPrototype, 2, 1) \ | 243 F(FunctionSetPrototype, 2, 1) \ |
246 F(FunctionIsAPIFunction, 1, 1) \ | 244 F(FunctionIsAPIFunction, 1, 1) \ |
247 F(SetCode, 2, 1) \ | 245 F(SetCode, 2, 1) \ |
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1247 | 1245 |
1248 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1246 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1249 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1247 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1250 STATIC_ASSERT(LANGUAGE_END == 3); | 1248 STATIC_ASSERT(LANGUAGE_END == 3); |
1251 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1249 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1252 | 1250 |
1253 } // namespace internal | 1251 } // namespace internal |
1254 } // namespace v8 | 1252 } // namespace v8 |
1255 | 1253 |
1256 #endif // V8_RUNTIME_RUNTIME_H_ | 1254 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |