s.addInstr(new CopyInstr(tmpVar, new StringLiteral("constant")));
s.addInstr(new LabelInstr(doneLabel));
return tmpVar;
}
case GLOBALVARNODE:
return buildDefinitionCheck(s, new GlobalIsDefinedInstr(s.getNewTemporaryVariable(), new StringLiteral(((GlobalVarNode) node).getName())), "global-variable");
case INSTVARNODE:
return buildDefinitionCheck(s, new HasInstanceVarInstr(s.getNewTemporaryVariable(), getSelf(s), new StringLiteral(((InstVarNode) node).getName())), "instance-variable");
case YIELDNODE:
return buildDefinitionCheck(s, new BlockGivenInstr(s.getNewTemporaryVariable()), "yield");
case BACKREFNODE: