Index: src/interpreter/bytecodes.h |
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
index 36041cb97e5bc59b27a5be846787275ef2844395..71fb352ff81bf6feffcef4562a0a0296a99d0bd5 100644 |
--- a/src/interpreter/bytecodes.h |
+++ b/src/interpreter/bytecodes.h |
@@ -180,9 +180,13 @@ namespace interpreter { |
\ |
/* Call operations */ \ |
V(Call, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg, \ |
- OperandType::kRegCount, OperandType::kIdx) \ |
+ OperandType::kRegCount) \ |
V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg, \ |
- OperandType::kRegCount, OperandType::kIdx) \ |
+ OperandType::kRegCount) \ |
+ V(CallWithFeedback, AccumulatorUse::kWrite, OperandType::kReg, \ |
+ OperandType::kReg, OperandType::kRegCount, OperandType::kIdx) \ |
+ V(TailCallWithFeedback, AccumulatorUse::kWrite, OperandType::kReg, \ |
+ OperandType::kReg, OperandType::kRegCount, OperandType::kIdx) \ |
V(CallRuntime, AccumulatorUse::kWrite, OperandType::kRuntimeId, \ |
OperandType::kMaybeReg, OperandType::kRegCount) \ |
V(CallRuntimeForPair, AccumulatorUse::kNone, OperandType::kRuntimeId, \ |
@@ -595,6 +599,9 @@ class Bytecodes { |
// Returns true if the bytecode is a call or a constructor call. |
static bool IsCallOrNew(Bytecode bytecode); |
+ // Returns true if the bytecode is a tail call. |
+ static bool IsTailCall(Bytecode bytecode); |
+ |
// Returns true if the bytecode is a call to the runtime. |
static bool IsCallRuntime(Bytecode bytecode); |