|
|
@ -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",
|
|
|
|