# HG changeset patch # User Christos Kotselidis # Date 1372108224 -7200 # Node ID 45788e918443bf07a79f769772184bf1ae7c80a5 # Parent 499f21a3bb8141111a86d1b9f03e52beaf895e66 Code cleanup diff -r 499f21a3bb81 -r 45788e918443 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewInstanceStub.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewInstanceStub.java Mon Jun 24 16:55:52 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewInstanceStub.java Mon Jun 24 23:10:24 2013 +0200 @@ -123,7 +123,7 @@ static Word refillAllocate(Word intArrayHub, int sizeInBytes, boolean log) { // If G1 is enabled, the "eden" allocation space is not the same always // and therefore we have to go to slowpath to allocate a new TLAB. - if (HotSpotReplacementsUtil.useG1GC()) { + if (useG1GC()) { return Word.zero(); } if (!useTLAB()) {