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
This commit is contained in:
parent
fa0f929fee
commit
c86da7e5dc
@ -1208,7 +1208,7 @@ void HGraphBuilder::AddSimulate(BailoutId id,
|
||||
RemovableSimulate removable) {
|
||||
ASSERT(current_block() != NULL);
|
||||
ASSERT(!graph()->IsInsideNoSideEffectsScope());
|
||||
current_block()->AddNewSimulate(id, removable);
|
||||
current_block()->AddNewSimulate(id, position_, removable);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user