Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index bedf1be4371ef960bed101e30e299ebbb5d6d8a5..266c7b706257a8e8ce1a8c754032ba494c19b990 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -100,7 +100,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); |