[pypy-svn] pypy jit-virtual_state: more senseble default
hakanardo
commits-noreply at bitbucket.org
Sun Feb 6 17:18:08 CET 2011
Author: Hakan Ardo <hakan at debian.org>
Branch: jit-virtual_state
Changeset: r41658:ef472960ecc1
Date: 2011-02-06 15:14 +0100
http://bitbucket.org/pypy/pypy/changeset/ef472960ecc1/
Log: more senseble default
diff --git a/pypy/jit/metainterp/resume.py b/pypy/jit/metainterp/resume.py
--- a/pypy/jit/metainterp/resume.py
+++ b/pypy/jit/metainterp/resume.py
@@ -444,7 +444,7 @@
self._generate_guards(other, box, cpu, extra_guards)
def _generate_guards(self, other, box, cpu, extra_guards):
- raise NotImplementedError
+ raise InvalidLoop
class AbstractVirtualStructInfo(AbstractVirtualInfo):
def __init__(self, fielddescrs):
@@ -482,10 +482,6 @@
def _generalization_of(self, other):
raise NotImplementedError
- def _generate_guards(self, other, box, cpu, extra_guards):
- raise InvalidLoop
-
-
class VirtualInfo(AbstractVirtualStructInfo):
def __init__(self, known_class, fielddescrs):
More information about the Pypy-commit
mailing list