Chromium Code Reviews| Index: src/IceOperand.cpp |
| diff --git a/src/IceOperand.cpp b/src/IceOperand.cpp |
| index 1f232dd61a39b2a1332b6ee5eaced5b11271d317..371f1465ad9374a25da329b63ca092f80152dc46 100644 |
| --- a/src/IceOperand.cpp |
| +++ b/src/IceOperand.cpp |
| @@ -189,7 +189,7 @@ IceString Variable::getName() const { |
| } |
| Variable Variable::asType(Type Ty) { |
| - Variable V(Ty, DefNode, Number, Name); |
| + Variable V(kVariable, Ty, DefNode, Number, Name); |
|
jvoung (off chromium)
2014/09/20 18:30:56
Should it use the original Kind, instead of kVaria
Jim Stichnoth
2014/09/20 19:24:53
I don't think so, because then you could do someth
|
| V.RegNum = RegNum; |
| V.StackOffset = StackOffset; |
| return V; |