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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 F(InstallToContext, 1, 1) \ | 282 F(InstallToContext, 1, 1) \ |
283 F(Throw, 1, 1) \ | 283 F(Throw, 1, 1) \ |
284 F(ReThrow, 1, 1) \ | 284 F(ReThrow, 1, 1) \ |
285 F(UnwindAndFindExceptionHandler, 0, 1) \ | 285 F(UnwindAndFindExceptionHandler, 0, 1) \ |
286 F(PromoteScheduledException, 0, 1) \ | 286 F(PromoteScheduledException, 0, 1) \ |
287 F(ThrowReferenceError, 1, 1) \ | 287 F(ThrowReferenceError, 1, 1) \ |
288 F(ThrowApplyNonFunction, 1, 1) \ | 288 F(ThrowApplyNonFunction, 1, 1) \ |
289 F(NewTypeError, 2, 1) \ | 289 F(NewTypeError, 2, 1) \ |
290 F(NewSyntaxError, 2, 1) \ | 290 F(NewSyntaxError, 2, 1) \ |
291 F(NewReferenceError, 2, 1) \ | 291 F(NewReferenceError, 2, 1) \ |
| 292 F(ThrowCannotConvertToPrimitive, 0, 1) \ |
292 F(ThrowIllegalInvocation, 0, 1) \ | 293 F(ThrowIllegalInvocation, 0, 1) \ |
293 F(ThrowIncompatibleMethodReceiver, 2, 1) \ | 294 F(ThrowIncompatibleMethodReceiver, 2, 1) \ |
294 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 295 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
295 F(ThrowNotGeneric, 1, 1) \ | 296 F(ThrowNotGeneric, 1, 1) \ |
296 F(ThrowGeneratorRunning, 0, 1) \ | 297 F(ThrowGeneratorRunning, 0, 1) \ |
297 F(ThrowStackOverflow, 0, 1) \ | 298 F(ThrowStackOverflow, 0, 1) \ |
298 F(ThrowWasmError, 2, 1) \ | 299 F(ThrowWasmError, 2, 1) \ |
299 F(JITSingleFunction, -1 /* >= 7 */, 1) \ | 300 F(JITSingleFunction, -1 /* >= 7 */, 1) \ |
300 F(PromiseRejectEvent, 3, 1) \ | 301 F(PromiseRejectEvent, 3, 1) \ |
301 F(PromiseRevokeReject, 1, 1) \ | 302 F(PromiseRevokeReject, 1, 1) \ |
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1132 | 1133 |
1133 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1134 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1134 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1135 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1135 STATIC_ASSERT(LANGUAGE_END == 3); | 1136 STATIC_ASSERT(LANGUAGE_END == 3); |
1136 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1137 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1137 | 1138 |
1138 } // namespace internal | 1139 } // namespace internal |
1139 } // namespace v8 | 1140 } // namespace v8 |
1140 | 1141 |
1141 #endif // V8_RUNTIME_RUNTIME_H_ | 1142 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |