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

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

Issue 1664593003: [Interpreter] Adds support for rest parameters to interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes comments. 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
« 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 V(CreateObjectLiteralWide, OperandType::kIdx16, OperandType::kIdx16, \ 218 V(CreateObjectLiteralWide, OperandType::kIdx16, OperandType::kIdx16, \
219 OperandType::kImm8) \ 219 OperandType::kImm8) \
220 \ 220 \
221 /* Closure allocation */ \ 221 /* Closure allocation */ \
222 V(CreateClosure, OperandType::kIdx8, OperandType::kImm8) \ 222 V(CreateClosure, OperandType::kIdx8, OperandType::kImm8) \
223 V(CreateClosureWide, OperandType::kIdx16, OperandType::kImm8) \ 223 V(CreateClosureWide, OperandType::kIdx16, OperandType::kImm8) \
224 \ 224 \
225 /* Arguments allocation */ \ 225 /* Arguments allocation */ \
226 V(CreateMappedArguments, OperandType::kNone) \ 226 V(CreateMappedArguments, OperandType::kNone) \
227 V(CreateUnmappedArguments, OperandType::kNone) \ 227 V(CreateUnmappedArguments, OperandType::kNone) \
228 V(CreateRestArguments, OperandType::kIdx8) \
228 \ 229 \
229 /* Control Flow */ \ 230 /* Control Flow */ \
230 V(Jump, OperandType::kImm8) \ 231 V(Jump, OperandType::kImm8) \
231 V(JumpConstant, OperandType::kIdx8) \ 232 V(JumpConstant, OperandType::kIdx8) \
232 V(JumpConstantWide, OperandType::kIdx16) \ 233 V(JumpConstantWide, OperandType::kIdx16) \
233 V(JumpIfTrue, OperandType::kImm8) \ 234 V(JumpIfTrue, OperandType::kImm8) \
234 V(JumpIfTrueConstant, OperandType::kIdx8) \ 235 V(JumpIfTrueConstant, OperandType::kIdx8) \
235 V(JumpIfTrueConstantWide, OperandType::kIdx16) \ 236 V(JumpIfTrueConstantWide, OperandType::kIdx16) \
236 V(JumpIfFalse, OperandType::kImm8) \ 237 V(JumpIfFalse, OperandType::kImm8) \
237 V(JumpIfFalseConstant, OperandType::kIdx8) \ 238 V(JumpIfFalseConstant, OperandType::kIdx8) \
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 473
473 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 474 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
474 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 475 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
475 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 476 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
476 477
477 } // namespace interpreter 478 } // namespace interpreter
478 } // namespace internal 479 } // namespace internal
479 } // namespace v8 480 } // namespace v8
480 481
481 #endif // V8_INTERPRETER_BYTECODES_H_ 482 #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