| Index: runtime/vm/assembler_mips.cc
|
| ===================================================================
|
| --- runtime/vm/assembler_mips.cc (revision 25961)
|
| +++ runtime/vm/assembler_mips.cc (working copy)
|
| @@ -52,9 +52,8 @@
|
| int32_t Assembler::EncodeBranchOffset(int32_t offset, int32_t instr) {
|
| if (!CanEncodeBranchOffset(offset)) {
|
| ASSERT(!use_far_branches());
|
| - const Error& error = Error::Handle(LanguageError::New(
|
| - String::Handle(String::New("Branch offset overflow"))));
|
| - Isolate::Current()->long_jump_base()->Jump(1, error);
|
| + Isolate::Current()->long_jump_base()->Jump(
|
| + 1, Object::branch_offset_error());
|
| }
|
|
|
| // Properly preserve only the bits supported in the instruction.
|
|
|