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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 F(CreateListFromArrayLike, 1, 1) \ | 289 F(CreateListFromArrayLike, 1, 1) \ |
290 F(EnqueueMicrotask, 1, 1) \ | 290 F(EnqueueMicrotask, 1, 1) \ |
291 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ | 291 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ |
292 F(ExportExperimentalFromRuntime, 1, 1) \ | 292 F(ExportExperimentalFromRuntime, 1, 1) \ |
293 F(ExportFromRuntime, 1, 1) \ | 293 F(ExportFromRuntime, 1, 1) \ |
294 F(IncrementUseCounter, 1, 1) \ | 294 F(IncrementUseCounter, 1, 1) \ |
295 F(InstallToContext, 1, 1) \ | 295 F(InstallToContext, 1, 1) \ |
296 F(Interrupt, 0, 1) \ | 296 F(Interrupt, 0, 1) \ |
297 F(IS_VAR, 1, 1) \ | 297 F(IS_VAR, 1, 1) \ |
298 F(IsWasmObject, 1, 1) \ | 298 F(IsWasmObject, 1, 1) \ |
299 F(MessageGetScript, 1, 1) \ | |
300 F(MessageGetStartPosition, 1, 1) \ | |
301 F(NewReferenceError, 2, 1) \ | 299 F(NewReferenceError, 2, 1) \ |
302 F(NewSyntaxError, 2, 1) \ | 300 F(NewSyntaxError, 2, 1) \ |
303 F(NewTypeError, 2, 1) \ | 301 F(NewTypeError, 2, 1) \ |
304 F(OrdinaryHasInstance, 2, 1) \ | 302 F(OrdinaryHasInstance, 2, 1) \ |
305 F(PromiseRejectEvent, 3, 1) \ | 303 F(PromiseRejectEvent, 3, 1) \ |
306 F(PromiseRevokeReject, 1, 1) \ | 304 F(PromiseRevokeReject, 1, 1) \ |
307 F(PromoteScheduledException, 0, 1) \ | 305 F(PromoteScheduledException, 0, 1) \ |
308 F(ReThrow, 1, 1) \ | 306 F(ReThrow, 1, 1) \ |
309 F(RunMicrotasks, 0, 1) \ | 307 F(RunMicrotasks, 0, 1) \ |
310 F(StackGuard, 0, 1) \ | 308 F(StackGuard, 0, 1) \ |
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1131 | 1129 |
1132 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1130 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1133 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1131 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1134 STATIC_ASSERT(LANGUAGE_END == 3); | 1132 STATIC_ASSERT(LANGUAGE_END == 3); |
1135 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1133 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1136 | 1134 |
1137 } // namespace internal | 1135 } // namespace internal |
1138 } // namespace v8 | 1136 } // namespace v8 |
1139 | 1137 |
1140 #endif // V8_RUNTIME_RUNTIME_H_ | 1138 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |