Mercurial > lcfOS
diff python/codegenarm.py @ 243:ef683881c64e
Remove various files
author | Windel Bouwman |
---|---|
date | Tue, 23 Jul 2013 16:50:02 +0200 |
parents | 6259856841a0 |
children | e41e4109addd |
line wrap: on
line diff
--- a/python/codegenarm.py Mon Jul 22 22:56:51 2013 +0200 +++ b/python/codegenarm.py Tue Jul 23 16:50:02 2013 +0200 @@ -88,7 +88,6 @@ self.imms.append((lname, ins.value)) self.emit(arm.str_sprel(arm.r0, arm.MemSpRel(self.addStack(ins.target)))) elif type(ins) is ir.Store: - print('STORE', ins, self.localVars) # Load value in r0: self.loadStack(arm.r0, ins.value) # store in memory: @@ -96,7 +95,7 @@ #self.getGlobal(arm.r1, ins.location) # Horrible hack with localVars if ins.location in self.localVars: - print('local', ins.location) + # The value was alloc'ed self.emit(arm.str_sprel(arm.r0, arm.MemSpRel(self.getStack(ins.location)))) else: self.loadStack(arm.r1, ins.location)