Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 30d7a1c2cd805d5029f8787fdce929fd2b5f6275..50a41b43572a5682234cbbf767f749ea6b7cdcc6 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -311,13 +311,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()); |
} |
@@ -546,7 +546,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); |