aboutsummaryrefslogtreecommitdiff
path: root/gcc/sym-exec/condition.h
blob: dc3ec382d2fbfe3ac25648c1b9b38fc7d28233e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef SYM_EXEC_CONDITION_H
#define SYM_EXEC_CONDITION_H

#include "expression.h"

enum condition_status {
  CS_NO_COND,
  CS_TRUE,
  CS_FALSE,
  CS_SYM
};


class bit_condition : public bit_expression {
 private:
  tree_code code;
  void print_expr_sign ();

 public:
  bit_condition (value_bit *left, value_bit *right, tree_code type);
  bit_condition (const bit_condition &expr);
  tree_code get_code () const;
  value_bit *copy () const;
};

#endif /* SYM_EXEC_CONDITION_H.  */