Author: David Schneider <david.schnei...@picle.org>
Branch: 
Changeset: r62856:47afff488720
Date: 2013-03-28 20:07 +0100
http://bitbucket.org/pypy/pypy/changeset/47afff488720/

Log:    fix

diff --git a/rpython/jit/backend/arm/assembler.py 
b/rpython/jit/backend/arm/assembler.py
--- a/rpython/jit/backend/arm/assembler.py
+++ b/rpython/jit/backend/arm/assembler.py
@@ -66,7 +66,7 @@
         self.datablockwrapper = MachineDataBlockWrapper(self.cpu.asmmemmgr,
                                                         allblocks)
         self.mc.datablockwrapper = self.datablockwrapper
-        self.mc.is_armv6 = self.cpu.backend_name == 'armv6'
+        self.mc.is_armv6 = self.cpu.backend_name.startswith('armv6')
         self.target_tokens_currently_compiling = {}
 
     def teardown(self):
diff --git a/rpython/jit/backend/arm/codebuilder.py 
b/rpython/jit/backend/arm/codebuilder.py
--- a/rpython/jit/backend/arm/codebuilder.py
+++ b/rpython/jit/backend/arm/codebuilder.py
@@ -30,7 +30,7 @@
 class AbstractARMv7Builder(object):
 
     def __init__(self):
-        pass
+        self.is_armv6 = False
 
     def align(self):
         while(self.currpos() % FUNC_ALIGN != 0):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to