Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 59a8804a185d3485266ec76d53ff9a0e4244bf94..e2aa254edf079402827b4a8225ce35beae2aa767 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -91,17 +91,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; |
} |