From: Götz Lindenmaier Date: Wed, 26 Mar 2003 13:32:53 +0000 (+0000) Subject: bugfix: method names wrong X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b090dd3c70bf2cc57ddf2f4607d7aeb76d82606e;p=libfirm bugfix: method names wrong [r991] --- diff --git a/ir/ir/irmode.c b/ir/ir/irmode.c index 826b7e816..76af6b955 100644 --- a/ir/ir/irmode.c +++ b/ir/ir/irmode.c @@ -140,7 +140,7 @@ INLINE ir_mode *get_modeBB() { ANNOUNCE(); return mode_BB; } /* ** Constructor ** */ ir_mode * -mode_register(ir_mode* new_mode) +register_mode(ir_mode* new_mode) { ir_mode *mode; diff --git a/ir/ir/irmode.h b/ir/ir/irmode.h index 1b14e067c..1c9685d52 100644 --- a/ir/ir/irmode.h +++ b/ir/ir/irmode.h @@ -99,7 +99,7 @@ typedef enum { Floating point computations can be performed. */ reference, /* A mode to represent entities. Restricted int computations can be performed */ - character, /* A mode to represent characters/symbols + character /* A mode to represent characters/symbols ?? Are computations allowed? as int?? */ } mode_sort; @@ -181,11 +181,11 @@ tarval *get_mode_one(ir_mode *mode); /* This is only valid for float_numbers, other modes * will result in tarval_bad */ -tarval *get_mode_infinit(ir_mode *mode); +tarval *get_mode_infinite(ir_mode *mode); /* This is only valid for float_numbers, other modes * will result in tarval_bad */ -tarval *get_mode_nan(ir_mode *mode); +tarval *get_mode_NAN(ir_mode *mode); /** Auxiliary modes necessary for the Firm representation **/