Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 31e9dd82e2d432bbd6fc2a512f49cfe73b72359c..06f43581bd363b35517ba0482ccb70cd72348692 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -88,7 +88,8 @@ void LCodeGen::FinishCode(Handle<Code> code) { |
void LCodeGen::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 LCodeGen in @\"%s\": ", *name); |
va_list arguments; |
va_start(arguments, format); |