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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 F(PromiseRevokeReject, 1, 1) \ | 304 F(PromiseRevokeReject, 1, 1) \ |
305 F(StackGuard, 0, 1) \ | 305 F(StackGuard, 0, 1) \ |
306 F(Interrupt, 0, 1) \ | 306 F(Interrupt, 0, 1) \ |
307 F(AllocateInNewSpace, 1, 1) \ | 307 F(AllocateInNewSpace, 1, 1) \ |
308 F(AllocateInTargetSpace, 2, 1) \ | 308 F(AllocateInTargetSpace, 2, 1) \ |
309 F(AllocateSeqOneByteString, 1, 1) \ | 309 F(AllocateSeqOneByteString, 1, 1) \ |
310 F(AllocateSeqTwoByteString, 1, 1) \ | 310 F(AllocateSeqTwoByteString, 1, 1) \ |
311 F(MessageGetStartPosition, 1, 1) \ | 311 F(MessageGetStartPosition, 1, 1) \ |
312 F(MessageGetScript, 1, 1) \ | 312 F(MessageGetScript, 1, 1) \ |
313 F(FormatMessageString, 4, 1) \ | 313 F(FormatMessageString, 4, 1) \ |
314 F(CallSiteGetFileNameRT, 1, 1) \ | |
315 F(CallSiteGetFunctionNameRT, 1, 1) \ | |
316 F(CallSiteGetScriptNameOrSourceUrlRT, 1, 1) \ | |
317 F(CallSiteGetMethodNameRT, 1, 1) \ | |
318 F(CallSiteGetLineNumberRT, 1, 1) \ | |
319 F(CallSiteGetColumnNumberRT, 1, 1) \ | |
320 F(CallSiteIsNativeRT, 1, 1) \ | |
321 F(CallSiteIsToplevelRT, 1, 1) \ | |
322 F(CallSiteIsEvalRT, 1, 1) \ | |
323 F(CallSiteIsConstructorRT, 1, 1) \ | |
324 F(IS_VAR, 1, 1) \ | 314 F(IS_VAR, 1, 1) \ |
325 F(ThrowConstructedNonConstructable, 1, 1) \ | 315 F(ThrowConstructedNonConstructable, 1, 1) \ |
326 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 316 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ |
327 F(ThrowCalledNonCallable, 1, 1) \ | 317 F(ThrowCalledNonCallable, 1, 1) \ |
328 F(ThrowCalledOnNullOrUndefined, 1, 1) \ | 318 F(ThrowCalledOnNullOrUndefined, 1, 1) \ |
329 F(CreateListFromArrayLike, 1, 1) \ | 319 F(CreateListFromArrayLike, 1, 1) \ |
330 F(IncrementUseCounter, 1, 1) \ | 320 F(IncrementUseCounter, 1, 1) \ |
331 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ | 321 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ |
332 F(EnqueueMicrotask, 1, 1) \ | 322 F(EnqueueMicrotask, 1, 1) \ |
333 F(RunMicrotasks, 0, 1) \ | 323 F(RunMicrotasks, 0, 1) \ |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 | 1124 |
1135 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1125 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1136 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1126 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1137 STATIC_ASSERT(LANGUAGE_END == 3); | 1127 STATIC_ASSERT(LANGUAGE_END == 3); |
1138 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1128 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1139 | 1129 |
1140 } // namespace internal | 1130 } // namespace internal |
1141 } // namespace v8 | 1131 } // namespace v8 |
1142 | 1132 |
1143 #endif // V8_RUNTIME_RUNTIME_H_ | 1133 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |