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

Unified Diff: src/compiler/graph-visualizer.h

Issue 2173403002: Replace SmartArrayPointer<T> with unique_ptr<T[]> (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 years, 5 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/compiler.cc ('k') | src/compiler/graph-visualizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/graph-visualizer.h
diff --git a/src/compiler/graph-visualizer.h b/src/compiler/graph-visualizer.h
index 85b0cf7e0981aa97ae40ca78ef976cb15274f0b1..ec1e4fb5b2180b6f994a2e9368825c7e3995361a 100644
--- a/src/compiler/graph-visualizer.h
+++ b/src/compiler/graph-visualizer.h
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <iosfwd>
+#include <memory>
#include "src/base/smart-pointers.h"
@@ -23,8 +24,9 @@ class RegisterAllocationData;
class Schedule;
class SourcePositionTable;
-base::SmartArrayPointer<const char> GetVisualizerLogFileName(
- CompilationInfo* info, const char* phase, const char* suffix);
+std::unique_ptr<char[]> GetVisualizerLogFileName(CompilationInfo* info,
+ const char* phase,
+ const char* suffix);
struct AsJSON {
AsJSON(const Graph& g, SourcePositionTable* p) : graph(g), positions(p) {}
« no previous file with comments | « src/compiler.cc ('k') | src/compiler/graph-visualizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698