Index: src/interpreter/bytecodes.cc |
diff --git a/src/interpreter/bytecodes.cc b/src/interpreter/bytecodes.cc |
index 825014e465613ecb0073f5511ae333931e481ec2..a7bf65f9c6fb28eeb71946815c861d068052f127 100644 |
--- a/src/interpreter/bytecodes.cc |
+++ b/src/interpreter/bytecodes.cc |
@@ -445,10 +445,18 @@ Bytecode Bytecodes::GetJumpWithoutToBoolean(Bytecode bytecode) { |
// static |
bool Bytecodes::IsCallOrNew(Bytecode bytecode) { |
return bytecode == Bytecode::kCall || bytecode == Bytecode::kTailCall || |
+ bytecode == Bytecode::kCallWithFeedback || |
+ bytecode == Bytecode::kTailCallWithFeedback || |
bytecode == Bytecode::kNew; |
} |
// static |
+bool Bytecodes::IsTailCall(Bytecode bytecode) { |
+ return bytecode == Bytecode::kTailCall || |
+ bytecode == Bytecode::kTailCallWithFeedback; |
+} |
+ |
+// static |
bool Bytecodes::IsCallRuntime(Bytecode bytecode) { |
return bytecode == Bytecode::kCallRuntime || |
bytecode == Bytecode::kCallRuntimeForPair || |