Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index 0d551738cb84185b2bc8b34091a5145162a4f334..a9e72de9f487ae7c2e371edd6b162d95fa63ad8a 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -470,6 +470,11 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::StackCheck(int position) { |
return *this; |
} |
+BytecodeArrayBuilder& BytecodeArrayBuilder::OsrPoll(int loop_depth) { |
+ Output(Bytecode::kOsrPoll, UnsignedOperand(loop_depth)); |
+ return *this; |
+} |
+ |
BytecodeArrayBuilder& BytecodeArrayBuilder::Throw() { |
Output(Bytecode::kThrow); |
return *this; |