broken wip if statement changes

master
Drake 1 year ago
parent 129217fbea
commit a6d9604202

@ -94,26 +94,14 @@ export default function IfStatement(
: ""}`];
prc.count += 7;
const oldPRC = prc;
/*for (
const node of (typedNode.consequent as swc.BlockStatement)
.stmts
) {
ourInsts = ourInsts.concat(
resolveNode(
node,
...resolveNode(
typedNode.consequent,
prc,
variableModificationThings,
variablesTable,
),
);
}*/
BlockStatement(
typedNode.consequent,
variablesTable,
variableModificationThings,
prc,
ourInsts,
);
ourInsts[0] = ourInsts[0].replace(
"TODO",
prc.count.toString(16).padStart(

Loading…
Cancel
Save