microinstruction: Removed unnecessary reference from argument of Inst::ReplaceUsesWith
This commit is contained in:
parent
3e0e339d98
commit
1d4446cad5
@ -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…
x
Reference in New Issue
Block a user