1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef GOOSE_CIR_NOT_H
#define GOOSE_CIR_NOT_H
namespace goose::cir
{
class Not
{
public:
bool canBeExecuted() const { return true; }
bool canBeEagerlyEvaluated() const { return true; }
bool haveSideEffects() const { return false; }
bool operator<( const Not& rhs ) const
{
return false;
|
|
>
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef GOOSE_CIR_NOT_H
#define GOOSE_CIR_NOT_H
namespace goose::cir
{
class Not : public BaseInstr
{
public:
Not( LocationId loc ) :
BaseInstr( loc )
{}
bool canBeExecuted() const { return true; }
bool canBeEagerlyEvaluated() const { return true; }
bool haveSideEffects() const { return false; }
bool operator<( const Not& rhs ) const
{
return false;
|