| 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) {}
|
|
|