Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/runtime.h

Issue 433853002: Implement lowering of JSLoadContext to machine operators. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Ben Titzer. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698