[pypy-commit] pypy jit-tagged-2: Remove an apparently-superflous cast_opaque_ptr here.
arigo
noreply at buildbot.pypy.org
Fri Oct 14 18:06:57 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
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:
More information about the pypy-commit
mailing list