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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 F(ThrowConstructedNonConstructable, 1, 1) \ | 317 F(ThrowConstructedNonConstructable, 1, 1) \ |
318 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 318 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ |
319 F(ThrowCalledNonCallable, 1, 1) \ | 319 F(ThrowCalledNonCallable, 1, 1) \ |
320 F(ThrowCalledOnNullOrUndefined, 1, 1) \ | 320 F(ThrowCalledOnNullOrUndefined, 1, 1) \ |
321 F(CreateListFromArrayLike, 1, 1) \ | 321 F(CreateListFromArrayLike, 1, 1) \ |
322 F(IncrementUseCounter, 1, 1) \ | 322 F(IncrementUseCounter, 1, 1) \ |
323 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ | 323 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ |
324 F(EnqueueMicrotask, 1, 1) \ | 324 F(EnqueueMicrotask, 1, 1) \ |
325 F(RunMicrotasks, 0, 1) \ | 325 F(RunMicrotasks, 0, 1) \ |
326 F(OrdinaryHasInstance, 2, 1) \ | 326 F(OrdinaryHasInstance, 2, 1) \ |
327 F(IsWasmObject, 1, 1) | 327 F(IsWasmObject, 1, 1) \ |
| 328 F(Typeof, 1, 1) |
328 | 329 |
329 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 330 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
330 F(CreateRegExpLiteral, 4, 1) \ | 331 F(CreateRegExpLiteral, 4, 1) \ |
331 F(CreateObjectLiteral, 4, 1) \ | 332 F(CreateObjectLiteral, 4, 1) \ |
332 F(CreateArrayLiteral, 4, 1) \ | 333 F(CreateArrayLiteral, 4, 1) \ |
333 F(CreateArrayLiteralStubBailout, 3, 1) | 334 F(CreateArrayLiteralStubBailout, 3, 1) |
334 | 335 |
335 | 336 |
336 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ | 337 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ |
337 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ | 338 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ |
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1126 | 1127 |
1127 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1128 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1128 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1129 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1129 STATIC_ASSERT(LANGUAGE_END == 3); | 1130 STATIC_ASSERT(LANGUAGE_END == 3); |
1130 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1131 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1131 | 1132 |
1132 } // namespace internal | 1133 } // namespace internal |
1133 } // namespace v8 | 1134 } // namespace v8 |
1134 | 1135 |
1135 #endif // V8_RUNTIME_RUNTIME_H_ | 1136 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |