Mercurial > hg > truffle
comparison graal/com.oracle.max.asm/src/com/oracle/max/asm/AbstractAssembler.java @ 4522:cf13124efdd9
Restructure phi functions in LIR; Re-enabled C1Visualizer output
author | Christian Wimmer <Christian.Wimmer@Oracle.com> |
---|---|
date | Wed, 08 Feb 2012 15:35:21 -0800 |
parents | aaac4894175c |
children | efbb1e33e2f3 |
comparison
equal
deleted
inserted
replaced
4521:333896b40999 | 4522:cf13124efdd9 |
---|---|
46 assert !l.isBound() : "can bind label only once"; | 46 assert !l.isBound() : "can bind label only once"; |
47 l.bind(codeBuffer.position()); | 47 l.bind(codeBuffer.position()); |
48 l.patchInstructions(this); | 48 l.patchInstructions(this); |
49 } | 49 } |
50 | 50 |
51 public abstract void align(int modulus); | |
52 | |
53 public abstract void jmp(Label l); | |
54 | |
51 protected abstract void patchJumpTarget(int branch, int jumpTarget); | 55 protected abstract void patchJumpTarget(int branch, int jumpTarget); |
52 | 56 |
53 protected final void emitByte(int x) { | 57 protected final void emitByte(int x) { |
54 codeBuffer.emitByte(x); | 58 codeBuffer.emitByte(x); |
55 } | 59 } |