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/IceTranslator.h

Issue 1804133002: Subzero. Uses unique_ptrs in the emit queue. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. 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
« no previous file with comments | « src/IceThreading.cpp ('k') | src/IceTranslator.cpp » ('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 1ecd998ca0403be3644467039b2fd2e6bae3b572..5c62c04cf0fcd6ce9448866542ee4045d75840cd 100644
--- a/src/IceTranslator.h
+++ b/src/IceTranslator.h
@@ -19,6 +19,8 @@
#include "IceDefs.h"
#include "IceGlobalContext.h"
+#include <memory>
+
namespace llvm {
class Module;
} // end of namespace llvm
@@ -48,8 +50,7 @@ public:
const ClFlags &getFlags() const { return Ctx->getFlags(); }
- /// Translates the constructed ICE function Fcn to machine code. Takes
- /// ownership of Func.
+ /// Translates the constructed ICE function Func to machine code.
void translateFcn(std::unique_ptr<Cfg> Func);
/// Lowers the given list of global addresses to target. Generates list of
« no previous file with comments | « src/IceThreading.cpp ('k') | src/IceTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698