Commit c86da7e5 authored by vegorov@chromium.org's avatar vegorov@chromium.org

Fix HGraphBuilder::AddSimulate to pass removable down correctly

It was passed as a position argument previously making all simulates added with it conservatively FIXED_SIMULATE.

BUG=
R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18822 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent fa0f929f
...@@ -1208,7 +1208,7 @@ void HGraphBuilder::AddSimulate(BailoutId id, ...@@ -1208,7 +1208,7 @@ void HGraphBuilder::AddSimulate(BailoutId id,
RemovableSimulate removable) { RemovableSimulate removable) {
ASSERT(current_block() != NULL); ASSERT(current_block() != NULL);
ASSERT(!graph()->IsInsideNoSideEffectsScope()); ASSERT(!graph()->IsInsideNoSideEffectsScope());
current_block()->AddNewSimulate(id, removable); current_block()->AddNewSimulate(id, position_, removable);
} }
......
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