[pypy-commit] pypy portable-threadlocal: Use tabs here (very old function)

arigo noreply at buildbot.pypy.org
Sat Nov 22 19:18:24 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: portable-threadlocal
Changeset: r74637:d747e002d8cb
Date: 2014-11-22 19:16 +0100
http://bitbucket.org/pypy/pypy/changeset/d747e002d8cb/

Log:	Use tabs here (very old function)

diff --git a/rpython/translator/c/src/stack.c b/rpython/translator/c/src/stack.c
--- a/rpython/translator/c/src/stack.c
+++ b/rpython/translator/c/src/stack.c
@@ -21,8 +21,8 @@
 {
 	long diff, max_stack_size;
 	char *baseptr, *curptr = (char*)current;
-        char *tl;
-        struct pypy_threadlocal_s *tl1;
+	char *tl;
+	struct pypy_threadlocal_s *tl1;
 
 	/* The stack_end variable is updated to match the current value
 	   if it is still 0 or if we later find a 'curptr' position
@@ -30,8 +30,8 @@
 	   thread-local storage, but we try to minimize its overhead by
 	   keeping a local copy in _LLstacktoobig_stack_end. */
 
-        OP_THREADLOCALREF_ADDR(tl);
-        tl1 = (struct pypy_threadlocal_s *)tl;
+	OP_THREADLOCALREF_ADDR(tl);
+	tl1 = (struct pypy_threadlocal_s *)tl;
 	baseptr = tl1->stack_end;
 	max_stack_size = _LLstacktoobig_stack_length;
 	if (baseptr == NULL) {
@@ -55,7 +55,7 @@
 
 	/* update the stack base pointer to the current value */
 	baseptr = curptr;
-        tl1->stack_end = baseptr;
+	tl1->stack_end = baseptr;
 	_LLstacktoobig_stack_end = baseptr;
 	return 0;
 }


More information about the pypy-commit mailing list