Reviewers: Michael Starzinger, Description: Fix windows build.
Please review this at http://codereview.chromium.org/8725029/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/mark-compact.cc Index: src/mark-compact.cc =================================================================== --- src/mark-compact.cc (revision 10084) +++ src/mark-compact.cc (working copy) @@ -424,7 +424,7 @@ const int kMaxMaxEvacuationCandidates = 1000; int max_evacuation_candidates = Min( kMaxMaxEvacuationCandidates, - static_cast<int>(sqrt(number_of_pages / 2) + 1)); + static_cast<int>(sqrt(static_cast<double)(number_of_pages / 2)) + 1)); if (FLAG_stress_compaction || FLAG_always_compact) { max_evacuation_candidates = kMaxMaxEvacuationCandidates; -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev