Reviewers: Mads Ager,

Description:
Add ENABLE_DEBUGGER_SUPPPORT around 4 functions, set complation cache
generation to 1 for ARM.


Please review this at http://codereview.chromium.org/149285

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/compilation-cache.cc
   M     src/objects-debug.cc


Index: src/objects-debug.cc
===================================================================
--- src/objects-debug.cc        (revision 2383)
+++ src/objects-debug.cc        (working copy)
@@ -949,6 +949,7 @@
  }


+#ifdef ENABLE_DEBUGGER_SUPPORT
  void DebugInfo::DebugInfoVerify() {
    CHECK(IsDebugInfo());
    VerifyPointer(shared());
@@ -988,6 +989,7 @@
    PrintF("\n - break_point_objects: ");
    break_point_objects()->ShortPrint();
  }
+#endif


  void JSObject::IncrementSpillStatistics(SpillInformation* info) {
Index: src/compilation-cache.cc
===================================================================
--- src/compilation-cache.cc    (revision 2383)
+++ src/compilation-cache.cc    (working copy)
@@ -36,11 +36,19 @@
  // The number of sub caches covering the different types to cache.
  static const int kSubCacheCount = 4;

+#if V8_TARGET_ARCH_ARM
  // The number of generations for each sub cache.
+static const int kScriptGenerations = 1;
+static const int kEvalGlobalGenerations = 1;
+static const int kEvalContextualGenerations = 1;
+static const int kRegExpGenerations = 1;
+#else
+// The number of generations for each sub cache.
  static const int kScriptGenerations = 5;
  static const int kEvalGlobalGenerations = 2;
  static const int kEvalContextualGenerations = 2;
  static const int kRegExpGenerations = 2;
+#endif

  // Initial of each compilation cache table allocated.
  static const int kInitialCacheSize = 64;



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

Reply via email to