mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* vm_exec.c (DECL_SC_REG): use __clang__.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									609030816b
								
							
						
					
					
						commit
						404ed4f8d4
					
				
					 2 changed files with 6 additions and 2 deletions
				
			
		|  | @ -14,10 +14,10 @@ | |||
| #if VMDEBUG > 0 | ||||
| #define DECL_SC_REG(type, r, reg) register type reg_##r | ||||
| 
 | ||||
| #elif __GNUC__ && __x86_64__ && defined(__asm__) | ||||
| #elif __GNUC__ && __x86_64__ && !__clang__ | ||||
| #define DECL_SC_REG(type, r, reg) register type reg_##r __asm__("r" reg) | ||||
| 
 | ||||
| #elif __GNUC__ && __i386__ && defined(__asm__) | ||||
| #elif __GNUC__ && __i386__ && !__clang__ | ||||
| #define DECL_SC_REG(type, r, reg) register type reg_##r __asm__("e" reg) | ||||
| 
 | ||||
| #else | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 naruse
						naruse