microinstruction: Removed unnecessary reference from argument of Inst::ReplaceUsesWith
This commit is contained in:
parent
3e0e339d98
commit
1d4446cad5
2 changed files with 2 additions and 2 deletions
|
@ -300,7 +300,7 @@ void Inst::Invalidate() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Inst::ReplaceUsesWith(Value& replacement) {
|
void Inst::ReplaceUsesWith(Value replacement) {
|
||||||
Invalidate();
|
Invalidate();
|
||||||
|
|
||||||
op = Opcode::Identity;
|
op = Opcode::Identity;
|
||||||
|
|
|
@ -95,7 +95,7 @@ public:
|
||||||
|
|
||||||
void Invalidate();
|
void Invalidate();
|
||||||
|
|
||||||
void ReplaceUsesWith(Value& replacement);
|
void ReplaceUsesWith(Value replacement);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void Use(Value& value);
|
void Use(Value& value);
|
||||||
|
|
Loading…
Reference in a new issue