microinstruction: Removed unnecessary reference from argument of Inst::ReplaceUsesWith

This commit is contained in:
MerryMage 2017-01-29 22:52:33 +00:00
parent 3e0e339d98
commit 1d4446cad5
2 changed files with 2 additions and 2 deletions

View file

@ -300,7 +300,7 @@ void Inst::Invalidate() {
}
}
void Inst::ReplaceUsesWith(Value& replacement) {
void Inst::ReplaceUsesWith(Value replacement) {
Invalidate();
op = Opcode::Identity;

View file

@ -95,7 +95,7 @@ public:
void Invalidate();
void ReplaceUsesWith(Value& replacement);
void ReplaceUsesWith(Value replacement);
private:
void Use(Value& value);