Reviewers: antonm, Description: Change return type of MapSpace::NeedsCompaction from int to bool. Fixes compiler warnings on Windows.
[email protected] Please review this at http://codereview.chromium.org/549049 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/spaces.h Index: src/spaces.h =================================================================== --- src/spaces.h (revision 3603) +++ src/spaces.h (working copy) @@ -1778,7 +1778,7 @@ // Should be called after forced sweep to find out if map space needs // compaction. - int NeedsCompaction(int live_maps) { + bool NeedsCompaction(int live_maps) { return !MapPointersEncodable() && live_maps <= kCompactionThreshold; }
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
