[pypy-commit] pypy value-classes: Kill dead rop function

sbauman pypy.commits at gmail.com
Mon Sep 26 16:42:44 EDT 2016


Author: Spenser Bauman <sabauma at gmail.com>
Branch: value-classes
Changeset: r87405:da2ccb17ee1d
Date: 2016-09-26 16:24 -0400
http://bitbucket.org/pypy/pypy/changeset/da2ccb17ee1d/

Log:	Kill dead rop function

diff --git a/rpython/jit/metainterp/resoperation.py b/rpython/jit/metainterp/resoperation.py
--- a/rpython/jit/metainterp/resoperation.py
+++ b/rpython/jit/metainterp/resoperation.py
@@ -1265,14 +1265,6 @@
         return rop.CALL_LOOPINVARIANT_N
 
     @staticmethod
-    def getfield_pure_for_descr(descr):
-        if descr.is_pointer_field():
-            return rop.GETFIELD_GC_PURE_R
-        elif descr.is_float_field():
-            return rop.GETFIELD_GC_PURE_F
-        return rop.GETFIELD_GC_PURE_I
-
-    @staticmethod
     def getfield_for_descr(descr):
         if descr.is_pointer_field():
             return rop.GETFIELD_GC_R


More information about the pypy-commit mailing list