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

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

Issue 1469303006: Revert of Reland "[Interpreter] Add CreateClosure to BytecodeGraphBuilder." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 V(ToName, OperandType::kNone) \ 154 V(ToName, OperandType::kNone) \
155 V(ToNumber, OperandType::kNone) \ 155 V(ToNumber, OperandType::kNone) \
156 V(ToObject, OperandType::kNone) \ 156 V(ToObject, OperandType::kNone) \
157 \ 157 \
158 /* Literals */ \ 158 /* Literals */ \
159 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kReg8) \ 159 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kReg8) \
160 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \ 160 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \
161 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \ 161 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \
162 \ 162 \
163 /* Closure allocation */ \ 163 /* Closure allocation */ \
164 V(CreateClosure, OperandType::kIdx8, OperandType::kImm8) \ 164 V(CreateClosure, OperandType::kImm8) \
165 V(CreateClosureWide, OperandType::kIdx16, OperandType::kImm8) \
166 \ 165 \
167 /* Arguments allocation */ \ 166 /* Arguments allocation */ \
168 V(CreateMappedArguments, OperandType::kNone) \ 167 V(CreateMappedArguments, OperandType::kNone) \
169 V(CreateUnmappedArguments, OperandType::kNone) \ 168 V(CreateUnmappedArguments, OperandType::kNone) \
170 \ 169 \
171 /* Control Flow */ \ 170 /* Control Flow */ \
172 V(Jump, OperandType::kImm8) \ 171 V(Jump, OperandType::kImm8) \
173 V(JumpConstant, OperandType::kIdx8) \ 172 V(JumpConstant, OperandType::kIdx8) \
174 V(JumpIfTrue, OperandType::kImm8) \ 173 V(JumpIfTrue, OperandType::kImm8) \
175 V(JumpIfTrueConstant, OperandType::kIdx8) \ 174 V(JumpIfTrueConstant, OperandType::kIdx8) \
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 345
347 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 346 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
348 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 347 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
349 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 348 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
350 349
351 } // namespace interpreter 350 } // namespace interpreter
352 } // namespace internal 351 } // namespace internal
353 } // namespace v8 352 } // namespace v8
354 353
355 #endif // V8_INTERPRETER_BYTECODES_H_ 354 #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