Commit 63134745 authored by ulan@chromium.org's avatar ulan@chromium.org

Fix EstimateMarkingStepSizeTest.

R=wingo@igalia.com
TBR=hpayer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/494683002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23237 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 10d53f12
...@@ -30,8 +30,9 @@ intptr_t GCIdleTimeHandler::EstimateMarkingStepSize( ...@@ -30,8 +30,9 @@ intptr_t GCIdleTimeHandler::EstimateMarkingStepSize(
return INT_MAX; return INT_MAX;
} }
return static_cast<intptr_t>(marking_step_size * return Min(static_cast<intptr_t>(marking_step_size *
GCIdleTimeHandler::kConservativeTimeRatio); GCIdleTimeHandler::kConservativeTimeRatio),
static_cast<intptr_t>(INT_MAX));
} }
} }
} }
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