Author: Maciej Fijalkowski <[email protected]>
Branch: share-guard-info
Changeset: r79758:0a9f22ba087f
Date: 2015-09-22 11:38 +0200
http://bitbucket.org/pypy/pypy/changeset/0a9f22ba087f/
Log: fix (arigo)
diff --git a/rpython/jit/codewriter/flatten.py
b/rpython/jit/codewriter/flatten.py
--- a/rpython/jit/codewriter/flatten.py
+++ b/rpython/jit/codewriter/flatten.py
@@ -166,7 +166,7 @@
exc_data = self.cpu.rtyper.exceptiondata
ll_ovf = exc_data.get_standard_ll_exc_instance_by_class(
OverflowError)
- c = Constant(ll_ovf, concretetype=lltype.Void)
+ c = Constant(ll_ovf, concretetype=lltype.typeOf(ll_ovf))
self.emitline("raise", c)
else:
self.emitline("reraise")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit