Mercurial > hg > truffle
changeset 5253:e8e1278101d9
stack overflow check is now commented in disassembly
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 19 Apr 2012 22:41:02 +0200 |
parents | 1a9a048386d6 |
children | 9c2b6cc9de45 |
files | graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/target/Backend.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/target/Backend.java Thu Apr 19 16:26:16 2012 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/target/Backend.java Thu Apr 19 22:41:02 2012 +0200 @@ -80,7 +80,7 @@ /** * Emits code to do stack overflow checking. - * + * * @param afterFrameInit specifies if the stack pointer has already been adjusted to allocate the current frame */ protected static void emitStackOverflowCheck(TargetMethodAssembler tasm, boolean afterFrameInit) { @@ -94,6 +94,7 @@ if (afterFrameInit) { disp -= frameSize; } + tasm.blockComment("[stack overflow check]"); tasm.asm.bangStack(disp); } }