mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* yarvcore.h, compile.c, insnhelper.ci, iseq.c, vm.c:
rename structure names and field names. * insnhelper.h, insns.def: add GET_CONST_INLINE_CACHE(). * iseq.c: add rb_iseq_build_for_ruby2cext(). * yarvcore.h, vm.h: move declaration of rb_insn_func_t to yarvcore.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									061cce6d6f
								
							
						
					
					
						commit
						27013e71e4
					
				
					 10 changed files with 102 additions and 56 deletions
				
			
		| 
						 | 
				
			
			@ -96,6 +96,8 @@
 | 
			
		|||
#define GET_GLOBAL(entry)       rb_gvar_get((struct global_entry*)entry)
 | 
			
		||||
#define SET_GLOBAL(entry, val)  rb_gvar_set((struct global_entry*)entry, val)
 | 
			
		||||
 | 
			
		||||
#define GET_CONST_INLINE_CACHE(dst) ((IC) * (GET_PC() + (dst) + 1))
 | 
			
		||||
 | 
			
		||||
/**********************************************************/
 | 
			
		||||
/* deal with values                                       */
 | 
			
		||||
/**********************************************************/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue