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

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

Issue 1503963002: [Interpreter] Adds wide variant of CreateLiterals. Adds CreateLiterals to BytecodeGraphBuilder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: renamed BuildLiteral to BuildCreateLiteral. 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 V(TestInstanceOf, OperandType::kReg8) \ 149 V(TestInstanceOf, OperandType::kReg8) \
150 V(TestIn, OperandType::kReg8) \ 150 V(TestIn, OperandType::kReg8) \
151 \ 151 \
152 /* Cast operators */ \ 152 /* Cast operators */ \
153 V(ToBoolean, OperandType::kNone) \ 153 V(ToBoolean, OperandType::kNone) \
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::kImm8) \ 159 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kIdx8, \
160 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \ 160 OperandType::kImm8) \
161 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \ 161 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kIdx8, \
162 OperandType::kImm8) \
163 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kIdx8, \
164 OperandType::kImm8) \
165 V(CreateRegExpLiteralWide, OperandType::kIdx16, OperandType::kIdx16, \
166 OperandType::kImm8) \
167 V(CreateArrayLiteralWide, OperandType::kIdx16, OperandType::kIdx16, \
168 OperandType::kImm8) \
169 V(CreateObjectLiteralWide, OperandType::kIdx16, OperandType::kIdx16, \
170 OperandType::kImm8) \
162 \ 171 \
163 /* Closure allocation */ \ 172 /* Closure allocation */ \
164 V(CreateClosure, OperandType::kIdx8, OperandType::kImm8) \ 173 V(CreateClosure, OperandType::kIdx8, OperandType::kImm8) \
165 V(CreateClosureWide, OperandType::kIdx16, OperandType::kImm8) \ 174 V(CreateClosureWide, OperandType::kIdx16, OperandType::kImm8) \
166 \ 175 \
167 /* Arguments allocation */ \ 176 /* Arguments allocation */ \
168 V(CreateMappedArguments, OperandType::kNone) \ 177 V(CreateMappedArguments, OperandType::kNone) \
169 V(CreateUnmappedArguments, OperandType::kNone) \ 178 V(CreateUnmappedArguments, OperandType::kNone) \
170 \ 179 \
171 /* Control Flow */ \ 180 /* Control Flow */ \
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 359
351 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 360 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
352 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 361 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
353 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 362 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
354 363
355 } // namespace interpreter 364 } // namespace interpreter
356 } // namespace internal 365 } // namespace internal
357 } // namespace v8 366 } // namespace v8
358 367
359 #endif // V8_INTERPRETER_BYTECODES_H_ 368 #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