comparison graal/com.oracle.max.asm/src/com/oracle/max/asm/AbstractAssembler.java @ 5233:efbb1e33e2f3

removed XIR prologue and epilogues - architecture and runtime specific subclass of Backend is now used instead removed XIR ops: Align, StackOverflowCheck, PushFrame, PopFrame, RawBytes enhanced disassembly to annotate marks
author Doug Simon <doug.simon@oracle.com>
date Thu, 12 Apr 2012 15:55:03 +0200
parents cf13124efdd9
children 426c605c9d3c
comparison
equal deleted inserted replaced
5232:c005ca943790 5233:efbb1e33e2f3
52 52
53 public abstract void jmp(Label l); 53 public abstract void jmp(Label l);
54 54
55 protected abstract void patchJumpTarget(int branch, int jumpTarget); 55 protected abstract void patchJumpTarget(int branch, int jumpTarget);
56 56
57 /**
58 * Emits instruction(s) that access an address specified by a given displacement from the stack pointer
59 * in the direction that the stack grows (which is down on most architectures).
60 *
61 * @param disp the displacement from the stack pointer at which the stack should be accessed
62 */
63 public abstract void bangStack(int disp);
64
57 protected final void emitByte(int x) { 65 protected final void emitByte(int x) {
58 codeBuffer.emitByte(x); 66 codeBuffer.emitByte(x);
59 } 67 }
60 68
61 protected final void emitShort(int x) { 69 protected final void emitShort(int x) {