1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-26 03:32:23 +00:00

Added missing toString/()

This commit is contained in:
jespergravgaard 2018-02-03 15:46:12 +01:00
parent 623f83a076
commit 085aa9f825
2 changed files with 6 additions and 1 deletions

View File

@ -28,4 +28,9 @@ public class ConstantVarPointer implements ConstantValue {
public String toString(Program program) {
return "&" + toVar.toString(program);
}
@Override
public String toString() {
return toString(null);
}
}

View File

@ -140,7 +140,7 @@ Simple Condition (boolean~) main::$2 if((byte) main::b#1!=(byte/signed byte/word
Succesful SSA optimization Pass2ConditionalJumpSimplification
Constant (const byte*) main::SCREEN#0 = ((byte*))1024
Constant (const byte) main::b#0 = 0
Constant (const byte*) main::bp#0 = dk.camelot64.kickc.model.ConstantVarPointer@655a5d9c
Constant (const byte*) main::bp#0 = &main::b#2
Succesful SSA optimization Pass2ConstantIdentification
OPTIMIZING CONTROL FLOW GRAPH
Inlining constant with var siblings (const byte) main::b#0