Revision: 3604 Author: [email protected] Date: Thu Jan 14 04:51:38 2010 Log: Change return type of MapSpace::NeedsCompaction from int to bool. Fixes compiler warnings on Windows.
[email protected] Review URL: http://codereview.chromium.org/549049 http://code.google.com/p/v8/source/detail?r=3604 Modified: /branches/bleeding_edge/src/spaces.h ======================================= --- /branches/bleeding_edge/src/spaces.h Wed Jan 13 11:16:07 2010 +++ /branches/bleeding_edge/src/spaces.h Thu Jan 14 04:51:38 2010 @@ -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
