Antonio Cuni  committed e07c123

we cannot move these methods here, else we get an annotation error

  • Participants
  • Parent commits 06b5f49
  • Branches virtual-raw-mallocs

Comments (0)

Files changed (1)

File pypy/jit/metainterp/

                 return self.liveboxes_from_env[box]
             return self.liveboxes[box]
-class WrongVirtualKind(Exception):
-    pass
 class AbstractVirtualInfo(object):
     kind = REF
     #def allocate(self, decoder, index):
     def debug_prints(self):
         raise NotImplementedError
-    # subclasses should override one and only one of these two methods,
-    # depending on the kind
-    def allocate(self, decoder, index):
-        raise WrongVirtualKind
-    def allocate_int(self, decoder, index):
-        raise WrongVirtualKind
 class AbstractVirtualStructInfo(AbstractVirtualInfo):