1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-08-02 09:29:35 +00:00

Removed two synthable fragments

This commit is contained in:
jespergravgaard 2018-01-28 10:25:40 +01:00
parent 4bbddfb5e2
commit b3a1c330a7
4 changed files with 2 additions and 7 deletions

View File

@ -238,7 +238,7 @@ public class AsmFragmentInstanceSpec {
return name;
} else if(value instanceof ConstantValue) {
if(type == null) {
type = SymbolTypeInference.inferType(program.getScope(), (RValue) value);
type = SymbolTypeInference.inferType(program.getScope(), (ConstantValue) value);
}
String name = getTypePrefix(type) + getConstName(value);
bind(name, value);

View File

@ -99,7 +99,7 @@ public class AsmFragmentTemplateUsages {
}
}
if(fileUsage == null) {
throw new RuntimeException("Error! Template file never loaded according to usage stats " + fileName);
log.append("Error! Template file never loaded according to usage stats " + fileName);
}
if(allZero) {
log.append("git mv " + fileName + " unused # Loaded but never used");

View File

@ -1,3 +0,0 @@
stx $ff
ldy $ff
lda ({z1}),y