projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
defined function as INLINE to get around gcc warnigs, fix some doxygen comments
[libfirm]
/
testprograms
/
irr_loop_example.c
diff --git
a/testprograms/irr_loop_example.c
b/testprograms/irr_loop_example.c
index
485881e
..
3129af8
100644
(file)
--- a/
testprograms/irr_loop_example.c
+++ b/
testprograms/irr_loop_example.c
@@
-1,9
+1,9
@@
/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
-*
*
All rights reserved.
-*
*
-*
*
Authors: Christian Schaefer, Goetz Lindenmaier
-*
*
-*
*
testprogram.
+* All rights reserved.
+*
+* Authors: Christian Schaefer, Goetz Lindenmaier
+*
+* testprogram.
*/
# include <stdio.h>
*/
# include <stdio.h>
@@
-18,22
+18,22
@@
*/
/**
*/
/**
-*
**
This file constructs a control flow of following shape:
-*
**
-*
**
-*
**
firstBlock
-*
**
/ \
-*
**
/ \
-*
**
|/_ _\|
-*
**
---->
-*
**
LoopBlock1 LoopBlock2
-*
**
<----
-*
**
\ /
-*
**
\ /
-*
**
_\| |/_
-*
**
nextBlock
-*
**
-*
**
+* This file constructs a control flow of following shape:
+*
+*
+* firstBlock
+* / \
+* / \
+* |/_ _\|
+* ---->
+* LoopBlock1 LoopBlock2
+* <----
+* \ /
+*
\ /
+*
_\| |/_
+* nextBlock
+*
+*
**/
int main(int argc, char **argv)
**/
int main(int argc, char **argv)
@@
-70,6
+70,7
@@
int main(int argc, char **argv)
ent = new_entity (owner,
id_from_str (METHODNAME, strlen(METHODNAME)),
proc_main);
ent = new_entity (owner,
id_from_str (METHODNAME, strlen(METHODNAME)),
proc_main);
+ get_entity_ld_name(ent); /* To enforce name mangling for vcg graph name */
#define NUM_OF_LOCAL_VARS 0
#define NUM_OF_LOCAL_VARS 0