Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
4bd60842
Commit
4bd60842
authored
Mar 09, 2006
by
Christian Würdig
Browse files
removed reset of generic function pointer
parent
b98e0f41
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/scripts/generate_emitter.pl
View file @
4bd60842
...
...
@@ -163,16 +163,9 @@ print OUT<<EOF;
* pointer of an opcode.
*/
void $arch\_register_spec_emitters(void) {
int i;
#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 */
EOF
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment