Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: src/interpreter/interpreter-assembler.h

Issue 1707693003: [Interpreter] Enable runtime profiler support for Ignition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add test and modify comment. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698