projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sparc: implement float->unsigned conversions
[libfirm]
/
ir
/
be
/
begnuas.c
diff --git
a/ir/be/begnuas.c
b/ir/be/begnuas.c
index
16f62a5
..
63a34b0
100644
(file)
--- a/
ir/be/begnuas.c
+++ b/
ir/be/begnuas.c
@@
-22,7
+22,6
@@
* @brief Dumps global variables and constants as gas assembler.
* @author Christian Wuerdig, Matthias Braun
* @date 04.11.2005
* @brief Dumps global variables and constants as gas assembler.
* @author Christian Wuerdig, Matthias Braun
* @date 04.11.2005
- * @version $Id$
*/
#include "config.h"
*/
#include "config.h"
@@
-1548,7
+1547,7
@@
char const *be_gas_get_private_prefix(void)
void be_gas_emit_entity(const ir_entity *entity)
{
void be_gas_emit_entity(const ir_entity *entity)
{
- if (entity->type ==
firm_code_type
) {
+ if (entity->type ==
get_code_type()
) {
ir_label_t label = get_entity_label(entity);
be_emit_irprintf("%s_%lu", be_gas_get_private_prefix(), label);
return;
ir_label_t label = get_entity_label(entity);
be_emit_irprintf("%s_%lu", be_gas_get_private_prefix(), label);
return;
@@
-1562,7
+1561,7
@@
void be_gas_emit_entity(const ir_entity *entity)
void be_gas_emit_block_name(const ir_node *block)
{
void be_gas_emit_block_name(const ir_node *block)
{
- if (
has_Block_entity(block)
) {
+ if (
get_Block_entity(block) != NULL
) {
ir_entity *entity = get_Block_entity(block);
be_gas_emit_entity(entity);
} else {
ir_entity *entity = get_Block_entity(block);
be_gas_emit_entity(entity);
} else {
@@
-1586,7
+1585,7
@@
static void emit_global(be_gas_decl_env_t *env, const ir_entity *entity)
ir_linkage linkage = get_entity_linkage(entity);
/* block labels are already emittet in the code */
ir_linkage linkage = get_entity_linkage(entity);
/* block labels are already emittet in the code */
- if (type ==
firm_code_type
)
+ if (type ==
get_code_type()
)
return;
/* we already emitted all methods. Except for the trampolines which
return;
/* we already emitted all methods. Except for the trampolines which