Skip to content
Snippets Groups Projects
Commit 03f1da76 authored by Danilo Ansaloni's avatar Danilo Ansaloni Committed by stepan
Browse files

Revert "try to supply names in LocalReadVariableNode"

This reverts commit d4c432110a690292fd47923572bd46ef7e5b4ca5.
parent 85ab441c
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,6 @@ public final class LocalReadVariableNode extends Node {
private final Object identifier;
private final boolean forceResult;
@CompilationFinal private boolean firstExecution = true;
@CompilationFinal(dimensions = 1) private boolean[] seenValueKinds;
@CompilationFinal private ValueProfile valueProfile;
......@@ -145,13 +144,6 @@ public final class LocalReadVariableNode extends Node {
isPromiseProfile = ConditionProfile.createBinaryProfile();
}
if (isPromiseProfile.profile(result instanceof RPromise)) {
if (firstExecution) {
CompilerDirectives.transferToInterpreterAndInvalidate();
firstExecution = false;
if (identifier instanceof String) {
return ReadVariableNode.evalPromiseSlowPathWithName((String) identifier, frame, (RPromise) result);
}
}
if (promiseHelper == null) {
CompilerDirectives.transferToInterpreterAndInvalidate();
promiseHelper = insert(new PromiseHelperNode());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment