changeset 21721:1a4c3fdee936

only need a 32-bit move instead of a 64-bit move for stack banging
author Doug Simon <doug.simon@oracle.com>
date Thu, 04 Jun 2015 13:36:56 +0200
parents d915361cc3a1
children 7f3381e97cf7
files graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotBackend.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotBackend.java	Thu Jun 04 13:35:47 2015 +0200
+++ b/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotBackend.java	Thu Jun 04 13:36:56 2015 +0200
@@ -122,7 +122,7 @@
                     }
                     crb.blockComment("[stack overflow check]");
                     int pos = asm.position();
-                    asm.movq(new AMD64Address(rsp, -disp), AMD64.rax);
+                    asm.movl(new AMD64Address(rsp, -disp), AMD64.rax);
                     assert i > 0 || !isVerifiedEntryPoint || asm.position() - pos >= PATCHED_VERIFIED_ENTRY_POINT_INSTRUCTION_SIZE;
                 }
             }