Index: src/interpreter/interpreter-assembler.h |
diff --git a/src/interpreter/interpreter-assembler.h b/src/interpreter/interpreter-assembler.h |
index 4783fef2c7cea76dd71459223b963ef4a2eb928e..4c932c1912a5a7eacf0a8b87ce492a556e429354 100644 |
--- a/src/interpreter/interpreter-assembler.h |
+++ b/src/interpreter/interpreter-assembler.h |
@@ -155,6 +155,10 @@ class InterpreterAssembler : public compiler::CodeStubAssembler { |
// Traces the current bytecode by calling |function_id|. |
void TraceBytecode(Runtime::FunctionId function_id); |
+ // Updates the profiling counter by |weight| and calls InteruptCheck if |
Michael Starzinger
2016/02/18 17:55:26
nit: s/InteruptCheck/Runtime_Interrupt/ ... or Run
rmcilroy
2016/02/19 12:32:32
Done.
|
+ // counter reaches zero. |
+ void UpdateProfilingCount(compiler::Node* weight); |
+ |
// Returns the offset of register |index| relative to RegisterFilePointer(). |
compiler::Node* RegisterFrameOffset(compiler::Node* index); |