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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 F(FunctionGetScript, 1, 1) \ | 219 F(FunctionGetScript, 1, 1) \ |
220 F(FunctionGetSourceCode, 1, 1) \ | 220 F(FunctionGetSourceCode, 1, 1) \ |
221 F(FunctionGetScriptSourcePosition, 1, 1) \ | 221 F(FunctionGetScriptSourcePosition, 1, 1) \ |
222 F(FunctionGetPositionForOffset, 2, 1) \ | 222 F(FunctionGetPositionForOffset, 2, 1) \ |
223 F(FunctionSetInstanceClassName, 2, 1) \ | 223 F(FunctionSetInstanceClassName, 2, 1) \ |
224 F(FunctionSetLength, 2, 1) \ | 224 F(FunctionSetLength, 2, 1) \ |
225 F(FunctionSetPrototype, 2, 1) \ | 225 F(FunctionSetPrototype, 2, 1) \ |
226 F(FunctionIsAPIFunction, 1, 1) \ | 226 F(FunctionIsAPIFunction, 1, 1) \ |
227 F(SetCode, 2, 1) \ | 227 F(SetCode, 2, 1) \ |
228 F(SetNativeFlag, 1, 1) \ | 228 F(SetNativeFlag, 1, 1) \ |
229 F(ThrowStrongModeTooFewArguments, 0, 1) \ | |
230 F(IsConstructor, 1, 1) \ | 229 F(IsConstructor, 1, 1) \ |
231 F(SetForceInlineFlag, 1, 1) \ | 230 F(SetForceInlineFlag, 1, 1) \ |
232 F(Call, -1 /* >= 2 */, 1) \ | 231 F(Call, -1 /* >= 2 */, 1) \ |
233 F(ConvertReceiver, 1, 1) \ | 232 F(ConvertReceiver, 1, 1) \ |
234 F(IsFunction, 1, 1) \ | 233 F(IsFunction, 1, 1) \ |
235 F(FunctionToString, 1, 1) | 234 F(FunctionToString, 1, 1) |
236 | 235 |
237 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ | 236 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ |
238 F(CreateJSGeneratorObject, 0, 1) \ | 237 F(CreateJSGeneratorObject, 0, 1) \ |
239 F(SuspendJSGeneratorObject, 1, 1) \ | 238 F(SuspendJSGeneratorObject, 1, 1) \ |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 F(UnwindAndFindExceptionHandler, 0, 1) \ | 289 F(UnwindAndFindExceptionHandler, 0, 1) \ |
291 F(PromoteScheduledException, 0, 1) \ | 290 F(PromoteScheduledException, 0, 1) \ |
292 F(ThrowReferenceError, 1, 1) \ | 291 F(ThrowReferenceError, 1, 1) \ |
293 F(ThrowApplyNonFunction, 1, 1) \ | 292 F(ThrowApplyNonFunction, 1, 1) \ |
294 F(NewTypeError, 2, 1) \ | 293 F(NewTypeError, 2, 1) \ |
295 F(NewSyntaxError, 2, 1) \ | 294 F(NewSyntaxError, 2, 1) \ |
296 F(NewReferenceError, 2, 1) \ | 295 F(NewReferenceError, 2, 1) \ |
297 F(ThrowIllegalInvocation, 0, 1) \ | 296 F(ThrowIllegalInvocation, 0, 1) \ |
298 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 297 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
299 F(ThrowStackOverflow, 0, 1) \ | 298 F(ThrowStackOverflow, 0, 1) \ |
300 F(ThrowStrongModeImplicitConversion, 0, 1) \ | |
301 F(PromiseRejectEvent, 3, 1) \ | 299 F(PromiseRejectEvent, 3, 1) \ |
302 F(PromiseRevokeReject, 1, 1) \ | 300 F(PromiseRevokeReject, 1, 1) \ |
303 F(StackGuard, 0, 1) \ | 301 F(StackGuard, 0, 1) \ |
304 F(Interrupt, 0, 1) \ | 302 F(Interrupt, 0, 1) \ |
305 F(AllocateInNewSpace, 1, 1) \ | 303 F(AllocateInNewSpace, 1, 1) \ |
306 F(AllocateInTargetSpace, 2, 1) \ | 304 F(AllocateInTargetSpace, 2, 1) \ |
307 F(CollectStackTrace, 2, 1) \ | 305 F(CollectStackTrace, 2, 1) \ |
308 F(MessageGetStartPosition, 1, 1) \ | 306 F(MessageGetStartPosition, 1, 1) \ |
309 F(MessageGetScript, 1, 1) \ | 307 F(MessageGetScript, 1, 1) \ |
310 F(FormatMessageString, 4, 1) \ | 308 F(FormatMessageString, 4, 1) \ |
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1191 | 1189 |
1192 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1190 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1193 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1191 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1194 STATIC_ASSERT(LANGUAGE_END == 3); | 1192 STATIC_ASSERT(LANGUAGE_END == 3); |
1195 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1193 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1196 | 1194 |
1197 } // namespace internal | 1195 } // namespace internal |
1198 } // namespace v8 | 1196 } // namespace v8 |
1199 | 1197 |
1200 #endif // V8_RUNTIME_RUNTIME_H_ | 1198 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |