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

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

Issue 1379933003: Revert of [Interpreter] Add CallRuntime support to the 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
« 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 \ 60 \
61 /* Binary Operators */ \ 61 /* Binary Operators */ \
62 V(Add, OperandType::kReg8) \ 62 V(Add, OperandType::kReg8) \
63 V(Sub, OperandType::kReg8) \ 63 V(Sub, OperandType::kReg8) \
64 V(Mul, OperandType::kReg8) \ 64 V(Mul, OperandType::kReg8) \
65 V(Div, OperandType::kReg8) \ 65 V(Div, OperandType::kReg8) \
66 V(Mod, OperandType::kReg8) \ 66 V(Mod, OperandType::kReg8) \
67 \ 67 \
68 /* Call operations. */ \ 68 /* Call operations. */ \
69 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ 69 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \
70 V(CallRuntime, OperandType::kIdx16, OperandType::kReg8, \
71 OperandType::kCount8) \
72 \ 70 \
73 /* Test Operators */ \ 71 /* Test Operators */ \
74 V(TestEqual, OperandType::kReg8) \ 72 V(TestEqual, OperandType::kReg8) \
75 V(TestNotEqual, OperandType::kReg8) \ 73 V(TestNotEqual, OperandType::kReg8) \
76 V(TestEqualStrict, OperandType::kReg8) \ 74 V(TestEqualStrict, OperandType::kReg8) \
77 V(TestNotEqualStrict, OperandType::kReg8) \ 75 V(TestNotEqualStrict, OperandType::kReg8) \
78 V(TestLessThan, OperandType::kReg8) \ 76 V(TestLessThan, OperandType::kReg8) \
79 V(TestGreaterThan, OperandType::kReg8) \ 77 V(TestGreaterThan, OperandType::kReg8) \
80 V(TestLessThanOrEqual, OperandType::kReg8) \ 78 V(TestLessThanOrEqual, OperandType::kReg8) \
81 V(TestGreaterThanOrEqual, OperandType::kReg8) \ 79 V(TestGreaterThanOrEqual, OperandType::kReg8) \
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 224
227 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 225 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
228 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 226 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
229 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 227 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
230 228
231 } // namespace interpreter 229 } // namespace interpreter
232 } // namespace internal 230 } // namespace internal
233 } // namespace v8 231 } // namespace v8
234 232
235 #endif // V8_INTERPRETER_BYTECODES_H_ 233 #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