示例#1
0
文件: Memory.cs 项目: m7nu3l/TinyBCT
 public override StatementList CallReadArrayElement(IVariable resultVariable, Expression array, Expression index, InstructionTranslator instructionTranslator)
 {
     if (RequiresAllocation(resultVariable))
     {
         return(memAddr.CallReadArrayElement(resultVariable, array, index, instructionTranslator));
     }
     else
     {
         return(memBCT.CallReadArrayElement(resultVariable, array, index, instructionTranslator));
     }
 }