Revision: 10514
Author:   [email protected]
Date:     Thu Jan 26 07:53:21 2012
Log:      MIPS: Reverted the number of deopt entries to 4096.

On MIPS we cannot double the number of deoptimization entries easily
because the generated code would contain long branches (>128K) and we use
BlockTrampolinePoolScope in the Deoptimizer::TableEntryGenerator::GeneratePrologue method. Also, we cannot use the Jr instruction here because the Deoptimizer::CreateCode method asserts
that the generated code does not contain reloc information.

BUG=
TEST=
Patch from Daniel Kalmar.
Review URL: http://codereview.chromium.org/9169079
http://code.google.com/p/v8/source/detail?r=10514

Modified:
 /branches/bleeding_edge/src/deoptimizer.h

=======================================
--- /branches/bleeding_edge/src/deoptimizer.h   Tue Jan 24 00:43:12 2012
+++ /branches/bleeding_edge/src/deoptimizer.h   Thu Jan 26 07:53:21 2012
@@ -267,7 +267,11 @@
   int ConvertJSFrameIndexToFrameIndex(int jsframe_index);

  private:
+#ifdef V8_TARGET_ARCH_MIPS
+  static const int kNumberOfEntries = 4096;
+#else
   static const int kNumberOfEntries = 8192;
+#endif

   Deoptimizer(Isolate* isolate,
               JSFunction* function,

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to