private void makeVars() {
SourceInfo info = program.getSourceInfo().makeChild(JsStackEmulator.class,
"Emulated stack data");
JsVar stackVar = new JsVar(info, stack);
stackVar.setInitExpr(new JsArrayLiteral(info));
JsVar stackDepthVar = new JsVar(info, stackDepth);
stackDepthVar.setInitExpr(program.getNumberLiteral(info, -1));
JsVar lineNumbersVar = new JsVar(info, lineNumbers);
lineNumbersVar.setInitExpr(new JsArrayLiteral(info));
JsVars vars;
JsStatement first = program.getGlobalBlock().getStatements().get(0);
if (first instanceof JsVars) {
vars = (JsVars) first;