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

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: Update 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
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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 V(ForInStep, OperandType::kReg8) \ 272 V(ForInStep, OperandType::kReg8) \
273 \ 273 \
274 /* Perform a stack guard check */ \ 274 /* Perform a stack guard check */ \
275 V(StackCheck, OperandType::kNone) \ 275 V(StackCheck, OperandType::kNone) \
276 \ 276 \
277 /* Non-local flow control */ \ 277 /* Non-local flow control */ \
278 V(Throw, OperandType::kNone) \ 278 V(Throw, OperandType::kNone) \
279 V(ReThrow, OperandType::kNone) \ 279 V(ReThrow, OperandType::kNone) \
280 V(Return, OperandType::kNone) \ 280 V(Return, OperandType::kNone) \
281 \ 281 \
282 /* Intrinsics */ \
283 V(InvokeIntrinsic, OperandType::kIdx16, OperandType::kMaybeReg8, \
284 OperandType::kRegCount8) \
285 V(InvokeIntrinsicWide, OperandType::kIdx16, OperandType::kMaybeReg16, \
286 OperandType::kRegCount16) \
287 \
282 /* Debugger */ \ 288 /* Debugger */ \
283 V(Debugger, OperandType::kNone) \ 289 V(Debugger, OperandType::kNone) \
284 DEBUG_BREAK_BYTECODE_LIST(V) 290 DEBUG_BREAK_BYTECODE_LIST(V)
285 291
286 // Enumeration of the size classes of operand types used by bytecodes. 292 // Enumeration of the size classes of operand types used by bytecodes.
287 enum class OperandSize : uint8_t { 293 enum class OperandSize : uint8_t {
288 kNone = 0, 294 kNone = 0,
289 kByte = 1, 295 kByte = 1,
290 kShort = 2, 296 kShort = 2,
291 }; 297 };
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 524
519 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 525 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
520 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 526 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
521 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 527 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
522 528
523 } // namespace interpreter 529 } // namespace interpreter
524 } // namespace internal 530 } // namespace internal
525 } // namespace v8 531 } // namespace v8
526 532
527 #endif // V8_INTERPRETER_BYTECODES_H_ 533 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698