Commit 4bd60842 authored by Christian Würdig's avatar Christian Würdig
Browse files

removed reset of generic function pointer

parent b98e0f41
...@@ -163,16 +163,9 @@ print OUT<<EOF; ...@@ -163,16 +163,9 @@ print OUT<<EOF;
* pointer of an opcode. * pointer of an opcode.
*/ */
void $arch\_register_spec_emitters(void) { void $arch\_register_spec_emitters(void) {
int i;
#define BE_EMIT(a) op_$arch\_##a->ops.generic = (op_func)emit_$arch\_##a #define BE_EMIT(a) op_$arch\_##a->ops.generic = (op_func)emit_$arch\_##a
/* first clear all generic operations */
for (i = get_irp_n_opcodes() - 1; i >= 0; --i) {
ir_op *op = get_irp_opcode(i);
op->ops.generic = (op_func)NULL;
}
/* generated emitter functions */ /* generated emitter functions */
EOF EOF
......
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