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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 F(ThrowReferenceError, 1, 1) \ | 276 F(ThrowReferenceError, 1, 1) \ |
277 F(ThrowApplyNonFunction, 1, 1) \ | 277 F(ThrowApplyNonFunction, 1, 1) \ |
278 F(NewTypeError, 2, 1) \ | 278 F(NewTypeError, 2, 1) \ |
279 F(NewSyntaxError, 2, 1) \ | 279 F(NewSyntaxError, 2, 1) \ |
280 F(NewReferenceError, 2, 1) \ | 280 F(NewReferenceError, 2, 1) \ |
281 F(ThrowIllegalInvocation, 0, 1) \ | 281 F(ThrowIllegalInvocation, 0, 1) \ |
282 F(ThrowIncompatibleMethodReceiver, 2, 1) \ | 282 F(ThrowIncompatibleMethodReceiver, 2, 1) \ |
283 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 283 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
284 F(ThrowGeneratorRunning, 0, 1) \ | 284 F(ThrowGeneratorRunning, 0, 1) \ |
285 F(ThrowStackOverflow, 0, 1) \ | 285 F(ThrowStackOverflow, 0, 1) \ |
286 F(ThrowWasmError, 1, 1) \ | 286 F(ThrowWasmError, 2, 1) \ |
287 F(PromiseRejectEvent, 3, 1) \ | 287 F(PromiseRejectEvent, 3, 1) \ |
288 F(PromiseRevokeReject, 1, 1) \ | 288 F(PromiseRevokeReject, 1, 1) \ |
289 F(StackGuard, 0, 1) \ | 289 F(StackGuard, 0, 1) \ |
290 F(Interrupt, 0, 1) \ | 290 F(Interrupt, 0, 1) \ |
291 F(AllocateInNewSpace, 1, 1) \ | 291 F(AllocateInNewSpace, 1, 1) \ |
292 F(AllocateInTargetSpace, 2, 1) \ | 292 F(AllocateInTargetSpace, 2, 1) \ |
293 F(CollectStackTrace, 2, 1) \ | 293 F(CollectStackTrace, 2, 1) \ |
294 F(MessageGetStartPosition, 1, 1) \ | 294 F(MessageGetStartPosition, 1, 1) \ |
295 F(MessageGetScript, 1, 1) \ | 295 F(MessageGetScript, 1, 1) \ |
296 F(FormatMessageString, 4, 1) \ | 296 F(FormatMessageString, 4, 1) \ |
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1162 | 1162 |
1163 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1163 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1164 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1164 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1165 STATIC_ASSERT(LANGUAGE_END == 3); | 1165 STATIC_ASSERT(LANGUAGE_END == 3); |
1166 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1166 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1167 | 1167 |
1168 } // namespace internal | 1168 } // namespace internal |
1169 } // namespace v8 | 1169 } // namespace v8 |
1170 | 1170 |
1171 #endif // V8_RUNTIME_RUNTIME_H_ | 1171 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |