tamarin-remove-extra-auto-storage-specifiers
author Benjamin Smedberg <benjamin@smedbergs.us>
Sat, 26 Jul 2008 22:49:39 -0400
changeset 167 a4da40849f5436e629c5732f4368c6c48189637f
parent 149 13eaa3adde4be1d470346a98e7cc7ab6b2ada1c8
permissions -rw-r--r--
State as of now

diff -r ae61246c0f6e js/tamarin/MMgc/GC.h
--- a/js/tamarin/MMgc/GC.h	Thu Jun 19 10:48:25 2008 -0500
+++ b/js/tamarin/MMgc/GC.h	Wed Jul 02 13:25:06 2008 -0700
@@ -73,7 +73,7 @@
 		_size = (uintptr)_gc->GetStackTop() - (uintptr)_stack;
 #else
 #define MMGC_GET_STACK_EXTENTS(_gc, _stack, _size) \
-		volatile auto int save1,save2,save3,save4,save5,save6,save7;\
+		volatile int save1,save2,save3,save4,save5,save6,save7;\
 		asm("movl %%eax,%0" : "=r" (save1));\
 		asm("movl %%ebx,%0" : "=r" (save2));\
 		asm("movl %%ecx,%0" : "=r" (save3));\
@@ -108,7 +108,7 @@ extern "C" void saveRegs64(void* saves, 
 // 64bit - r8-r15?
 #define MMGC_GET_STACK_EXTENTS(_gc, _stack, _size) \
 		do { \
-		volatile auto int64 save1,save2,save3,save4,save5,save6,save7;\
+		volatile int64 save1,save2,save3,save4,save5,save6,save7;\
 		asm("mov %%rax,%0" : "=r" (save1));\
 		asm("mov %%rbx,%0" : "=r" (save2));\
 		asm("mov %%rcx,%0" : "=r" (save3));\