Author: Maciej Fijalkowski <[email protected]>
Branch: optresult-unroll
Changeset: r79503:81ec61519eeb
Date: 2015-09-07 12:36 +0200
http://bitbucket.org/pypy/pypy/changeset/81ec61519eeb/
Log: remove cast_opaque_ptr
diff --git a/rpython/jit/codewriter/jtransform.py
b/rpython/jit/codewriter/jtransform.py
--- a/rpython/jit/codewriter/jtransform.py
+++ b/rpython/jit/codewriter/jtransform.py
@@ -1106,6 +1106,10 @@
if self._is_gc(op.args[0]):
return op
+ def rewrite_op_cast_opaque_ptr(self, op):
+ # None causes the result of this op to get aliased to op.args[0]
+ return None
+
def rewrite_op_force_cast(self, op):
v_arg = op.args[0]
v_result = op.result
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit