[pypy-commit] pypy default: Fix

arigo noreply at buildbot.pypy.org
Wed Jul 9 18:34:01 CEST 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r72402:a5013f2a905e
Date: 2014-07-09 18:32 +0200
http://bitbucket.org/pypy/pypy/changeset/a5013f2a905e/

Log:	Fix

diff --git a/rpython/jit/metainterp/virtualref.py b/rpython/jit/metainterp/virtualref.py
--- a/rpython/jit/metainterp/virtualref.py
+++ b/rpython/jit/metainterp/virtualref.py
@@ -1,5 +1,5 @@
 from rpython.rtyper.rmodel import inputconst, log
-from rpython.rtyper.lltypesystem import lltype, llmemory, rclass
+from rpython.rtyper.lltypesystem import lltype, llmemory, rclass, rstr
 from rpython.jit.metainterp import history
 from rpython.jit.metainterp.virtualizable import TOKEN_NONE
 from rpython.jit.metainterp.virtualizable import TOKEN_TRACING_RESCALL
@@ -19,7 +19,7 @@
         self.jit_virtual_ref_vtable = lltype.malloc(rclass.OBJECT_VTABLE,
                                                     zero=True, flavor='raw',
                                                     immortal=True)
-        self.jit_virtual_ref_vtable.name = rclass.alloc_array_name(
+        self.jit_virtual_ref_vtable.name = rstr.string_repr.convert_const(
             'jit_virtual_ref')
         # build some constants
         adr = llmemory.cast_ptr_to_adr(self.jit_virtual_ref_vtable)


More information about the pypy-commit mailing list