mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
Make loop jump mode public so I can switch on it.
This commit is contained in:
parent
4380099c98
commit
0c005bd773
1 changed files with 5 additions and 3 deletions
8
ir.h
8
ir.h
|
|
@ -756,9 +756,9 @@ public:
|
|||
};
|
||||
|
||||
ir_loop_jump(jump_mode mode)
|
||||
: mode(mode)
|
||||
{
|
||||
/* empty */
|
||||
this->mode = mode;
|
||||
this->loop = loop;
|
||||
}
|
||||
|
||||
virtual ir_instruction *clone(struct hash_table *) const;
|
||||
|
|
@ -780,9 +780,11 @@ public:
|
|||
return mode == jump_continue;
|
||||
}
|
||||
|
||||
private:
|
||||
/** Mode selector for the jump instruction. */
|
||||
enum jump_mode mode;
|
||||
private:
|
||||
/** Loop containing this break instruction. */
|
||||
ir_loop *loop;
|
||||
};
|
||||
/*@}*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue