Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 34c5beb38d88d0c5dffdc3567fd7bf240cdf4a2e..8783e285ffaa368fb1e692fe14dc72e301baf193 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -315,13 +315,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()); |
} |
@@ -540,7 +540,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); |