mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Revert "coroutine/arm32/Context.S: save/restore the registers via stack"
This reverts commit 6df1814c08.
It caused a SEGV again:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190626T051707Z.fail.html.gz
			
			
This commit is contained in:
		
							parent
							
								
									6c6bf9ffcb
								
							
						
					
					
						commit
						28eeaed8a9
					
				
					 3 changed files with 4 additions and 8 deletions
				
			
		|  | @ -2272,9 +2272,6 @@ AS_CASE(["$rb_cv_fiber_coroutine"], [yes|''], [ | ||||||
|         [x64-mingw32], [ |         [x64-mingw32], [ | ||||||
|             rb_cv_fiber_coroutine=win64 |             rb_cv_fiber_coroutine=win64 | ||||||
|         ], |         ], | ||||||
|         [armv7*-linux-*], [ |  | ||||||
|             rb_cv_fiber_coroutine=arm32 |  | ||||||
|         ], |  | ||||||
|         [aarch64-linux], [ |         [aarch64-linux], [ | ||||||
|             rb_cv_fiber_coroutine=arm64 |             rb_cv_fiber_coroutine=arm64 | ||||||
|         ], |         ], | ||||||
|  |  | ||||||
|  | @ -9,7 +9,6 @@ | ||||||
| 
 | 
 | ||||||
| .globl coroutine_transfer
 | .globl coroutine_transfer
 | ||||||
| coroutine_transfer: | coroutine_transfer: | ||||||
| 	push {r4-r11,lr} | 	stmia r1!, {r4-r11,sp,lr} | ||||||
| 	str sp, [r0] | 	ldmia r0!, {r4-r11,sp,pc} | ||||||
| 	ldr sp, [r1] | 	bx lr | ||||||
| 	pop {r4-r11,pc} |  | ||||||
|  |  | ||||||
|  | @ -12,7 +12,7 @@ | ||||||
| 
 | 
 | ||||||
| #define COROUTINE __attribute__((noreturn)) void | #define COROUTINE __attribute__((noreturn)) void | ||||||
| 
 | 
 | ||||||
| enum {COROUTINE_REGISTERS = 8}; | enum {COROUTINE_REGISTERS = 9}; | ||||||
| 
 | 
 | ||||||
| struct coroutine_context | struct coroutine_context | ||||||
| { | { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yusuke Endoh
						Yusuke Endoh