Пример #1
0
 public override Storage AllocateStorage(SymbolId name, Type type)
 {
     return(new LocalStorage(_factory.MakeSlot(name, type)));
 }
Пример #2
0
 protected override Slot CreateSlot(SymbolId name, Type type)
 {
     return(new ModuleGlobalSlot(_storage.MakeSlot(name, typeof(ModuleGlobalWrapper))));
 }
Пример #3
0
 public override Storage AllocateStorage(SymbolId name, Type type)
 {
     return(new GlobalFieldStorage(_slotFactory.MakeSlot(name, type)));
 }