Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index da003de2baaf7d44d2fe5143c9d98275c14b478b..5ef0739145f0a98b5299deddcbb28b352e2c3b3c 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -99,17 +99,8 @@ void LCodeGen::FinishCode(Handle<Code> code) { |
} |
-void LCodeGen::Abort(const char* format, ...) { |
- if (FLAG_trace_bailout) { |
- SmartArrayPointer<char> name( |
- info()->shared_info()->DebugName()->ToCString()); |
- PrintF("Aborting LCodeGen in @\"%s\": ", *name); |
- va_list arguments; |
- va_start(arguments, format); |
- OS::VPrint(format, arguments); |
- va_end(arguments); |
- PrintF("\n"); |
- } |
+void LCodeGen::Abort(const char* reason) { |
+ info()->set_bailout_reason(reason); |
status_ = ABORTED; |
} |