comparison graal/com.oracle.max.asm/src/com/oracle/max/asm/AbstractAssembler.java @ 4142:bc8527f3071c

Adjust code base to new level of warnings.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sun, 18 Dec 2011 05:24:06 +0100
parents e233f5660da4
children aaac4894175c
comparison
equal deleted inserted replaced
4141:04d21be7a24f 4142:bc8527f3071c
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 protected abstract void patchJumpTarget(int branch, int target); 51 protected abstract void patchJumpTarget(int branch, int jumpTarget);
52 52
53 protected final void emitByte(int x) { 53 protected final void emitByte(int x) {
54 codeBuffer.emitByte(x); 54 codeBuffer.emitByte(x);
55 } 55 }
56 56