Chromium Code Reviews| 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 |
|
Jakob Kummerow
2016/02/17 17:45:36
nit: s/Interupt/Interrupt/
rmcilroy
2016/02/18 16:05:56
Done.
|
| + // counter reaches zero. |
| + void UpdateProfilingCount(compiler::Node* weight); |
| + |
| // Returns the offset of register |index| relative to RegisterFilePointer(). |
| compiler::Node* RegisterFrameOffset(compiler::Node* index); |