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

Unified Diff: src/IceCfg.h

Issue 512933006: LLVM 3.5 merge: Subzero (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Rebase Created 6 years, 3 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 | « no previous file | src/IceCfg.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfg.h
diff --git a/src/IceCfg.h b/src/IceCfg.h
index 1de77956951b741e19b4e68803327307257960a2..74b60992e9f75b640ac6239a771c71d680dfc40e 100644
--- a/src/IceCfg.h
+++ b/src/IceCfg.h
@@ -22,9 +22,10 @@
#include "IceClFlags.h"
#include "IceGlobalContext.h"
-#include "llvm/ADT/OwningPtr.h"
#include "llvm/Support/Allocator.h"
+#include <memory>
+
namespace Ice {
class Cfg {
@@ -172,10 +173,10 @@ private:
VarList Variables;
VarList Args; // subset of Variables, in argument order
VarList ImplicitArgs; // subset of Variables
- llvm::OwningPtr<Liveness> Live;
- llvm::OwningPtr<TargetLowering> Target;
- llvm::OwningPtr<VariablesMetadata> VMetadata;
- llvm::OwningPtr<Assembler> TargetAssembler;
+ std::unique_ptr<Liveness> Live;
+ std::unique_ptr<TargetLowering> Target;
+ std::unique_ptr<VariablesMetadata> VMetadata;
+ std::unique_ptr<Assembler> TargetAssembler;
// CurrentNode is maintained during dumping/emitting just for
// validating Variable::DefNode. Normally, a traversal over
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698