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
5cc83521
Commit
5cc83521
authored
Mar 09, 2006
by
Christian Würdig
Browse files
reset all generic function pointer before registering the emitter functions
parent
4bd60842
Changes
1
Show whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
5cc83521
...
...
@@ -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
();
...
...
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