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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
290 F(NewTypeError, 2, 1) \ | 290 F(NewTypeError, 2, 1) \ |
291 F(NewSyntaxError, 2, 1) \ | 291 F(NewSyntaxError, 2, 1) \ |
292 F(NewReferenceError, 2, 1) \ | 292 F(NewReferenceError, 2, 1) \ |
293 F(ThrowIllegalInvocation, 0, 1) \ | 293 F(ThrowIllegalInvocation, 0, 1) \ |
294 F(ThrowIncompatibleMethodReceiver, 2, 1) \ | 294 F(ThrowIncompatibleMethodReceiver, 2, 1) \ |
295 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 295 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
296 F(ThrowNotGeneric, 1, 1) \ | 296 F(ThrowNotGeneric, 1, 1) \ |
297 F(ThrowGeneratorRunning, 0, 1) \ | 297 F(ThrowGeneratorRunning, 0, 1) \ |
298 F(ThrowStackOverflow, 0, 1) \ | 298 F(ThrowStackOverflow, 0, 1) \ |
299 F(ThrowWasmError, 2, 1) \ | 299 F(ThrowWasmError, 2, 1) \ |
300 F(JITSingleFunction, -1, 1) \ | |
Mircea Trofin
2016/07/12 02:49:13
Mind adding a comment on top of this file describi
ritesht
2016/07/13 23:58:45
Done.
| |
300 F(PromiseRejectEvent, 3, 1) \ | 301 F(PromiseRejectEvent, 3, 1) \ |
301 F(PromiseRevokeReject, 1, 1) \ | 302 F(PromiseRevokeReject, 1, 1) \ |
302 F(StackGuard, 0, 1) \ | 303 F(StackGuard, 0, 1) \ |
303 F(Interrupt, 0, 1) \ | 304 F(Interrupt, 0, 1) \ |
304 F(AllocateInNewSpace, 1, 1) \ | 305 F(AllocateInNewSpace, 1, 1) \ |
305 F(AllocateInTargetSpace, 2, 1) \ | 306 F(AllocateInTargetSpace, 2, 1) \ |
306 F(AllocateSeqOneByteString, 1, 1) \ | 307 F(AllocateSeqOneByteString, 1, 1) \ |
307 F(AllocateSeqTwoByteString, 1, 1) \ | 308 F(AllocateSeqTwoByteString, 1, 1) \ |
308 F(CollectStackTrace, 2, 1) \ | 309 F(CollectStackTrace, 2, 1) \ |
309 F(MessageGetStartPosition, 1, 1) \ | 310 F(MessageGetStartPosition, 1, 1) \ |
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1136 | 1137 |
1137 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1138 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1138 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1139 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1139 STATIC_ASSERT(LANGUAGE_END == 3); | 1140 STATIC_ASSERT(LANGUAGE_END == 3); |
1140 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1141 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1141 | 1142 |
1142 } // namespace internal | 1143 } // namespace internal |
1143 } // namespace v8 | 1144 } // namespace v8 |
1144 | 1145 |
1145 #endif // V8_RUNTIME_RUNTIME_H_ | 1146 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |