# HG changeset patch # User Josef Eisl # Date 1427705863 -7200 # Node ID bd3246bc0aaacf056db6bef33fcda6b585e57c63 # Parent 32e2857bb2bb17bada1b08d6202d29a5fe7955fe AMD64HotSpotLIRGenerator.RescueSlotDummyOp: add javadoc. diff -r 32e2857bb2bb -r bd3246bc0aaa graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotLIRGenerator.java --- a/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotLIRGenerator.java Mon Mar 30 10:47:08 2015 +0200 +++ b/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotLIRGenerator.java Mon Mar 30 10:57:43 2015 +0200 @@ -122,6 +122,11 @@ SaveRbp saveRbp; + /** + * Helper instruction to reserve a stack slot for the whole method. Note that the actual users + * of the stack slot might be inserted after stack slot allocation. This dummy instruction + * ensures that the stack slot is alive and gets a real stack slot assigned. + */ private static final class RescueSlotDummyOp extends LIRInstruction { public static final LIRInstructionClass TYPE = LIRInstructionClass.create(RescueSlotDummyOp.class);