Example #1
0
 public void Load(EmitContext ec)
 {
     if (expr is VariableReference)
     {
         expr.Emit(ec);
     }
     else
     {
         LocalVariable.Emit(ec);
     }
 }
Example #2
0
 public void Load(EmitContext ec)
 {
     if (temp_field != null)
     {
         temp_field.Emit(ec);
     }
     else if (expr is VariableReference)
     {
         expr.Emit(ec);
     }
     else
     {
         LocalVariable.Emit(ec);
     }
 }