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
3acf444a
Commit
3acf444a
authored
Jan 10, 2015
by
Christoph Mallon
Browse files
belive: Use be_lv_state_t instead of unsigned.
parent
87d50cbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/belive.h
View file @
3acf444a
...
...
@@ -18,7 +18,7 @@
#include "irlivechk.h"
#include "bearch.h"
typedef
enum
{
typedef
enum
be_lv_state_t
{
be_lv_state_none
=
0
,
be_lv_state_in
=
1u
<<
0
,
be_lv_state_end
=
1u
<<
1
,
...
...
@@ -139,8 +139,8 @@ struct be_lv_t {
typedef
struct
be_lv_info_node_t
be_lv_info_node_t
;
struct
be_lv_info_node_t
{
ir_node
*
node
;
unsigned
flags
;
ir_node
*
node
;
be_lv_state_t
flags
;
};
struct
be_lv_info_t
{
...
...
@@ -152,8 +152,7 @@ struct be_lv_info_t {
be_lv_info_node_t
*
be_lv_get
(
const
be_lv_t
*
li
,
const
ir_node
*
block
,
const
ir_node
*
irn
);
static
inline
bool
_be_is_live_xxx
(
const
be_lv_t
*
li
,
const
ir_node
*
block
,
const
ir_node
*
irn
,
unsigned
flags
)
static
inline
bool
_be_is_live_xxx
(
be_lv_t
const
*
const
li
,
ir_node
const
*
const
block
,
ir_node
const
*
const
irn
,
be_lv_state_t
const
flags
)
{
if
(
li
->
sets_valid
)
{
be_lv_info_node_t
*
info
=
be_lv_get
(
li
,
block
,
irn
);
...
...
Write
Preview
Markdown
is supported
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