Author: Armin Rigo <[email protected]>
Branch: jit-tagged-2
Changeset: r48060:839eed159d0a
Date: 2011-10-14 17:54 +0200
http://bitbucket.org/pypy/pypy/changeset/839eed159d0a/
Log: Remove an apparently-superflous cast_opaque_ptr here.
diff --git a/pypy/rlib/rerased.py b/pypy/rlib/rerased.py
--- a/pypy/rlib/rerased.py
+++ b/pypy/rlib/rerased.py
@@ -224,9 +224,7 @@
resulttype = lltype.Signed)
v_instance = hop.genop('cast_int_to_ptr', [v2p1],
resulttype=self.lowleveltype)
- v = hop.genop('cast_opaque_ptr', [v_instance],
- resulttype=self.lowleveltype)
- return v
+ return v_instance
def convert_const(self, value):
if value._identity is _identity_for_ints:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit