Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
998a7d33
Commit
998a7d33
authored
Dec 21, 2012
by
Christoph Mallon
Browse files
cleanup: Remove duplicate MIN/MAX macros.
parent
669f95e6
Changes
2
Show whitespace changes
Inline
Side-by-side
ir/debug/debugger.c
View file @
998a7d33
...
@@ -951,9 +951,6 @@ static char next_char(void)
...
@@ -951,9 +951,6 @@ static char next_char(void)
#define unput() if (lexer.curr_pos < lexer.end_pos) --lexer.curr_pos
#define unput() if (lexer.curr_pos < lexer.end_pos) --lexer.curr_pos
#undef MIN
#define MIN(a, b) (a) < (b) ? (a) : (b)
/**
/**
* The lexer.
* The lexer.
*/
*/
...
...
ir/opt/ldstopt.c
View file @
998a7d33
...
@@ -39,10 +39,7 @@
...
@@ -39,10 +39,7 @@
/** The debug handle. */
/** The debug handle. */
DEBUG_ONLY
(
static
firm_dbg_module_t
*
dbg
;)
DEBUG_ONLY
(
static
firm_dbg_module_t
*
dbg
;)
#undef IMAX
#define MAX_PROJ MAX(MAX((long)pn_Load_max, (long)pn_Store_max), (long)pn_Call_max)
#define IMAX(a,b) ((a) > (b) ? (a) : (b))
#define MAX_PROJ IMAX(IMAX((long)pn_Load_max, (long)pn_Store_max), (long)pn_Call_max)
enum
changes_t
{
enum
changes_t
{
DF_CHANGED
=
1
,
/**< data flow changed */
DF_CHANGED
=
1
,
/**< data flow changed */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment