Temporary workaround for scheduler running OOM.

R=titzer@chromium.org
TEST=benchmarks/octane/zlib

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23104 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mstarzinger@chromium.org 2014-08-13 12:38:22 +00:00
parent 2dfa9f97ae
commit a240fd6296

View File

@ -623,9 +623,11 @@ void Scheduler::ScheduleLate() {
for (NodeVectorIter i = schedule_root_nodes_.begin();
i != schedule_root_nodes_.end(); ++i) {
// TODO(mstarzinger): Make the scheduler eat less memory.
Zone zone(zone_->isolate());
GenericGraphVisit::Visit<ScheduleLateNodeVisitor,
NodeInputIterationTraits<Node> >(
graph_, zone_, *i, &schedule_late_visitor);
graph_, &zone, *i, &schedule_late_visitor);
}
// Add collected nodes for basic blocks to their blocks in the right order.