Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index bd319560cb9870616e4b9d3e94e5c85ecbd7a45e..48ee4e219458f7a5bda78ff95115acb7130cfe7c 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -313,13 +313,13 @@ void LCallKeyed::PrintDataTo(StringStream* stream) { |
void LCallNamed::PrintDataTo(StringStream* stream) { |
- SmartPointer<char> name_string = name()->ToCString(); |
+ SmartArrayPointer<char> name_string = name()->ToCString(); |
stream->Add("%s #%d / ", *name_string, arity()); |
} |
void LCallGlobal::PrintDataTo(StringStream* stream) { |
- SmartPointer<char> name_string = name()->ToCString(); |
+ SmartArrayPointer<char> name_string = name()->ToCString(); |
stream->Add("%s #%d / ", *name_string, arity()); |
} |
@@ -539,7 +539,8 @@ LChunk* LChunkBuilder::Build() { |
void LChunkBuilder::Abort(const char* format, ...) { |
if (FLAG_trace_bailout) { |
- SmartPointer<char> name(info()->shared_info()->DebugName()->ToCString()); |
+ SmartArrayPointer<char> name( |
+ info()->shared_info()->DebugName()->ToCString()); |
PrintF("Aborting LChunk building in @\"%s\": ", *name); |
va_list arguments; |
va_start(arguments, format); |