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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 \ | 472 \ |
473 /* Contexts */ \ | 473 /* Contexts */ \ |
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(LoadContextRelative, 3, 1) /* TODO(turbofan): Only temporary */ \ | |
483 F(LoadLookupSlotNoReferenceError, 2, 2) \ | 482 F(LoadLookupSlotNoReferenceError, 2, 2) \ |
484 F(StoreLookupSlot, 4, 1) \ | 483 F(StoreLookupSlot, 4, 1) \ |
485 F(StoreContextRelative, 4, 1) /* TODO(turbofan): Only temporary */ \ | 484 F(StoreContextRelative, 4, 1) /* TODO(turbofan): Only temporary */ \ |
486 \ | 485 \ |
487 /* Declarations and initialization */ \ | 486 /* Declarations and initialization */ \ |
488 F(DeclareGlobals, 3, 1) \ | 487 F(DeclareGlobals, 3, 1) \ |
489 F(DeclareModules, 1, 1) \ | 488 F(DeclareModules, 1, 1) \ |
490 F(DeclareLookupSlot, 4, 1) \ | 489 F(DeclareLookupSlot, 4, 1) \ |
491 F(InitializeConstGlobal, 2, 1) \ | 490 F(InitializeConstGlobal, 2, 1) \ |
492 F(InitializeLegacyConstLookupSlot, 3, 1) \ | 491 F(InitializeLegacyConstLookupSlot, 3, 1) \ |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 901 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
903 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 902 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
904 | 903 |
905 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 904 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
906 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 905 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
907 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 906 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
908 | 907 |
909 } } // namespace v8::internal | 908 } } // namespace v8::internal |
910 | 909 |
911 #endif // V8_RUNTIME_H_ | 910 #endif // V8_RUNTIME_H_ |
OLD | NEW |