graal/com.oracle.graal.asm/src/com/oracle/graal/asm/Label.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
graal-hsail Cdiff graal/com.oracle.graal.asm/src/com/oracle/graal/asm/Label.java
graal/com.oracle.graal.asm/src/com/oracle/graal/asm/Label.java
Print this page
*** 64,74 ****
public boolean isBound() {
return position >= 0;
}
public void addPatchAt(int branchLocation) {
! assert !isBound() : "Label is already bound";
patchPositions.add(branchLocation);
}
protected void patchInstructions(AbstractAssembler masm) {
assert isBound() : "Label should be bound";
--- 64,74 ----
public boolean isBound() {
return position >= 0;
}
public void addPatchAt(int branchLocation) {
! assert !isBound() : "Label is already bound " + this + " " + branchLocation + " at position " + position;
patchPositions.add(branchLocation);
}
protected void patchInstructions(AbstractAssembler masm) {
assert isBound() : "Label should be bound";
graal/com.oracle.graal.asm/src/com/oracle/graal/asm/Label.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File