From 446d18afbbd6e98780b78fa6db4cc823e2e5de51 Mon Sep 17 00:00:00 2001 From: Florian Angerer <florian.angerer@oracle.com> Date: Wed, 13 Dec 2017 14:45:06 +0100 Subject: [PATCH] Add missing 'transferToInterpreterAndInvalidate'. --- .../truffle/r/nodes/access/vector/CachedExtractVectorNode.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/access/vector/CachedExtractVectorNode.java b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/access/vector/CachedExtractVectorNode.java index 7e61a7cf34..381690d720 100644 --- a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/access/vector/CachedExtractVectorNode.java +++ b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/access/vector/CachedExtractVectorNode.java @@ -284,9 +284,11 @@ final class CachedExtractVectorNode extends CachedVectorNode { result = RNull.instance; } else { if (boxOldDimNames == null) { + CompilerDirectives.transferToInterpreterAndInvalidate(); boxOldDimNames = insert(BoxPrimitiveNode.create()); } if (boxNewDimName == null) { + CompilerDirectives.transferToInterpreterAndInvalidate(); boxNewDimName = insert(BoxPrimitiveNode.create()); } RAbstractStringVector originalDimName = (RAbstractStringVector) boxOldDimNames.execute(dataAt); -- GitLab