Author: [email protected]
Date: Mon Jul 13 14:23:21 2009
New Revision: 2448

Modified:
    branches/bleeding_edge/src/compilation-cache.cc
    branches/bleeding_edge/src/objects-debug.cc

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

Review URL: http://codereview.chromium.org/149290

Modified: branches/bleeding_edge/src/compilation-cache.cc
==============================================================================
--- branches/bleeding_edge/src/compilation-cache.cc     (original)
+++ branches/bleeding_edge/src/compilation-cache.cc     Mon Jul 13 14:23:21 2009
@@ -37,10 +37,17 @@
  static const int kSubCacheCount = 4;

  // The number of generations for each sub cache.
+#if V8_TARGET_ARCH_ARM
+static const int kScriptGenerations = 1;
+static const int kEvalGlobalGenerations = 1;
+static const int kEvalContextualGenerations = 1;
+static const int kRegExpGenerations = 1;
+#else
  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;

Modified: branches/bleeding_edge/src/objects-debug.cc
==============================================================================
--- branches/bleeding_edge/src/objects-debug.cc (original)
+++ branches/bleeding_edge/src/objects-debug.cc Mon Jul 13 14:23:21 2009
@@ -958,6 +958,7 @@
  }


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


  void JSObject::IncrementSpillStatistics(SpillInformation* info) {

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

Reply via email to