Index: src/interpreter/interpreter.h |
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h |
index b235f0ae0f9541a22ef575e00336cad23dc38436..345ddd156e4f5d2f00168e7d0b28806352de6c8d 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 shoud be used for the profiler counter. |
+ static int InterruptBudget(); |
+ |
// Generate bytecode for |info|. |
static bool MakeBytecode(CompilationInfo* info); |