Changes in src/SynTree/Expression.h [665f432:849720f]
- File:
-
- 1 edited
-
src/SynTree/Expression.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.h
r665f432 r849720f 575 575 class AsmExpr : public Expression { 576 576 public: 577 std::stringinout;577 Expression * inout; 578 578 Expression * constraint; 579 579 Expression * operand; 580 580 581 AsmExpr( const std::string * _inout, Expression * constraint, Expression * operand ) : inout( _inout ? *_inout : "" ), constraint( constraint ), operand( operand ) { delete _inout;}581 AsmExpr( Expression * inout, Expression * constraint, Expression * operand ) : inout( inout ), constraint( constraint ), operand( operand ) {} 582 582 AsmExpr( const AsmExpr & other ); 583 virtual ~AsmExpr() { delete constraint; delete operand; }; 583 virtual ~AsmExpr() { delete inout; delete constraint; delete operand; }; 584 585 Expression * get_inout() const { return inout; } 586 void set_inout( Expression * newValue ) { inout = newValue; } 587 588 Expression * get_constraint() const { return constraint; } 589 void set_constraint( Expression * newValue ) { constraint = newValue; } 590 591 Expression * get_operand() const { return operand; } 592 void set_operand( Expression * newValue ) { operand = newValue; } 584 593 585 594 virtual AsmExpr * clone() const override { return new AsmExpr( * this ); }
Note:
See TracChangeset
for help on using the changeset viewer.