Skip to content
Snippets Groups Projects
Commit 5efce351 authored by René Schöne's avatar René Schöne
Browse files

Trace flushing cause by incremental.

parent 770604aa
No related branches found
No related tags found
No related merge requests found
......@@ -287,6 +287,9 @@ $endif
$AttrResetVisit
$AttrResetCache
$(AttrSign)_handler.notifyDependencies();
$if (TraceFlush)
state().trace().flushIncAttr(this, "$AttrSign", "", "");
$endif
$if(!#isASTNodeDecl)
super.reactToDependencyChange(attrID, _parameters);
$endif
......
......@@ -78,7 +78,8 @@ public static class Trace {
// Flag: --tracing=flush
FLUSH_ATTR,
FLUSH_REWRITE,
FLUSH_REWRITE_INIT;
FLUSH_REWRITE_INIT,
INC_FLUSH_ATTR;
}
/**
......@@ -324,6 +325,13 @@ public static class Trace {
public void flushAttr($ASTNode node, String attr, Object params, Object value) {
receiver.accept($StateClass.Trace.Event.FLUSH_ATTR, node, attr, params, value);
}
/**
* Trace that an attribute was flushed by incremental evaluation.
*/
public void flushIncAttr($ASTNode node, String attr, Object params, Object value) {
receiver.accept($StateClass.Trace.Event.INC_FLUSH_ATTR, node, attr, params, value);
}
}
$endif
]]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment