translate proj pos for Leave
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Mon, 28 Aug 2006 13:41:50 +0000 (13:41 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Mon, 28 Aug 2006 13:41:50 +0000 (13:41 +0000)
ir/be/ia32/ia32_map_regs.c

index 2224ae4..3443488 100644 (file)
@@ -260,6 +260,9 @@ long ia32_translate_proj_pos(const ir_node *proj) {
        else if (is_ia32_CopyB(pred) || is_ia32_CopyB_i(pred)) {
                return nr;
        }
+       else if (is_ia32_Leave(pred)) {
+               return nr;
+       }
 
 //     assert(0 && "unsupported Proj(X)");
        return 0;