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

Unified Diff: src/IceTranslator.cpp

Issue 1837663002: Initial Subzero WASM prototype. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Make presubmit great again Created 4 years, 9 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
Index: src/IceTranslator.cpp
diff --git a/src/IceTranslator.cpp b/src/IceTranslator.cpp
index b58573a4e0712c2b231d7da7bd5196681bcd003b..12115102d0f73397dfa5069a8ccb90fb98e15f58 100644
--- a/src/IceTranslator.cpp
+++ b/src/IceTranslator.cpp
@@ -24,20 +24,6 @@
namespace Ice {
-class CfgOptWorkItem final : public OptWorkItem {
- CfgOptWorkItem() = delete;
- CfgOptWorkItem(const CfgOptWorkItem &) = delete;
- CfgOptWorkItem &operator=(const CfgOptWorkItem &) = delete;
-
-public:
- CfgOptWorkItem(std::unique_ptr<Cfg> Func) : Func(std::move(Func)) {}
- std::unique_ptr<Cfg> getParsedCfg() override { return std::move(Func); }
- ~CfgOptWorkItem() override = default;
-
-private:
- std::unique_ptr<Ice::Cfg> Func;
-};
-
Translator::Translator(GlobalContext *Ctx)
: Ctx(Ctx), NextSequenceNumber(GlobalContext::getFirstSequenceNumber()),
ErrorStatus() {}

Powered by Google App Engine
This is Rietveld 408576698