summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-05-05 13:24:59 +0200
committerMatthias Braun <matze@braunis.de>2010-05-05 13:24:59 +0200
commitd0d5cc041a1bdc5a62aab757dbf7d3069796c63a (patch)
tree4312b7c14e559689fc1442b5aa22eb06e14a0ffd
parent25bffc94c9982c0a0a5d1568da70b67913e952e0 (diff)
also allow reference mode in fildlibfirm-1.18.1
[r27491]
-rw-r--r--ir/be/ia32/ia32_emitter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ir/be/ia32/ia32_emitter.c b/ir/be/ia32/ia32_emitter.c
index 9fd10c8..d8481b7 100644
--- a/ir/be/ia32/ia32_emitter.c
+++ b/ir/be/ia32/ia32_emitter.c
@@ -70,6 +70,7 @@
#include "../be_dbgout.h"
#include "ia32_emitter.h"
+#include "ia32_common_transform.h"
#include "gen_ia32_emitter.h"
#include "gen_ia32_regalloc_if.h"
#include "ia32_nodes_attr.h"
@@ -429,7 +430,7 @@ void ia32_emit_x87_mode_suffix(const ir_node *node)
case 128: be_emit_char('t'); return;
}
} else {
- assert(mode_is_int(mode));
+ assert(mode_is_int(mode) || mode_is_reference(mode));
switch (get_mode_size_bits(mode)) {
case 16: be_emit_char('s'); return;
case 32: be_emit_char('l'); return;