Reviewers: Mads Ager, Message: The same CL, but I messed up with previous client. Redo it.
Description: Add ENABLE_DEBUGGER_SUPPPORT around 4 functions, set complation cache generation to 1 for ARM. Please review this at http://codereview.chromium.org/149290 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) @@ -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; --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
