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

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

Issue 1698273003: [es6] [interpreter] Add tail calls support to Ignition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@tco-turbo-2
Patch Set: Decreased number of iterations to fix timeouts Created 4 years, 10 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 V(LogicalNot, OperandType::kNone) \ 161 V(LogicalNot, OperandType::kNone) \
162 V(TypeOf, OperandType::kNone) \ 162 V(TypeOf, OperandType::kNone) \
163 V(DeletePropertyStrict, OperandType::kReg8) \ 163 V(DeletePropertyStrict, OperandType::kReg8) \
164 V(DeletePropertySloppy, OperandType::kReg8) \ 164 V(DeletePropertySloppy, OperandType::kReg8) \
165 \ 165 \
166 /* Call operations */ \ 166 /* Call operations */ \
167 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kRegCount8, \ 167 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kRegCount8, \
168 OperandType::kIdx8) \ 168 OperandType::kIdx8) \
169 V(CallWide, OperandType::kReg16, OperandType::kReg16, \ 169 V(CallWide, OperandType::kReg16, OperandType::kReg16, \
170 OperandType::kRegCount16, OperandType::kIdx16) \ 170 OperandType::kRegCount16, OperandType::kIdx16) \
171 V(TailCall, OperandType::kReg8, OperandType::kReg8, OperandType::kRegCount8, \
172 OperandType::kIdx8) \
173 V(TailCallWide, OperandType::kReg16, OperandType::kReg16, \
174 OperandType::kRegCount16, OperandType::kIdx16) \
171 V(CallRuntime, OperandType::kIdx16, OperandType::kMaybeReg8, \ 175 V(CallRuntime, OperandType::kIdx16, OperandType::kMaybeReg8, \
172 OperandType::kRegCount8) \ 176 OperandType::kRegCount8) \
173 V(CallRuntimeWide, OperandType::kIdx16, OperandType::kMaybeReg16, \ 177 V(CallRuntimeWide, OperandType::kIdx16, OperandType::kMaybeReg16, \
174 OperandType::kRegCount8) \ 178 OperandType::kRegCount8) \
175 V(CallRuntimeForPair, OperandType::kIdx16, OperandType::kMaybeReg8, \ 179 V(CallRuntimeForPair, OperandType::kIdx16, OperandType::kMaybeReg8, \
176 OperandType::kRegCount8, OperandType::kRegOutPair8) \ 180 OperandType::kRegCount8, OperandType::kRegOutPair8) \
177 V(CallRuntimeForPairWide, OperandType::kIdx16, OperandType::kMaybeReg16, \ 181 V(CallRuntimeForPairWide, OperandType::kIdx16, OperandType::kMaybeReg16, \
178 OperandType::kRegCount8, OperandType::kRegOutPair16) \ 182 OperandType::kRegCount8, OperandType::kRegOutPair16) \
179 V(CallJSRuntime, OperandType::kIdx16, OperandType::kReg8, \ 183 V(CallJSRuntime, OperandType::kIdx16, OperandType::kReg8, \
180 OperandType::kRegCount8) \ 184 OperandType::kRegCount8) \
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 502
499 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 503 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
500 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 504 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
501 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 505 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
502 506
503 } // namespace interpreter 507 } // namespace interpreter
504 } // namespace internal 508 } // namespace internal
505 } // namespace v8 509 } // namespace v8
506 510
507 #endif // V8_INTERPRETER_BYTECODES_H_ 511 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698