Index: src/interpreter/bytecodes.cc |
diff --git a/src/interpreter/bytecodes.cc b/src/interpreter/bytecodes.cc |
index c3b17c7b10573f4712d5377258212d381f66dd28..5f7a9085aec33bdba04bcd4764a8cfac73a6e667 100644 |
--- a/src/interpreter/bytecodes.cc |
+++ b/src/interpreter/bytecodes.cc |
@@ -283,6 +283,14 @@ bool Bytecodes::IsCallOrNew(Bytecode bytecode) { |
} |
// static |
+bool Bytecodes::IsCallRuntime(Bytecode bytecode) { |
+ return bytecode == Bytecode::kCallRuntime || |
+ bytecode == Bytecode::kCallRuntimeWide || |
+ bytecode == Bytecode::kCallRuntimeForPair || |
+ bytecode == Bytecode::kCallRuntimeForPairWide; |
+} |
+ |
+// static |
bool Bytecodes::IsDebugBreak(Bytecode bytecode) { |
switch (bytecode) { |
#define CASE(Name, ...) case Bytecode::k##Name: |