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

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

Issue 2574353002: [turbofan] Added --csa-trap-on-node option that helps debugging graph verification issues. (Closed)
Patch Set: Created 4 years 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 | « src/code-stub-assembler.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/code-assembler.h
diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h
index bce758f1c9e20491a172b04deb35b261fb130c40..db02c30b65277842aee6e764caf3e9c45a43f869 100644
--- a/src/compiler/code-assembler.h
+++ b/src/compiler/code-assembler.h
@@ -455,6 +455,8 @@ class V8_EXPORT_PRIVATE CodeAssembler {
CodeAssemblerState* state() { return state_; }
+ void BreakOnNode(int node_id);
+
protected:
// Enables subclasses to perform operations before and after a call.
virtual void CallPrologue();
@@ -464,6 +466,8 @@ class V8_EXPORT_PRIVATE CodeAssembler {
Node* CallN(CallDescriptor* descriptor, Node* code_target, Node** args);
Node* TailCallN(CallDescriptor* descriptor, Node* code_target, Node** args);
+ void InstallBreakOnNodeDecorator();
+
RawMachineAssembler* raw_assembler() const;
CodeAssemblerState* state_;
@@ -546,6 +550,8 @@ class V8_EXPORT_PRIVATE CodeAssemblerState {
~CodeAssemblerState();
+ const char* name() const { return name_; }
+
private:
friend class CodeAssembler;
friend class CodeAssemblerLabel;
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698