Skip to content

Commit

Permalink
[fix] Remove TraceActorContextNode reference
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed May 6, 2018
1 parent 6f3c96c commit da8ab94
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/som/interpreter/actors/Actor.java
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,12 @@ private static final class ExecutorRootNode extends RootNode {

private ExecutorRootNode(final SomLanguage language) {
super(language);
tracer = new TraceActorContextNode();
}

@Child private TraceActorContextNode tracer;

@Override
public Object execute(final VirtualFrame frame) {
ExecAllMessages executor = (ExecAllMessages) frame.getArguments()[0];
executor.doRun(tracer);
executor.doRun();
return null;
}
}
Expand Down Expand Up @@ -248,7 +245,7 @@ public void run() {
executorRoot.call(this);
}

void doRun(final TraceActorContextNode tracer) {
void doRun() {
ObjectTransitionSafepoint.INSTANCE.register();

ActorProcessingThread t = (ActorProcessingThread) Thread.currentThread();
Expand Down

0 comments on commit da8ab94

Please sign in to comment.