Commit 3947fefe authored by mmassi@chromium.org's avatar mmassi@chromium.org

a tiny bug in DehoistArrayIndex

R=mmassi@chromium.org

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

Patch from Weiliang Lin <weiliang.lin2@gmail.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14733 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 8fed3da4
......@@ -5363,7 +5363,9 @@ static void DehoistArrayIndex(ArrayInstructionInterface* array_operation) {
} else if (sub->right()->IsConstant()) {
subexpression = sub->left();
constant = HConstant::cast(sub->right());
} return;
} else {
return;
}
} else {
return;
}
......
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