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

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

Issue 1396693003: [Interpreter] Add function literal support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_newcontext
Patch Set: Review comments 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
« 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 V(TestLessThan, OperandType::kReg8) \ 98 V(TestLessThan, OperandType::kReg8) \
99 V(TestGreaterThan, OperandType::kReg8) \ 99 V(TestGreaterThan, OperandType::kReg8) \
100 V(TestLessThanOrEqual, OperandType::kReg8) \ 100 V(TestLessThanOrEqual, OperandType::kReg8) \
101 V(TestGreaterThanOrEqual, OperandType::kReg8) \ 101 V(TestGreaterThanOrEqual, OperandType::kReg8) \
102 V(TestInstanceOf, OperandType::kReg8) \ 102 V(TestInstanceOf, OperandType::kReg8) \
103 V(TestIn, OperandType::kReg8) \ 103 V(TestIn, OperandType::kReg8) \
104 \ 104 \
105 /* Cast operators */ \ 105 /* Cast operators */ \
106 V(ToBoolean, OperandType::kNone) \ 106 V(ToBoolean, OperandType::kNone) \
107 \ 107 \
108 /* Closure allocation */ \
109 V(CreateClosure, OperandType::kImm8) \
110 \
108 /* Control Flow */ \ 111 /* Control Flow */ \
109 V(Jump, OperandType::kImm8) \ 112 V(Jump, OperandType::kImm8) \
110 V(JumpConstant, OperandType::kIdx8) \ 113 V(JumpConstant, OperandType::kIdx8) \
111 V(JumpIfTrue, OperandType::kImm8) \ 114 V(JumpIfTrue, OperandType::kImm8) \
112 V(JumpIfTrueConstant, OperandType::kIdx8) \ 115 V(JumpIfTrueConstant, OperandType::kIdx8) \
113 V(JumpIfFalse, OperandType::kImm8) \ 116 V(JumpIfFalse, OperandType::kImm8) \
114 V(JumpIfFalseConstant, OperandType::kIdx8) \ 117 V(JumpIfFalseConstant, OperandType::kIdx8) \
115 V(Return, OperandType::kNone) 118 V(Return, OperandType::kNone)
116 119
117 120
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 253
251 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 254 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
252 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 255 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
253 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 256 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
254 257
255 } // namespace interpreter 258 } // namespace interpreter
256 } // namespace internal 259 } // namespace internal
257 } // namespace v8 260 } // namespace v8
258 261
259 #endif // V8_INTERPRETER_BYTECODES_H_ 262 #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