示例#1
0
文件: Memory.cs 项目: m7nu3l/TinyBCT
 public override StatementList AllocObject(IVariable var, InstructionTranslator instTranslator)
 {
     if (RequiresAllocation(var))
     {
         return(memAddr.AllocObject(var, instTranslator));
     }
     else
     {
         return(memBCT.AllocObject(var, instTranslator));
     }
 }
示例#2
0
文件: Memory.cs 项目: m7nu3l/TinyBCT
 public override StatementList AllocObject(BoogieVariable var)
 {
     // actually should be the same in both models
     return(memAddr.AllocObject(var));
 }