Revision: 16223
Author:   [email protected]
Date:     Mon Aug 19 16:02:50 2013 UTC
Log:      MIPS: Remove wrong restriction in GenerateDeoptJumpTable.

* This Abort condition does not apply to MIPS, since the
  assembler can also emit long Branches automatically, when
  it is needed.

TEST=mjsunit/math-floor-of-div,benchmarks/octane/gbemu,benchmarks/octane/mandreel

BUG=

Review URL: https://codereview.chromium.org/23020018
http://code.google.com/p/v8/source/detail?r=16223

Modified:
 /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc

=======================================
--- /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc Wed Aug 14 23:07:48 2013 UTC +++ /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc Mon Aug 19 16:02:50 2013 UTC
@@ -323,16 +323,6 @@


 bool LCodeGen::GenerateDeoptJumpTable() {
- // Check that the jump table is accessible from everywhere in the function - // code, i.e. that offsets to the table can be encoded in the 16bit signed
-  // immediate of a branch instruction.
- // To simplify we consider the code size from the first instruction to the
-  // end of the jump table.
-  if (!is_int16((masm()->pc_offset() / Assembler::kInstrSize) +
-      deopt_jump_table_.length() * 12)) {
-    Abort(kGeneratedCodeIsTooLarge);
-  }
-
   if (deopt_jump_table_.length() > 0) {
     Comment(";;; -------------------- Jump table --------------------");
   }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to