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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 F(CallSiteIsEvalRT, 1, 1) \ | 308 F(CallSiteIsEvalRT, 1, 1) \ |
309 F(CallSiteIsConstructorRT, 1, 1) \ | 309 F(CallSiteIsConstructorRT, 1, 1) \ |
310 F(IS_VAR, 1, 1) \ | 310 F(IS_VAR, 1, 1) \ |
311 F(ThrowConstructedNonConstructable, 1, 1) \ | 311 F(ThrowConstructedNonConstructable, 1, 1) \ |
312 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 312 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ |
313 F(ThrowCalledNonCallable, 1, 1) \ | 313 F(ThrowCalledNonCallable, 1, 1) \ |
314 F(ThrowCalledOnNullOrUndefined, 1, 1) \ | 314 F(ThrowCalledOnNullOrUndefined, 1, 1) \ |
315 F(CreateListFromArrayLike, 1, 1) \ | 315 F(CreateListFromArrayLike, 1, 1) \ |
316 F(IncrementUseCounter, 1, 1) \ | 316 F(IncrementUseCounter, 1, 1) \ |
317 F(GetOrdinaryHasInstance, 0, 1) \ | 317 F(GetOrdinaryHasInstance, 0, 1) \ |
318 F(GetAndResetRuntimeCallStats, 0, 1) \ | 318 F(GetAndResetRuntimeCallStats, -1 /* <= 1 */, 1) \ |
319 F(EnqueueMicrotask, 1, 1) \ | 319 F(EnqueueMicrotask, 1, 1) \ |
320 F(RunMicrotasks, 0, 1) \ | 320 F(RunMicrotasks, 0, 1) \ |
321 F(WasmGetFunctionName, 2, 1) | 321 F(WasmGetFunctionName, 2, 1) |
322 | 322 |
323 #define FOR_EACH_INTRINSIC_JSON(F) \ | 323 #define FOR_EACH_INTRINSIC_JSON(F) \ |
324 F(QuoteJSONString, 1, 1) \ | 324 F(QuoteJSONString, 1, 1) \ |
325 F(BasicJSONStringify, 1, 1) \ | 325 F(BasicJSONStringify, 1, 1) \ |
326 F(ParseJson, 1, 1) | 326 F(ParseJson, 1, 1) |
327 | 327 |
328 | 328 |
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1165 | 1165 |
1166 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1166 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1167 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1167 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1168 STATIC_ASSERT(LANGUAGE_END == 3); | 1168 STATIC_ASSERT(LANGUAGE_END == 3); |
1169 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1169 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1170 | 1170 |
1171 } // namespace internal | 1171 } // namespace internal |
1172 } // namespace v8 | 1172 } // namespace v8 |
1173 | 1173 |
1174 #endif // V8_RUNTIME_RUNTIME_H_ | 1174 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |