diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-22 16:11:57 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-22 16:11:57 +0000 |
commit | 33a38a1b5a35acd15c867193bc2175f3d4e7b83d (patch) | |
tree | 5a7a8e8b71d43e115895327cacd0ef67983f2798 /include | |
parent | f01212489be07e261a0302744f878a54a39f05a5 (diff) | |
download | external_llvm-33a38a1b5a35acd15c867193bc2175f3d4e7b83d.zip external_llvm-33a38a1b5a35acd15c867193bc2175f3d4e7b83d.tar.gz external_llvm-33a38a1b5a35acd15c867193bc2175f3d4e7b83d.tar.bz2 |
Use references and simplify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCExpr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCExpr.h b/include/llvm/MC/MCExpr.h index da3cebe..49bdfd9 100644 --- a/include/llvm/MC/MCExpr.h +++ b/include/llvm/MC/MCExpr.h @@ -90,7 +90,7 @@ public: /// @param Res - The relocatable value, if evaluation succeeds. /// @param Layout - The assembler layout object to use for evaluating values. /// @result - True on success. - bool EvaluateAsRelocatable(MCValue &Res, const MCAsmLayout *Layout = 0) const; + bool EvaluateAsRelocatable(MCValue &Res, const MCAsmLayout &Layout) const; /// @} |