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

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

Issue 1688283003: [Interpreter] Implements calls through CallICStub in the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removes an unused label declaration. Created 4 years, 9 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/bytecodes.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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 \ 147 \
148 /* Unary Operators */ \ 148 /* Unary Operators */ \
149 V(Inc, OperandType::kNone) \ 149 V(Inc, OperandType::kNone) \
150 V(Dec, OperandType::kNone) \ 150 V(Dec, OperandType::kNone) \
151 V(LogicalNot, OperandType::kNone) \ 151 V(LogicalNot, OperandType::kNone) \
152 V(TypeOf, OperandType::kNone) \ 152 V(TypeOf, OperandType::kNone) \
153 V(DeletePropertyStrict, OperandType::kReg8) \ 153 V(DeletePropertyStrict, OperandType::kReg8) \
154 V(DeletePropertySloppy, OperandType::kReg8) \ 154 V(DeletePropertySloppy, OperandType::kReg8) \
155 \ 155 \
156 /* Call operations */ \ 156 /* Call operations */ \
157 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kRegCount8, \ 157 V(CallIC, OperandType::kReg8, OperandType::kReg8, OperandType::kRegCount8, \
158 OperandType::kIdx8) \ 158 OperandType::kIdx8) \
159 V(CallICWide, OperandType::kReg16, OperandType::kReg16, \
160 OperandType::kRegCount16, OperandType::kIdx16) \
161 V(TailCallIC, OperandType::kReg8, OperandType::kReg8, \
162 OperandType::kRegCount8, OperandType::kIdx8) \
163 V(TailCallICWide, OperandType::kReg16, OperandType::kReg16, \
164 OperandType::kRegCount16, OperandType::kIdx16) \
165 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kRegCount8) \
159 V(CallWide, OperandType::kReg16, OperandType::kReg16, \ 166 V(CallWide, OperandType::kReg16, OperandType::kReg16, \
160 OperandType::kRegCount16, OperandType::kIdx16) \ 167 OperandType::kRegCount16) \
161 V(TailCall, OperandType::kReg8, OperandType::kReg8, OperandType::kRegCount8, \ 168 V(TailCall, OperandType::kReg8, OperandType::kReg8, OperandType::kRegCount8) \
162 OperandType::kIdx8) \
163 V(TailCallWide, OperandType::kReg16, OperandType::kReg16, \ 169 V(TailCallWide, OperandType::kReg16, OperandType::kReg16, \
164 OperandType::kRegCount16, OperandType::kIdx16) \ 170 OperandType::kRegCount16) \
165 V(CallRuntime, OperandType::kIdx16, OperandType::kMaybeReg8, \ 171 V(CallRuntime, OperandType::kIdx16, OperandType::kMaybeReg8, \
166 OperandType::kRegCount8) \ 172 OperandType::kRegCount8) \
167 V(CallRuntimeWide, OperandType::kIdx16, OperandType::kMaybeReg16, \ 173 V(CallRuntimeWide, OperandType::kIdx16, OperandType::kMaybeReg16, \
168 OperandType::kRegCount8) \ 174 OperandType::kRegCount8) \
169 V(CallRuntimeForPair, OperandType::kIdx16, OperandType::kMaybeReg8, \ 175 V(CallRuntimeForPair, OperandType::kIdx16, OperandType::kMaybeReg8, \
170 OperandType::kRegCount8, OperandType::kRegOutPair8) \ 176 OperandType::kRegCount8, OperandType::kRegOutPair8) \
171 V(CallRuntimeForPairWide, OperandType::kIdx16, OperandType::kMaybeReg16, \ 177 V(CallRuntimeForPairWide, OperandType::kIdx16, OperandType::kMaybeReg16, \
172 OperandType::kRegCount8, OperandType::kRegOutPair16) \ 178 OperandType::kRegCount8, OperandType::kRegOutPair16) \
173 V(CallJSRuntime, OperandType::kIdx16, OperandType::kReg8, \ 179 V(CallJSRuntime, OperandType::kIdx16, OperandType::kReg8, \
174 OperandType::kRegCount8) \ 180 OperandType::kRegCount8) \
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 498
493 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 499 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
494 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 500 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
495 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 501 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
496 502
497 } // namespace interpreter 503 } // namespace interpreter
498 } // namespace internal 504 } // namespace internal
499 } // namespace v8 505 } // namespace v8
500 506
501 #endif // V8_INTERPRETER_BYTECODES_H_ 507 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/interpreter/bytecodes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698