mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Add handling for new bytecode optimizations.
This commit is contained in:
		| @@ -977,7 +977,8 @@ JanetFuncDef *janetc_pop_funcdef(JanetCompiler *c) { | |||||||
|             } else { |             } else { | ||||||
|                 jsm.death_pc = pair.death_pc - scope->bytecode_start; |                 jsm.death_pc = pair.death_pc - scope->bytecode_start; | ||||||
|             } |             } | ||||||
|             jsm.birth_pc = pair.birth_pc - scope->bytecode_start; |             /* Handle birth_pc == 0 correctly */ | ||||||
|  |             jsm.birth_pc = pair.birth_pc ? pair.birth_pc - scope->bytecode_start : 0; | ||||||
|             jsm.slot_index = pair.slot.index; |             jsm.slot_index = pair.slot.index; | ||||||
|             jsm.symbol = pair.sym2; |             jsm.symbol = pair.sym2; | ||||||
|             janet_v_push(locals, jsm); |             janet_v_push(locals, jsm); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose