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 1410853002: [Interpreter] Add support for RegExp literals. (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
« 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 V(TestLessThanOrEqual, OperandType::kReg8) \ 104 V(TestLessThanOrEqual, OperandType::kReg8) \
105 V(TestGreaterThanOrEqual, OperandType::kReg8) \ 105 V(TestGreaterThanOrEqual, OperandType::kReg8) \
106 V(TestInstanceOf, OperandType::kReg8) \ 106 V(TestInstanceOf, OperandType::kReg8) \
107 V(TestIn, OperandType::kReg8) \ 107 V(TestIn, OperandType::kReg8) \
108 \ 108 \
109 /* Cast operators */ \ 109 /* Cast operators */ \
110 V(ToBoolean, OperandType::kNone) \ 110 V(ToBoolean, OperandType::kNone) \
111 V(ToName, OperandType::kNone) \ 111 V(ToName, OperandType::kNone) \
112 \ 112 \
113 /* Literals */ \ 113 /* Literals */ \
114 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kReg8) \
114 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \ 115 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \
115 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \ 116 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \
116 \ 117 \
117 /* Closure allocation */ \ 118 /* Closure allocation */ \
118 V(CreateClosure, OperandType::kImm8) \ 119 V(CreateClosure, OperandType::kImm8) \
119 \ 120 \
120 /* Control Flow */ \ 121 /* Control Flow */ \
121 V(Jump, OperandType::kImm8) \ 122 V(Jump, OperandType::kImm8) \
122 V(JumpConstant, OperandType::kIdx8) \ 123 V(JumpConstant, OperandType::kIdx8) \
123 V(JumpIfTrue, OperandType::kImm8) \ 124 V(JumpIfTrue, OperandType::kImm8) \
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 277
277 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 278 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
278 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 279 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
279 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 280 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
280 281
281 } // namespace interpreter 282 } // namespace interpreter
282 } // namespace internal 283 } // namespace internal
283 } // namespace v8 284 } // namespace v8
284 285
285 #endif // V8_INTERPRETER_BYTECODES_H_ 286 #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