[pypy-svn] r57681 - pypy/dist/pypy/lang/gameboy

cami at codespeak.net cami at codespeak.net
Fri Aug 29 13:54:54 CEST 2008


Author: cami
Date: Fri Aug 29 13:54:53 2008
New Revision: 57681

Modified:
   pypy/dist/pypy/lang/gameboy/cpu.py
Log:
corrigendum: the last commit was in the wrong svn ;)

removed some useless pass isnstruction from the CallWrappers


Modified: pypy/dist/pypy/lang/gameboy/cpu.py
==============================================================================
--- pypy/dist/pypy/lang/gameboy/cpu.py	(original)
+++ pypy/dist/pypy/lang/gameboy/cpu.py	Fri Aug 29 13:54:53 2008
@@ -941,17 +941,13 @@
 # ------------------------------------------------------------------------------
 
 class CallWrapper(object):   
-    
     def get(self, use_cycles=True):
         raise Exception("called CallWrapper.get")
-        return 0
     
     def set(self, value, use_cycles=True):
         raise Exception("called CallWrapper.set")
-        pass
     
 class NumberCallWrapper(CallWrapper):
-    
     def __init__(self, number):
         self.number = number
     
@@ -960,7 +956,6 @@
     
     def set(self, value, use_cycles=True):
         raise Exception("called CallWrapper.set")
-        pass
         
 class RegisterCallWrapper(CallWrapper): 
     def __init__(self, register):



More information about the Pypy-commit mailing list