| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index aaca69f45bcb793d71d9dbff794571dd9b094ee5..50fe4ac0ced14ee445d4c3cb8995d56c52b8e120 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -89,17 +89,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;
|
| }
|
|
|
| @@ -261,7 +252,7 @@ bool LCodeGen::GenerateDeferredCode() {
|
| bool LCodeGen::GenerateDeoptJumpTable() {
|
| // TODO(plind): not clear that this will have advantage for MIPS.
|
| // Skipping it for now. Raised issue #100 for this.
|
| - Abort("Unimplemented: %s", "GenerateDeoptJumpTable");
|
| + Abort("Unimplemented: GenerateDeoptJumpTable");
|
| return false;
|
| }
|
|
|
|
|