Example #1
0
 public void Visit(ASTNode_GetVar node)
 {
     if (node.address is FreeAddress)
     {
         BodyFreeAddresses.Add((FreeAddress)node.address);
     }
 }
 public void Visit(ASTNode_GetVar node)
 {
     if (node.address is GlobalAddress)
     {
         JITInterpreter_DS.Instance().EmitLoadGlobal(mILGenerator, (GlobalAddress)node.address);
     }
     else if (node.address is LocalAddress)
     {
         EmitLoadLocal((LocalAddress)node.address);
     }
     else
     {
         EmitLoadFree((FreeAddress)node.address);
     }
 }
Example #3
0
 public void Visit(ASTNode_GetVar node)
 {
     Value = Env.GetVar(mEnv, node.address);
 }
 public void Visit(ASTNode_GetVar node)
 {
     Value = Env.GetVar(mEnv, node.address);
 }
 public void Visit(ASTNode_GetVar node)
 {
     if (node.address is GlobalAddress) {
         JITInterpreter_DS2.Instance().EmitLoadGlobal(mILGenerator, (GlobalAddress)node.address);
     } else if (node.address is LocalAddress) {
         EmitLoadLocal((LocalAddress)node.address);
     } else {
         EmitLoadFree((FreeAddress)node.address);
     }
 }
Example #6
0
 public void Visit(ASTNode_GetVar node)
 {
     if (node.address is FreeAddress) {
         BodyFreeAddresses.Add((FreeAddress)node.address);
     }
 }