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

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

Issue 1640213002: [Interpreter] Add option to trace bytecode execution. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compile error Created 4 years, 11 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
« no previous file with comments | « no previous file | src/compiler/interpreter-assembler.cc » ('j') | src/interpreter/interpreter.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/interpreter-assembler.h
diff --git a/src/compiler/interpreter-assembler.h b/src/compiler/interpreter-assembler.h
index fb79d3eaa2ff2a506faf3cb3cbd2e6f91b767b74..5e40a071aecd74c51ad154dffa71129c168c6e5d 100644
--- a/src/compiler/interpreter-assembler.h
+++ b/src/compiler/interpreter-assembler.h
@@ -138,6 +138,8 @@ class InterpreterAssembler {
Node* CallRuntime(Runtime::FunctionId function_id, Node* arg1);
Node* CallRuntime(Runtime::FunctionId function_id, Node* arg1, Node* arg2);
Node* CallRuntime(Runtime::FunctionId function_id, Node* arg1, Node* arg2,
+ Node* arg3);
+ Node* CallRuntime(Runtime::FunctionId function_id, Node* arg1, Node* arg2,
Node* arg3, Node* arg4);
// Jump relative to the current bytecode by |jump_offset|.
@@ -178,6 +180,9 @@ class InterpreterAssembler {
void CallPrologue();
void CallEpilogue();
Michael Starzinger 2016/01/28 12:32:26 nit: Also the declaration of CallEpilogue can be d
rmcilroy 2016/01/28 16:39:51 Done.
+ // Traces the current bytecode by calling |function_id|.
+ void TraceBytecode(Runtime::FunctionId function_id);
+
// Returns the offset of register |index| relative to RegisterFilePointer().
Node* RegisterFrameOffset(Node* index);
« no previous file with comments | « no previous file | src/compiler/interpreter-assembler.cc » ('j') | src/interpreter/interpreter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698