Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 9d2b6aafc177510105ea278f6a64c9d0930e7460..df2dd859aa28a39cd88477f8c4e3a5dd7671255d 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -92,17 +92,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 LChunkBuilder::Abort(const char* reason) { |
+ info()->set_bailout_reason(reason); |
status_ = ABORTED; |
} |