wrong length for call operation
This commit is contained in:
		
							parent
							
								
									2126f5b453
								
							
						
					
					
						commit
						237e8c26a6
					
				| 
						 | 
				
			
			@ -1039,7 +1039,7 @@ codegen(codegen_state *state, pic_value obj)
 | 
			
		|||
      codegen(state, pic_car(pic, obj));
 | 
			
		||||
    }
 | 
			
		||||
    cxt->code[cxt->clen].insn = (sym == state->sCALL) ? OP_CALL : OP_TAILCALL;
 | 
			
		||||
    cxt->code[cxt->clen].u.i = len;
 | 
			
		||||
    cxt->code[cxt->clen].u.i = len - 1;
 | 
			
		||||
    cxt->clen++;
 | 
			
		||||
    return;
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue