Skip to content

Commit 5c2e01a

Browse files
committed
Fix cast pipeline issue in FastRThrowCompilerError
1 parent 4113f13 commit 5c2e01a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/fastr/FastRThrowCompilerError.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
public class FastRThrowCompilerError extends RBuiltinNode.Arg0 {
3838
private Random random = new Random();
3939

40+
static {
41+
Casts.noCasts(FastRThrowCompilerError.class);
42+
}
43+
4044
@Override
4145
public Object execute(@SuppressWarnings("unused") VirtualFrame frame) {
4246
int value = getRandomValue();

0 commit comments

Comments
 (0)