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

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

Issue 1412683011: [Interpreter] Enable assignments in expressions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 5 years, 1 month 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
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 /* Context operations */ \ 62 /* Context operations */ \
63 V(PushContext, OperandType::kReg8) \ 63 V(PushContext, OperandType::kReg8) \
64 V(PopContext, OperandType::kReg8) \ 64 V(PopContext, OperandType::kReg8) \
65 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ 65 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \
66 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ 66 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \
67 \ 67 \
68 /* Register-accumulator transfers */ \ 68 /* Register-accumulator transfers */ \
69 V(Ldar, OperandType::kReg8) \ 69 V(Ldar, OperandType::kReg8) \
70 V(Star, OperandType::kReg8) \ 70 V(Star, OperandType::kReg8) \
71 \ 71 \
72 /* Register-register transfers */ \
73 V(Mov, OperandType::kReg8, OperandType::kReg8) \
74 \
72 /* LoadIC operations */ \ 75 /* LoadIC operations */ \
73 V(LoadICSloppy, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \ 76 V(LoadICSloppy, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \
74 V(LoadICStrict, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \ 77 V(LoadICStrict, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \
75 V(KeyedLoadICSloppy, OperandType::kReg8, OperandType::kIdx8) \ 78 V(KeyedLoadICSloppy, OperandType::kReg8, OperandType::kIdx8) \
76 V(KeyedLoadICStrict, OperandType::kReg8, OperandType::kIdx8) \ 79 V(KeyedLoadICStrict, OperandType::kReg8, OperandType::kIdx8) \
77 /* TODO(rmcilroy): Wide register operands too? */ \ 80 /* TODO(rmcilroy): Wide register operands too? */ \
78 V(LoadICSloppyWide, OperandType::kReg8, OperandType::kIdx16, \ 81 V(LoadICSloppyWide, OperandType::kReg8, OperandType::kIdx16, \
79 OperandType::kIdx16) \ 82 OperandType::kIdx16) \
80 V(LoadICStrictWide, OperandType::kReg8, OperandType::kIdx16, \ 83 V(LoadICStrictWide, OperandType::kReg8, OperandType::kIdx16, \
81 OperandType::kIdx16) \ 84 OperandType::kIdx16) \
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 347
345 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 348 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
346 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 349 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
347 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 350 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
348 351
349 } // namespace interpreter 352 } // namespace interpreter
350 } // namespace internal 353 } // namespace internal
351 } // namespace v8 354 } // namespace v8
352 355
353 #endif // V8_INTERPRETER_BYTECODES_H_ 356 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698