Commit bdf58eda authored by ager@chromium.org's avatar ager@chromium.org

Change return type of MapSpace::NeedsCompaction from int to bool.

Fixes compiler warnings on Windows.

TBR=antonm@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3604 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 8cf3521a
...@@ -1778,7 +1778,7 @@ class MapSpace : public FixedSpace { ...@@ -1778,7 +1778,7 @@ class MapSpace : public FixedSpace {
// Should be called after forced sweep to find out if map space needs // Should be called after forced sweep to find out if map space needs
// compaction. // compaction.
int NeedsCompaction(int live_maps) { bool NeedsCompaction(int live_maps) {
return !MapPointersEncodable() && live_maps <= kCompactionThreshold; return !MapPointersEncodable() && live_maps <= kCompactionThreshold;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment