[pypy-svn] r47262 - pypy/branch/kill-keepalives-again/pypy/translator/c

cfbolz at codespeak.net cfbolz at codespeak.net
Sun Oct 7 13:57:59 CEST 2007


Author: cfbolz
Date: Sun Oct  7 13:57:59 2007
New Revision: 47262

Modified:
   pypy/branch/kill-keepalives-again/pypy/translator/c/funcgen.py
Log:
don't support the non-bare versions of get*. The GC transformer should have
removed them already.


Modified: pypy/branch/kill-keepalives-again/pypy/translator/c/funcgen.py
==============================================================================
--- pypy/branch/kill-keepalives-again/pypy/translator/c/funcgen.py	(original)
+++ pypy/branch/kill-keepalives-again/pypy/translator/c/funcgen.py	Sun Oct  7 13:57:59 2007
@@ -441,7 +441,7 @@
                                                      op.args[1].value)
         return self.generic_get(op, expr)
 
-    def OP_SETFIELD(self, op):
+    def OP_BARE_SETFIELD(self, op):
         assert isinstance(op.args[1], Constant)
         STRUCT = self.lltypemap(op.args[0]).TO
         structdef = self.db.gettypedefnode(STRUCT)
@@ -449,8 +449,6 @@
                                          op.args[1].value)
         return self.generic_set(op, expr)
 
-    OP_BARE_SETFIELD = OP_SETFIELD
-
     def OP_GETSUBSTRUCT(self, op):
         RESULT = self.lltypemap(op.result).TO
         if isinstance(RESULT, FixedSizeArray):
@@ -522,7 +520,6 @@
 
     def OP_BARE_SETINTERIORFIELD(self, op):
         return self.generic_set(op, self.interior_expr(op.args[:-1]))
-    OP_SETINTERIORFIELD = OP_BARE_SETINTERIORFIELD
 
     def OP_GETINTERIORARRAYSIZE(self, op):
         expr, ARRAY = self.interior_expr(op.args, True)



More information about the Pypy-commit mailing list