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

Unified Diff: src/IceTranslator.h

Issue 656123003: Subzero: Class definition cleanup. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes for Karl Created 6 years, 2 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/IceTimerTree.h ('k') | src/PNaClTranslator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTranslator.h
diff --git a/src/IceTranslator.h b/src/IceTranslator.h
index 8134697e60fab24402289161ebc5be165e805627..9aa56aaec8e3cfd4d44d45cccd9c3c3ad3cbc717 100644
--- a/src/IceTranslator.h
+++ b/src/IceTranslator.h
@@ -32,6 +32,9 @@ class GlobalContext;
// other intermediate representations down to ICE, and then call the appropriate
// (inherited) methods to convert ICE into machine instructions.
class Translator {
+ Translator(const Translator &) = delete;
+ Translator &operator=(const Translator &) = delete;
+
public:
typedef std::vector<VariableDeclaration *> VariableDeclarationListType;
@@ -81,11 +84,8 @@ protected:
// GlobalContext instead of Cfg, and then make emitConstantPool use
// that.
std::unique_ptr<Cfg> Func;
-
-private:
- Translator(const Translator &) = delete;
- Translator &operator=(const Translator &) = delete;
};
-}
+
+} // end of namespace Ice
#endif // SUBZERO_SRC_ICETRANSLATOR_H
« no previous file with comments | « src/IceTimerTree.h ('k') | src/PNaClTranslator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698