Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index 29fdc46736c10f0eddd6dd4b55fd5f350ed055eb..a55de48794e354f71bd2ceb7d4f7ff4bcd63ce95 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -5,6 +5,8 @@ |
#ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ |
#define V8_CALL_INTERFACE_DESCRIPTOR_H_ |
+#include <memory> |
+ |
#include "src/assembler.h" |
#include "src/macro-assembler.h" |
@@ -140,7 +142,7 @@ class CallInterfaceDescriptorData { |
// InterfaceDescriptor, and freed on destruction. This is because static |
// arrays of Registers cause creation of runtime static initializers |
// which we don't want. |
- base::SmartArrayPointer<Register> register_params_; |
+ std::unique_ptr<Register[]> register_params_; |
// Specifies types for parameters and return |
FunctionType* function_type_; |