Removes const qualification for two methods in TargetDataLowering. Removes const qualifier for TargetDataLowering::lowerGlobals() and TargetDataLowering::lowerConstants() BUG= None R=stichnot@chromium.org Review URL: https://codereview.chromium.org/1177873003.
diff --git a/src/IceTargetLoweringARM32.cpp b/src/IceTargetLoweringARM32.cpp index 5b7bccc..a2091b2 100644 --- a/src/IceTargetLoweringARM32.cpp +++ b/src/IceTargetLoweringARM32.cpp
@@ -2200,7 +2200,7 @@ } void TargetDataARM32::lowerGlobals( - std::unique_ptr<VariableDeclarationList> Vars) const { + std::unique_ptr<VariableDeclarationList> Vars) { switch (Ctx->getFlags().getOutFileType()) { case FT_Elf: { ELFObjectWriter *Writer = Ctx->getObjectWriter(); @@ -2219,7 +2219,7 @@ } } -void TargetDataARM32::lowerConstants() const { +void TargetDataARM32::lowerConstants() { if (Ctx->getFlags().getDisableTranslation()) return; UnimplementedError(Ctx->getFlags());