mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
JS: remove unused runtime function
This commit is contained in:
parent
1955973c3b
commit
e877cc86e4
|
@ -1300,7 +1300,7 @@ public class StatementRenderer implements ExprVisitor, StatementVisitor {
|
|||
}
|
||||
writer.append("(");
|
||||
} else {
|
||||
writer.appendFunction("$rt_createArrayFromData").append("(");
|
||||
writer.appendFunction("$rt_wrapArray").append("(");
|
||||
context.typeToClsString(writer, expr.getType());
|
||||
writer.append(",").ws();
|
||||
}
|
||||
|
|
|
@ -20,7 +20,6 @@ let $rt_createArray = (cls, sz) => {
|
|||
data.fill(null);
|
||||
return new ($rt_arraycls(cls))(data);
|
||||
}
|
||||
let $rt_createArrayFromData = (cls, init) => $rt_wrapArray(cls, init);
|
||||
let $rt_wrapArray = (cls, data) => new ($rt_arraycls(cls))(data);
|
||||
let $rt_createUnfilledArray = (cls, sz) => new ($rt_arraycls(cls))(new teavm_globals.Array(sz));
|
||||
let $rt_createLongArray;
|
||||
|
|
Loading…
Reference in New Issue
Block a user