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

Side by Side Diff: src/interpreter/bytecodes.h

Issue 1572283002: [Interpreter] Add wide context slot load / store operations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address review comments. Created 4 years, 11 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
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/interpreter.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_INTERPRETER_BYTECODES_H_ 5 #ifndef V8_INTERPRETER_BYTECODES_H_
6 #define V8_INTERPRETER_BYTECODES_H_ 6 #define V8_INTERPRETER_BYTECODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 // Clients of this interface shouldn't depend on lots of interpreter internals. 10 // Clients of this interface shouldn't depend on lots of interpreter internals.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 V(StaGlobalSloppy, OperandType::kIdx8, OperandType::kIdx8) \ 60 V(StaGlobalSloppy, OperandType::kIdx8, OperandType::kIdx8) \
61 V(StaGlobalStrict, OperandType::kIdx8, OperandType::kIdx8) \ 61 V(StaGlobalStrict, OperandType::kIdx8, OperandType::kIdx8) \
62 V(StaGlobalSloppyWide, OperandType::kIdx16, OperandType::kIdx16) \ 62 V(StaGlobalSloppyWide, OperandType::kIdx16, OperandType::kIdx16) \
63 V(StaGlobalStrictWide, OperandType::kIdx16, OperandType::kIdx16) \ 63 V(StaGlobalStrictWide, OperandType::kIdx16, OperandType::kIdx16) \
64 \ 64 \
65 /* Context operations */ \ 65 /* Context operations */ \
66 V(PushContext, OperandType::kReg8) \ 66 V(PushContext, OperandType::kReg8) \
67 V(PopContext, OperandType::kReg8) \ 67 V(PopContext, OperandType::kReg8) \
68 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ 68 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \
69 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ 69 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \
70 V(LdaContextSlotWide, OperandType::kReg8, OperandType::kIdx16) \
71 V(StaContextSlotWide, OperandType::kReg8, OperandType::kIdx16) \
70 \ 72 \
71 /* Load-Store lookup slots */ \ 73 /* Load-Store lookup slots */ \
72 V(LdaLookupSlot, OperandType::kIdx8) \ 74 V(LdaLookupSlot, OperandType::kIdx8) \
73 V(LdaLookupSlotInsideTypeof, OperandType::kIdx8) \ 75 V(LdaLookupSlotInsideTypeof, OperandType::kIdx8) \
74 V(LdaLookupSlotWide, OperandType::kIdx16) \ 76 V(LdaLookupSlotWide, OperandType::kIdx16) \
75 V(LdaLookupSlotInsideTypeofWide, OperandType::kIdx16) \ 77 V(LdaLookupSlotInsideTypeofWide, OperandType::kIdx16) \
76 V(StaLookupSlotSloppy, OperandType::kIdx8) \ 78 V(StaLookupSlotSloppy, OperandType::kIdx8) \
77 V(StaLookupSlotStrict, OperandType::kIdx8) \ 79 V(StaLookupSlotStrict, OperandType::kIdx8) \
78 V(StaLookupSlotSloppyWide, OperandType::kIdx16) \ 80 V(StaLookupSlotSloppyWide, OperandType::kIdx16) \
79 V(StaLookupSlotStrictWide, OperandType::kIdx16) \ 81 V(StaLookupSlotStrictWide, OperandType::kIdx16) \
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 410
409 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 411 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
410 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 412 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
411 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 413 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
412 414
413 } // namespace interpreter 415 } // namespace interpreter
414 } // namespace internal 416 } // namespace internal
415 } // namespace v8 417 } // namespace v8
416 418
417 #endif // V8_INTERPRETER_BYTECODES_H_ 419 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698