Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jitted block body wouldn't return the correct (set) eval-type
Browse files Browse the repository at this point in the history
kares committed Mar 14, 2017
1 parent a4e148d commit 328b3d0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -40,8 +40,8 @@ public MixedModeIRBlockBody(IRClosure closure, Signature signature) {

@Override
public void setEvalType(EvalType evalType) {
if (jittedBody == null) super.setEvalType(evalType);
else jittedBody.setEvalType(evalType);
super.setEvalType(evalType); // so that getEvalType is correct
if (jittedBody != null) jittedBody.setEvalType(evalType);
}

@Override

0 comments on commit 328b3d0

Please sign in to comment.