Index: src/interpreter/interpreter.h |
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h |
index 5fd1fa33a398d1311a65d83bf9452b2d8a39a16d..82c70a9dffe9a708167c354592a0e50930af2080 100644 |
--- a/src/interpreter/interpreter.h |
+++ b/src/interpreter/interpreter.h |
@@ -33,6 +33,9 @@ class Interpreter { |
// Initializes the interpreter dispatch table. |
void Initialize(); |
+ // Returns the interrupt budget which should be used for the profiler counter. |
+ static int InterruptBudget(); |
+ |
// Generate bytecode for |info|. |
static bool MakeBytecode(CompilationInfo* info); |