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

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

Issue 1410953003: [Interpreter] Adds delete operator to interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 V(BitwiseOr, OperandType::kReg8) \ 81 V(BitwiseOr, OperandType::kReg8) \
82 V(BitwiseXor, OperandType::kReg8) \ 82 V(BitwiseXor, OperandType::kReg8) \
83 V(BitwiseAnd, OperandType::kReg8) \ 83 V(BitwiseAnd, OperandType::kReg8) \
84 V(ShiftLeft, OperandType::kReg8) \ 84 V(ShiftLeft, OperandType::kReg8) \
85 V(ShiftRight, OperandType::kReg8) \ 85 V(ShiftRight, OperandType::kReg8) \
86 V(ShiftRightLogical, OperandType::kReg8) \ 86 V(ShiftRightLogical, OperandType::kReg8) \
87 \ 87 \
88 /* Unary Operators */ \ 88 /* Unary Operators */ \
89 V(LogicalNot, OperandType::kNone) \ 89 V(LogicalNot, OperandType::kNone) \
90 V(TypeOf, OperandType::kNone) \ 90 V(TypeOf, OperandType::kNone) \
91 V(DeletePropertyStrict, OperandType::kReg8) \
92 V(DeletePropertySloppy, OperandType::kReg8) \
91 \ 93 \
92 /* Call operations */ \ 94 /* Call operations */ \
93 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ 95 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \
94 V(CallRuntime, OperandType::kIdx16, OperandType::kReg8, \ 96 V(CallRuntime, OperandType::kIdx16, OperandType::kReg8, \
95 OperandType::kCount8) \ 97 OperandType::kCount8) \
96 \ 98 \
97 /* New operator */ \ 99 /* New operator */ \
98 V(New, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ 100 V(New, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \
99 \ 101 \
100 /* Test Operators */ \ 102 /* Test Operators */ \
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 285
284 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 286 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
285 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 287 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
286 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 288 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
287 289
288 } // namespace interpreter 290 } // namespace interpreter
289 } // namespace internal 291 } // namespace internal
290 } // namespace v8 292 } // namespace v8
291 293
292 #endif // V8_INTERPRETER_BYTECODES_H_ 294 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698