From 70d2f853107a000a6c0176f8ec847eedb2ef9a72 Mon Sep 17 00:00:00 2001 From: Christian Humer <christian.humer@oracle.com> Date: Wed, 19 Aug 2015 13:38:59 +0200 Subject: [PATCH] Fix bug in IntValueProfile. --- .../com/oracle/truffle/r/nodes/profile/IntValueProfile.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/profile/IntValueProfile.java b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/profile/IntValueProfile.java index f748de4003..26e95f1f55 100644 --- a/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/profile/IntValueProfile.java +++ b/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/profile/IntValueProfile.java @@ -32,8 +32,7 @@ public final class IntValueProfile { private static final byte GENERIC = 2; @CompilationFinal private int cachedValue; - - private byte state = 0; + @CompilationFinal private byte state = 0; private IntValueProfile() { } -- GitLab