Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 24e51e0681de93690fc4be00805197cc5d145086..80fc2c5c94f89766726f2816ff77eff574a4b2a2 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -101,7 +101,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); |