Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: src/IceTargetLoweringX8632.h

Issue 1177873003: Removes const qualification for two methods in TargetDataLowering. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceTargetLoweringMIPS32.cpp ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLoweringX8632.h
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h
index 8d108bd0fbde97bb650eaa9ee3acffd43c778361..fe3612c4bf450969972fb452206892bc4e593064 100644
--- a/src/IceTargetLoweringX8632.h
+++ b/src/IceTargetLoweringX8632.h
@@ -577,7 +577,7 @@ private:
BoolFolding FoldingInfo;
};
-class TargetDataX8632 : public TargetDataLowering {
+class TargetDataX8632 final : public TargetDataLowering {
TargetDataX8632() = delete;
TargetDataX8632(const TargetDataX8632 &) = delete;
TargetDataX8632 &operator=(const TargetDataX8632 &) = delete;
@@ -587,14 +587,14 @@ public:
return std::unique_ptr<TargetDataLowering>(new TargetDataX8632(Ctx));
}
- void lowerGlobals(std::unique_ptr<VariableDeclarationList> Vars) const final;
- void lowerConstants() const final;
+ void lowerGlobals(std::unique_ptr<VariableDeclarationList> Vars) override;
+ void lowerConstants() override;
protected:
explicit TargetDataX8632(GlobalContext *Ctx);
private:
- void lowerGlobal(const VariableDeclaration &Var) const;
+ void lowerGlobal(const VariableDeclaration &Var);
~TargetDataX8632() override {}
template <typename T> static void emitConstantPool(GlobalContext *Ctx);
};
« no previous file with comments | « src/IceTargetLoweringMIPS32.cpp ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698