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_H_ | 5 #ifndef V8_RUNTIME_H_ |
6 #define V8_RUNTIME_H_ | 6 #define V8_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/zone.h" | 9 #include "src/zone.h" |
10 | 10 |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 F(NewGlobalContext, 2, 1) \ | 474 F(NewGlobalContext, 2, 1) \ |
475 F(NewFunctionContext, 1, 1) \ | 475 F(NewFunctionContext, 1, 1) \ |
476 F(PushWithContext, 2, 1) \ | 476 F(PushWithContext, 2, 1) \ |
477 F(PushCatchContext, 3, 1) \ | 477 F(PushCatchContext, 3, 1) \ |
478 F(PushBlockContext, 2, 1) \ | 478 F(PushBlockContext, 2, 1) \ |
479 F(PushModuleContext, 2, 1) \ | 479 F(PushModuleContext, 2, 1) \ |
480 F(DeleteLookupSlot, 2, 1) \ | 480 F(DeleteLookupSlot, 2, 1) \ |
481 F(LoadLookupSlot, 2, 2) \ | 481 F(LoadLookupSlot, 2, 2) \ |
482 F(LoadLookupSlotNoReferenceError, 2, 2) \ | 482 F(LoadLookupSlotNoReferenceError, 2, 2) \ |
483 F(StoreLookupSlot, 4, 1) \ | 483 F(StoreLookupSlot, 4, 1) \ |
484 F(StoreContextRelative, 4, 1) /* TODO(turbofan): Only temporary */ \ | |
485 \ | 484 \ |
486 /* Declarations and initialization */ \ | 485 /* Declarations and initialization */ \ |
487 F(DeclareGlobals, 3, 1) \ | 486 F(DeclareGlobals, 3, 1) \ |
488 F(DeclareModules, 1, 1) \ | 487 F(DeclareModules, 1, 1) \ |
489 F(DeclareLookupSlot, 4, 1) \ | 488 F(DeclareLookupSlot, 4, 1) \ |
490 F(InitializeConstGlobal, 2, 1) \ | 489 F(InitializeConstGlobal, 2, 1) \ |
491 F(InitializeLegacyConstLookupSlot, 3, 1) \ | 490 F(InitializeLegacyConstLookupSlot, 3, 1) \ |
492 \ | 491 \ |
493 /* Eval */ \ | 492 /* Eval */ \ |
494 F(ResolvePossiblyDirectEval, 5, 2) \ | 493 F(ResolvePossiblyDirectEval, 5, 2) \ |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 900 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
902 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 901 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
903 | 902 |
904 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 903 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
905 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 904 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
906 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 905 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
907 | 906 |
908 } } // namespace v8::internal | 907 } } // namespace v8::internal |
909 | 908 |
910 #endif // V8_RUNTIME_H_ | 909 #endif // V8_RUNTIME_H_ |
OLD | NEW |