Author: Alex Gaynor <[email protected]>
Branch: virtual-dicts
Changeset: r48396:ae6a1aa152ae
Date: 2011-10-24 17:17 -0400
http://bitbucket.org/pypy/pypy/changeset/ae6a1aa152ae/
Log: better error
diff --git a/pypy/jit/metainterp/optimizeopt/virtualize.py
b/pypy/jit/metainterp/optimizeopt/virtualize.py
--- a/pypy/jit/metainterp/optimizeopt/virtualize.py
+++ b/pypy/jit/metainterp/optimizeopt/virtualize.py
@@ -300,6 +300,12 @@
op = ResOperation(rop.SETINTERIORFIELD_GC, [box,
ConstInt(index), subbox], None, descr=descr)
optforce.emit_operation(op)
+ def get_args_for_fail(self, modifier):
+ if self.box is None and not modifier.already_seen_virtual(self.keybox):
+ # Need a way to store data as pairs of (index, descr), not just
+ # descr or index.
+ raise NotImplementedError
+
def force_at_end_of_preamble(self, already_forced, optforce):
if self in already_forced:
return self
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit