Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 6133bdeed976aa2205c6e98b5a7973d5f5af46ee..bc6eb3d1350aa186aa41689559f47ca9b926ed2c 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -444,17 +444,8 @@ LPlatformChunk* LChunkBuilder::Build() { |
} |
-void LChunkBuilder::Abort(const char* format, ...) { |
- if (FLAG_trace_bailout) { |
- SmartArrayPointer<char> name( |
- info()->shared_info()->DebugName()->ToCString()); |
- PrintF("Aborting LPlatformChunk building 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; |
} |