Chromium Code Reviews| Index: src/disassembler.cc |
| diff --git a/src/disassembler.cc b/src/disassembler.cc |
| index e32904df5cb2073e210463d860858bf5a74b7d6d..b43a4df991f95f47bd74f0ae9ca82d1aa45e64d5 100644 |
| --- a/src/disassembler.cc |
| +++ b/src/disassembler.cc |
| @@ -4,6 +4,8 @@ |
| #include "src/disassembler.h" |
| +#include <memory> |
| + |
| #include "src/code-stubs.h" |
| #include "src/codegen.h" |
| #include "src/debug/debug.h" |
| @@ -185,7 +187,7 @@ static int DecodeIt(Isolate* isolate, std::ostream* os, |
| HeapStringAllocator allocator; |
| StringStream accumulator(&allocator); |
| relocinfo.target_object()->ShortPrint(&accumulator); |
| - base::SmartArrayPointer<const char> obj_name = accumulator.ToCString(); |
| + std::unique_ptr<const char[]> obj_name = accumulator.ToCString(); |
|
Igor Sheludko
2016/07/25 08:56:44
Same here.
jochen (gone - plz use gerrit)
2016/07/25 09:14:48
done
|
| out.AddFormatted(" ;; object: %s", obj_name.get()); |
| } else if (rmode == RelocInfo::EXTERNAL_REFERENCE) { |
| const char* reference_name = ref_encoder.NameOfAddress( |