[pypy-commit] pypy optresult: arbitrary fix

fijal noreply at buildbot.pypy.org
Wed Jun 3 17:54:11 CEST 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: optresult
Changeset: r77832:8d7cc7c22303
Date: 2015-06-03 17:54 +0200
http://bitbucket.org/pypy/pypy/changeset/8d7cc7c22303/

Log:	arbitrary fix

diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/jit/metainterp/pyjitpl.py
--- a/rpython/jit/metainterp/pyjitpl.py
+++ b/rpython/jit/metainterp/pyjitpl.py
@@ -2845,7 +2845,6 @@
             self.virtualizable_boxes.append(virtualizable_box)
 
     def gen_store_back_in_vable(self, box):
-        raise Exception("untested")
         vinfo = self.jitdriver_sd.virtualizable_info
         if vinfo is not None:
             # xxx only write back the fields really modified
@@ -2877,7 +2876,8 @@
             assert i + 1 == len(self.virtualizable_boxes)
             # we're during tracing, so we should not execute it
             self.history.record(rop.SETFIELD_GC, [vbox, self.cpu.ts.CONST_NULL],
-                                None, descr=vinfo.vable_token_descr)
+                                self.cpu.ts.CONST_NULL.getref_base(),
+                                descr=vinfo.vable_token_descr)
 
     def replace_box(self, oldbox, newbox):
         for frame in self.framestack:


More information about the pypy-commit mailing list