Index: src/interpreter/interpreter-assembler.h |
diff --git a/src/interpreter/interpreter-assembler.h b/src/interpreter/interpreter-assembler.h |
index 6a65eb51ba9ab078be8db420aefc4d4f796dc303..a1604c524037bdaff2426ad334dead56970c0ffb 100644 |
--- a/src/interpreter/interpreter-assembler.h |
+++ b/src/interpreter/interpreter-assembler.h |
@@ -156,6 +156,10 @@ class InterpreterAssembler : public compiler::CodeStubAssembler { |
// Traces the current bytecode by calling |function_id|. |
void TraceBytecode(Runtime::FunctionId function_id); |
+ // Updates the bytecode array's interrupt budget by |weight| and calls |
+ // Runtime::kInterrupt if counter reaches zero. |
+ void UpdateInterruptBudget(compiler::Node* weight); |
+ |
// Returns the offset of register |index| relative to RegisterFilePointer(). |
compiler::Node* RegisterFrameOffset(compiler::Node* index); |