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

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

Issue 1645763003: [Interpreter] TurboFan implementation of intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Merged with oth@'s changes. Created 4 years, 9 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-array-builder.cc ('k') | src/interpreter/bytecodes.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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 OperandType::kIdx) \ 216 OperandType::kIdx) \
217 V(ForInStep, OperandType::kReg) \ 217 V(ForInStep, OperandType::kReg) \
218 \ 218 \
219 /* Perform a stack guard check */ \ 219 /* Perform a stack guard check */ \
220 V(StackCheck, OperandType::kNone) \ 220 V(StackCheck, OperandType::kNone) \
221 \ 221 \
222 /* Non-local flow control */ \ 222 /* Non-local flow control */ \
223 V(Throw, OperandType::kNone) \ 223 V(Throw, OperandType::kNone) \
224 V(ReThrow, OperandType::kNone) \ 224 V(ReThrow, OperandType::kNone) \
225 V(Return, OperandType::kNone) \ 225 V(Return, OperandType::kNone) \
226 /* Intrinsics */ \
rmcilroy 2016/03/22 10:58:24 nit - newline above (and move near CallRuntime)
epertoso 2016/03/22 11:11:20 Done.
227 V(InvokeIntrinsic, OperandType::kRuntimeId, OperandType::kMaybeReg, \
228 OperandType::kRegCount) \
226 \ 229 \
227 /* Debugger */ \ 230 /* Debugger */ \
228 V(Debugger, OperandType::kNone) \ 231 V(Debugger, OperandType::kNone) \
229 DEBUG_BREAK_BYTECODE_LIST(V) \ 232 DEBUG_BREAK_BYTECODE_LIST(V) \
230 \ 233 \
231 /* Illegal bytecode (terminates execution) */ \ 234 /* Illegal bytecode (terminates execution) */ \
232 V(Illegal, OperandType::kNone) 235 V(Illegal, OperandType::kNone)
233 236
234 // Enumeration of scaling factors applicable to scalable operands. Code 237 // Enumeration of scaling factors applicable to scalable operands. Code
235 // relies on being able to cast values to integer scaling values. 238 // relies on being able to cast values to integer scaling values.
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 521 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
519 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); 522 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale);
520 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); 523 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size);
521 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 524 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
522 525
523 } // namespace interpreter 526 } // namespace interpreter
524 } // namespace internal 527 } // namespace internal
525 } // namespace v8 528 } // namespace v8
526 529
527 #endif // V8_INTERPRETER_BYTECODES_H_ 530 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecodes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698