Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index ebd608b94428efb10863d67eb8bbbbc299fab355..848aa60f5aaa27452bc88d3cce116dec2fcdfb3b 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -5,6 +5,8 @@ |
#ifndef V8_COMPILER_H_ |
#define V8_COMPILER_H_ |
+#include <memory> |
+ |
#include "src/allocation.h" |
#include "src/ast/ast.h" |
#include "src/bailout-reason.h" |
@@ -427,7 +429,7 @@ class CompilationInfo final { |
inlined_functions_.push_back(InlinedFunctionHolder(inlined_function)); |
} |
- base::SmartArrayPointer<char> GetDebugName() const; |
+ std::unique_ptr<char[]> GetDebugName() const; |
Code::Kind output_code_kind() const { |
return Code::ExtractKindFromFlags(code_flags_); |