Fix bug in graph copy while inlining loops.

R=titzer@chromium.org
TEST=cctest/test-run-inlining/InlineLoop

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

Cr-Commit-Position: refs/heads/master@{#25285}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25285 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 089ed6e0
......@@ -209,11 +209,10 @@ class CopyVisitor : public NullNodeVisitor {
}
Node* GetSentinel(Node* original) {
Node* sentinel = sentinels_[original->id()];
if (sentinel == NULL) {
sentinel = target_graph_->NewNode(&sentinel_op_);
if (sentinels_[original->id()] == NULL) {
sentinels_[original->id()] = target_graph_->NewNode(&sentinel_op_);
}
return sentinel;
return sentinels_[original->id()];
}
NodeVector copies_;
......
......@@ -81,9 +81,6 @@
##############################################################################
# TurboFan compiler failures.
# TODO(mstarzinger): The scheduler cannot handle free-floating loops yet.
'test-run-inlining/InlineLoop': [SKIP],
# Some tests are just too slow to run for now.
'test-api/Threading*': [PASS, NO_VARIANTS],
'test-heap/IncrementalMarkingStepMakesBigProgressWithLargeObjects': [PASS, NO_VARIANTS],
......
This diff is collapsed.
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