[pypy-commit] pypy arm-backend-2: remove tabs from codebase and make test_no_tabs pass

bivab noreply at buildbot.pypy.org
Mon Mar 5 13:42:47 CET 2012


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r53224:b521979ca3bb
Date: 2012-03-05 10:51 +0000
http://bitbucket.org/pypy/pypy/changeset/b521979ca3bb/

Log:	remove tabs from codebase and make test_no_tabs pass

diff --git a/pypy/jit/backend/arm/instructions.py b/pypy/jit/backend/arm/instructions.py
--- a/pypy/jit/backend/arm/instructions.py
+++ b/pypy/jit/backend/arm/instructions.py
@@ -127,7 +127,7 @@
 }
 
 
-# based on encoding from A7.5	VFP data-processing instructions
+# based on encoding from A7.5 VFP data-processing instructions
 # opc2 is one of the parameters and therefore ignored here
 float64_data_proc_instructions = {
     'VADD'  : {'opc1':0x3, 'opc3':0x0},
diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py
--- a/pypy/jit/backend/test/runner_test.py
+++ b/pypy/jit/backend/test/runner_test.py
@@ -1405,9 +1405,9 @@
                                 if test2 == 42 or combinaison[1] == 'b':
                                     args = []
                                     if combinaison[0] == 'b':
-										args.append(test1)
+                                        args.append(test1)
                                     if combinaison[1] == 'b':
-										args.append(test2)
+                                        args.append(test2)
                                     fail = cpu.execute_token(looptoken, *args)
                                     #
                                     expected = compare(test1, test2)
diff --git a/pypy/jit/codewriter/test/test_call.py b/pypy/jit/codewriter/test/test_call.py
--- a/pypy/jit/codewriter/test/test_call.py
+++ b/pypy/jit/codewriter/test/test_call.py
@@ -199,9 +199,9 @@
     try:
         from pypy.rlib._rffi_stacklet import switch, thread_handle, handle
     except CompilationError as e:
-	if "Unsupported platform!" in e.out:
-	    py.test.skip("Unsupported platform!")
-	else:
+        if "Unsupported platform!" in e.out:
+            py.test.skip("Unsupported platform!")
+        else:
             raise e
     @jit.dont_look_inside
     def f():
diff --git a/pypy/rpython/module/ll_os.py b/pypy/rpython/module/ll_os.py
--- a/pypy/rpython/module/ll_os.py
+++ b/pypy/rpython/module/ll_os.py
@@ -202,7 +202,7 @@
 
     def __init__(self):
         self.configure(CConfig)
-	assert self.OFF_T_SIZE == rffi.sizeof(rffi.LONGLONG)
+        assert self.OFF_T_SIZE == rffi.sizeof(rffi.LONGLONG)
 
         if hasattr(os, 'getpgrp'):
             self.GETPGRP_HAVE_ARG = platform.checkcompiles(


More information about the pypy-commit mailing list