Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 6c9a9e66bf6b10134a2ae09dc6254042003b6c56..1d64f08100550e9a5abf1409941be2edf7c7253a 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3880,6 +3880,14 @@ void BytecodeArray::set_parameter_count(int number_of_parameters) { |
(number_of_parameters << kPointerSizeLog2)); |
} |
+int BytecodeArray::interrupt_budget() const { |
+ return READ_INT_FIELD(this, kInterruptBudgetOffset); |
+} |
+ |
+void BytecodeArray::set_interrupt_budget(int interrupt_budget) { |
+ DCHECK_GE(interrupt_budget, 0); |
+ WRITE_INT_FIELD(this, kInterruptBudgetOffset, interrupt_budget); |
+} |
int BytecodeArray::parameter_count() const { |
// Parameter count is stored as the size on stack of the parameters to allow |