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

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

Issue 1402943002: [Interpreter] Support for operator new. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix missing receiver slot. 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
« no previous file with comments | « src/interpreter/bytecode-generator.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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 \ 91 \
92 /* Call operations. */ \ 92 /* Call operations */ \
93 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ 93 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \
94 V(CallRuntime, OperandType::kIdx16, OperandType::kReg8, \ 94 V(CallRuntime, OperandType::kIdx16, OperandType::kReg8, \
95 OperandType::kCount8) \ 95 OperandType::kCount8) \
96 \ 96 \
97 /* New operator */ \
98 V(New, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \
99 \
97 /* Test Operators */ \ 100 /* Test Operators */ \
98 V(TestEqual, OperandType::kReg8) \ 101 V(TestEqual, OperandType::kReg8) \
99 V(TestNotEqual, OperandType::kReg8) \ 102 V(TestNotEqual, OperandType::kReg8) \
100 V(TestEqualStrict, OperandType::kReg8) \ 103 V(TestEqualStrict, OperandType::kReg8) \
101 V(TestNotEqualStrict, OperandType::kReg8) \ 104 V(TestNotEqualStrict, OperandType::kReg8) \
102 V(TestLessThan, OperandType::kReg8) \ 105 V(TestLessThan, OperandType::kReg8) \
103 V(TestGreaterThan, OperandType::kReg8) \ 106 V(TestGreaterThan, OperandType::kReg8) \
104 V(TestLessThanOrEqual, OperandType::kReg8) \ 107 V(TestLessThanOrEqual, OperandType::kReg8) \
105 V(TestGreaterThanOrEqual, OperandType::kReg8) \ 108 V(TestGreaterThanOrEqual, OperandType::kReg8) \
106 V(TestInstanceOf, OperandType::kReg8) \ 109 V(TestInstanceOf, OperandType::kReg8) \
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 279
277 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 280 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
278 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 281 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
279 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 282 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
280 283
281 } // namespace interpreter 284 } // namespace interpreter
282 } // namespace internal 285 } // namespace internal
283 } // namespace v8 286 } // namespace v8
284 287
285 #endif // V8_INTERPRETER_BYTECODES_H_ 288 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698