broken wip if statement changes

master
Drake 1 year ago
parent 129217fbea
commit a6d9604202

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

Loading…
Cancel
Save