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

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: Created 5 years, 2 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 V(ToName, OperandType::kNone) \ 114 V(ToName, OperandType::kNone) \
115 \ 115 \
116 /* Literals */ \ 116 /* Literals */ \
117 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kReg8) \ 117 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kReg8) \
118 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \ 118 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \
119 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \ 119 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \
120 \ 120 \
121 /* Closure allocation */ \ 121 /* Closure allocation */ \
122 V(CreateClosure, OperandType::kImm8) \ 122 V(CreateClosure, OperandType::kImm8) \
123 \ 123 \
124 /* Arguments allocation */ \
125 V(CreateArgumentsSloppy, OperandType::kNone) \
Michael Starzinger 2015/10/21 18:42:17 suggestion: I know we are inconsistent with the na
rmcilroy 2015/10/22 15:19:52 Good call, went with CreateUnmappedArguments and C
126 V(CreateArgumentsStrict, OperandType::kNone) \
127 \
124 /* Control Flow */ \ 128 /* Control Flow */ \
125 V(Jump, OperandType::kImm8) \ 129 V(Jump, OperandType::kImm8) \
126 V(JumpConstant, OperandType::kIdx8) \ 130 V(JumpConstant, OperandType::kIdx8) \
127 V(JumpIfTrue, OperandType::kImm8) \ 131 V(JumpIfTrue, OperandType::kImm8) \
128 V(JumpIfTrueConstant, OperandType::kIdx8) \ 132 V(JumpIfTrueConstant, OperandType::kIdx8) \
129 V(JumpIfFalse, OperandType::kImm8) \ 133 V(JumpIfFalse, OperandType::kImm8) \
130 V(JumpIfFalseConstant, OperandType::kIdx8) \ 134 V(JumpIfFalseConstant, OperandType::kIdx8) \
131 V(JumpIfToBooleanTrue, OperandType::kImm8) \ 135 V(JumpIfToBooleanTrue, OperandType::kImm8) \
132 V(JumpIfToBooleanTrueConstant, OperandType::kIdx8) \ 136 V(JumpIfToBooleanTrueConstant, OperandType::kIdx8) \
133 V(JumpIfToBooleanFalse, OperandType::kImm8) \ 137 V(JumpIfToBooleanFalse, OperandType::kImm8) \
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 288
285 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 289 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
286 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 290 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
287 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 291 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
288 292
289 } // namespace interpreter 293 } // namespace interpreter
290 } // namespace internal 294 } // namespace internal
291 } // namespace v8 295 } // namespace v8
292 296
293 #endif // V8_INTERPRETER_BYTECODES_H_ 297 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698