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

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

Issue 1412953007: [Interpreter] Fill out function prologue support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 5 years, 1 month 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 V(ToNumber, OperandType::kNone) \ 118 V(ToNumber, OperandType::kNone) \
119 \ 119 \
120 /* Literals */ \ 120 /* Literals */ \
121 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kReg8) \ 121 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kReg8) \
122 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \ 122 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \
123 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \ 123 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \
124 \ 124 \
125 /* Closure allocation */ \ 125 /* Closure allocation */ \
126 V(CreateClosure, OperandType::kImm8) \ 126 V(CreateClosure, OperandType::kImm8) \
127 \ 127 \
128 /* Arguments allocation */ \
129 V(CreateMappedArguments, OperandType::kNone) \
130 V(CreateUnmappedArguments, OperandType::kNone) \
131 \
128 /* Control Flow */ \ 132 /* Control Flow */ \
129 V(Jump, OperandType::kImm8) \ 133 V(Jump, OperandType::kImm8) \
130 V(JumpConstant, OperandType::kIdx8) \ 134 V(JumpConstant, OperandType::kIdx8) \
131 V(JumpIfTrue, OperandType::kImm8) \ 135 V(JumpIfTrue, OperandType::kImm8) \
132 V(JumpIfTrueConstant, OperandType::kIdx8) \ 136 V(JumpIfTrueConstant, OperandType::kIdx8) \
133 V(JumpIfFalse, OperandType::kImm8) \ 137 V(JumpIfFalse, OperandType::kImm8) \
134 V(JumpIfFalseConstant, OperandType::kIdx8) \ 138 V(JumpIfFalseConstant, OperandType::kIdx8) \
135 V(JumpIfToBooleanTrue, OperandType::kImm8) \ 139 V(JumpIfToBooleanTrue, OperandType::kImm8) \
136 V(JumpIfToBooleanTrueConstant, OperandType::kIdx8) \ 140 V(JumpIfToBooleanTrueConstant, OperandType::kIdx8) \
137 V(JumpIfToBooleanFalse, OperandType::kImm8) \ 141 V(JumpIfToBooleanFalse, OperandType::kImm8) \
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 302
299 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 303 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
300 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 304 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
301 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 305 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
302 306
303 } // namespace interpreter 307 } // namespace interpreter
304 } // namespace internal 308 } // namespace internal
305 } // namespace v8 309 } // namespace v8
306 310
307 #endif // V8_INTERPRETER_BYTECODES_H_ 311 #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