# HG changeset patch # User Doug Simon # Date 1417085417 -3600 # Node ID c4da2e160178f142dac7245c74c995a728189a67 # Parent 966081b8e8305f33985ea1544b7f21419d8e2baa removed static reference to HotSpotGraalRuntime diff -r 966081b8e830 -r c4da2e160178 graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotSafepointOp.java --- a/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotSafepointOp.java Thu Nov 27 11:45:13 2014 +0100 +++ b/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotSafepointOp.java Thu Nov 27 11:50:17 2014 +0100 @@ -75,7 +75,7 @@ public static void emitCode(CompilationResultBuilder crb, AMD64MacroAssembler asm, HotSpotVMConfig config, boolean atReturn, LIRFrameState state, Register scratch) { assert !atReturn || state == null : "state is unneeded at return"; if (ImmutableCode.getValue()) { - Kind hostWordKind = HotSpotGraalRuntime.getHostWordKind(); + Kind hostWordKind = Kind.Long; int alignment = hostWordKind.getBitCount() / Byte.SIZE; JavaConstant pollingPageAddress = JavaConstant.forIntegerKind(hostWordKind, config.safepointPollingAddress); // This move will be patched to load the safepoint page from a data segment