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

Unified Diff: src/interface-descriptors.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/gdb-jit.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « src/gdb-jit.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698