# HG changeset patch # User Doug Simon # Date 1391118554 -3600 # Node ID fd267819dbdbb38b5d5845ea5512ad995bd94978 # Parent 8053c3ede98436938425da9d4d2b8ea958a418f4 fixed or removed incorrect assertions diff -r 8053c3ede984 -r fd267819dbdb graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotBackend.java --- a/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotBackend.java Thu Jan 30 21:11:38 2014 +0100 +++ b/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotBackend.java Thu Jan 30 22:49:14 2014 +0100 @@ -299,7 +299,11 @@ } else { // No need to emit the stubs for entries back into the method since // it has no calls that can cause such "return" entries - assert !frameMap.accessesCallerFrame() : lirGen.getGraph(); + + if (frameContext.omitFrame) { + // Cannot access slots in caller's frame if my frame is omitted + assert !frameMap.accessesCallerFrame() : lirGen.getGraph(); + } } } } diff -r 8053c3ede984 -r fd267819dbdb graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotBackend.java --- a/graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotBackend.java Thu Jan 30 21:11:38 2014 +0100 +++ b/graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotBackend.java Thu Jan 30 22:49:14 2014 +0100 @@ -219,7 +219,6 @@ } else { // No need to emit the stubs for entries back into the method since // it has no calls that can cause such "return" entries - assert !frameMap.accessesCallerFrame() : lirGen.getGraph(); } if (unverifiedStub != null) {