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

Unified Diff: src/IceTranslator.h

Issue 892063002: Subzero: Manage each Cfg as a std::unique_ptr<Cfg>. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review updates Created 5 years, 11 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.h
diff --git a/src/IceTranslator.h b/src/IceTranslator.h
index cd5a8d6b7cef9cc0044875ec680d174fbb59aa1a..6b35b25f97ae43167f18ed773227e2cb57c352f5 100644
--- a/src/IceTranslator.h
+++ b/src/IceTranslator.h
@@ -45,7 +45,7 @@ public:
/// Translates the constructed ICE function Fcn to machine code.
/// Takes ownership of Func.
- void translateFcn(Cfg *Func);
+ void translateFcn(std::unique_ptr<Cfg> Func);
/// Emits the constant pool.
void emitConstants();

Powered by Google App Engine
This is Rietveld 408576698