Commit 5cc83521 authored by Christian Würdig's avatar Christian Würdig
Browse files

reset all generic function pointer before registering the emitter functions

parent 4bd60842
......@@ -809,6 +809,9 @@ void ia32_register_emitters(void) {
#define EMIT(a) op_##a->ops.generic = (op_func)emit_##a
#define BE_EMIT(a) op_be_##a->ops.generic = (op_func)emit_be_##a
/* first clear the generic function pointer for all ops */
clear_irp_opcodes_generic_func();
/* register all emitter functions defined in spec */
ia32_register_spec_emitters();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment