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/objects.h" | 9 #include "src/objects.h" |
10 #include "src/zone.h" | 10 #include "src/zone.h" |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 /* Statements */ \ | 493 /* Statements */ \ |
494 F(NewClosure, 3, 1) \ | 494 F(NewClosure, 3, 1) \ |
495 F(NewClosureFromStubFailure, 1, 1) \ | 495 F(NewClosureFromStubFailure, 1, 1) \ |
496 F(NewObject, 1, 1) \ | 496 F(NewObject, 1, 1) \ |
497 F(NewObjectWithAllocationSite, 2, 1) \ | 497 F(NewObjectWithAllocationSite, 2, 1) \ |
498 F(FinalizeInstanceSize, 1, 1) \ | 498 F(FinalizeInstanceSize, 1, 1) \ |
499 F(Throw, 1, 1) \ | 499 F(Throw, 1, 1) \ |
500 F(ReThrow, 1, 1) \ | 500 F(ReThrow, 1, 1) \ |
501 F(ThrowReferenceError, 1, 1) \ | 501 F(ThrowReferenceError, 1, 1) \ |
502 F(ThrowNotDateError, 0, 1) \ | 502 F(ThrowNotDateError, 0, 1) \ |
| 503 F(ThrowConstAssignError, 0, 1) \ |
503 F(StackGuard, 0, 1) \ | 504 F(StackGuard, 0, 1) \ |
504 F(Interrupt, 0, 1) \ | 505 F(Interrupt, 0, 1) \ |
505 F(PromoteScheduledException, 0, 1) \ | 506 F(PromoteScheduledException, 0, 1) \ |
506 \ | 507 \ |
507 /* Contexts */ \ | 508 /* Contexts */ \ |
508 F(NewScriptContext, 2, 1) \ | 509 F(NewScriptContext, 2, 1) \ |
509 F(NewFunctionContext, 1, 1) \ | 510 F(NewFunctionContext, 1, 1) \ |
510 F(PushWithContext, 2, 1) \ | 511 F(PushWithContext, 2, 1) \ |
511 F(PushCatchContext, 3, 1) \ | 512 F(PushCatchContext, 3, 1) \ |
512 F(PushBlockContext, 2, 1) \ | 513 F(PushBlockContext, 2, 1) \ |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; | 890 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; |
890 | 891 |
891 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 892 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
892 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 893 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
893 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; | 894 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; |
894 | 895 |
895 } // namespace internal | 896 } // namespace internal |
896 } // namespace v8 | 897 } // namespace v8 |
897 | 898 |
898 #endif // V8_RUNTIME_RUNTIME_H_ | 899 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |