simplified mode_is_data()
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 23 Apr 2007 09:20:23 +0000 (09:20 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 23 Apr 2007 09:20:23 +0000 (09:20 +0000)
[r13442]

ir/ir/irmode_t.h

index ac5f541..9cbece8 100644 (file)
@@ -183,7 +183,7 @@ _mode_is_numP(const ir_mode *mode) {
 static INLINE int
 _mode_is_data(const ir_mode *mode) {
        assert(mode);
-       return (_mode_is_num(mode) || _get_mode_sort(mode) == irms_character || _get_mode_sort(mode) == irms_reference);
+       return (_mode_is_numP(mode) || _get_mode_sort(mode) == irms_character);
 }
 
 static INLINE int