Skip to content
Snippets Groups Projects
Commit 3b7c7b1a authored by Adam Welc's avatar Adam Welc
Browse files

Fixed performance regression for vector update operations.

parent ff75637c
Branches
No related tags found
No related merge requests found
......@@ -448,7 +448,7 @@ public final class RTruffleVisitor extends BasicVisitor<RNode> {
CoerceVector coerceVector = CoerceVectorNodeGen.create(null, null, null);
RNode updateOp = createPositions(a.getArguments(), argLength, a.isSubset(), null, tmpVarAccess, rhsAccess, coerceVector, true);
RNode assignFromTemp = WriteVariableNode.create(vSymbol, updateOp, false, isSuper);
RNode assignFromTemp = WriteVariableNode.create(vSymbol, updateOp, false, isSuper, WriteVariableNode.Mode.INVISIBLE);
return constructReplacementSuffix(seq, assignFromTemp, tmpSymbol, rhsSymbol, source);
} else if (a.getVector() instanceof AccessVector) {
// assign value to the outermost dimension and then the result (recursively) to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment