- if (is_ia32_irn(node) && get_ia32_exc_label(node)) {
- /* emit the exception label of this instruction */
- ia32_assign_exc_label(node);
+ if (is_ia32_irn(node)) {
+ if (get_ia32_exc_label(node)) {
+ /* emit the exception label of this instruction */
+ ia32_assign_exc_label(node);
+ }
+ if (mark_spill_reload) {
+ if (is_ia32_is_spill(node)) {
+ be_emit_cstring("\txchg %ebx, %ebx /* spill mark */\n");
+ be_emit_write_line();
+ }
+ if (is_ia32_is_reload(node)) {
+ be_emit_cstring("\txchg %edx, %edx /* reload mark */\n");
+ be_emit_write_line();
+ }
+ if (is_ia32_is_remat(node)) {
+ be_emit_cstring("\txchg %ecx, %ecx /* remat mark */\n");
+ be_emit_write_line();
+ }
+ }