diff --git a/src/op.cpp b/src/op.cpp index f5eec52..68dbe33 100644 --- a/src/op.cpp +++ b/src/op.cpp @@ -60,7 +60,7 @@ void Op::Write(Stream& stream) const { } } -void Op::Add(Operand* operand) { +void Op::Sink(Operand* operand) { Add(static_cast(operand)); operand_store.push_back(std::unique_ptr(operand)); } diff --git a/src/op.h b/src/op.h index d0ef39a..7111721 100644 --- a/src/op.h +++ b/src/op.h @@ -27,7 +27,7 @@ class Op : public Operand { void Write(Stream& stream) const; - void Add(Operand* operand); + void Sink(Operand* operand); void Add(const Operand* operand);