Browse Source

create a new block after call_finally

cache-refactoring
Aleksey Demakov 16 years ago
parent
commit
04da1416d5
  1. 2
      ChangeLog
  2. 4
      jit/jit-insn.c

2
ChangeLog

@ -2,6 +2,8 @@
* jit/jit-block.c (jit_block_get_label): return jit_label_undefined
instead of zero on error.
* jit/jit-insn.c (jit_insn_call_finally): create a new block after
JIT_OP_CALL_FINALLY.
2009-04-24 Michele Tartara <mikyt@users.sourceforge.net>

4
jit/jit-insn.c

@ -7557,7 +7557,9 @@ int jit_insn_call_finally(jit_function_t func, jit_label_t *finally_label)
insn->opcode = (short)JIT_OP_CALL_FINALLY;
insn->flags = JIT_INSN_DEST_IS_LABEL;
insn->dest = (jit_value_t)(*finally_label);
return 1;
/* Create a new block for the following code */
return jit_insn_new_block(func);
}
/*@

Loading…
Cancel
Save