Revision: 18822
Author:   [email protected]
Date:     Fri Jan 24 12:22:13 2014 UTC
Log:      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=
[email protected]

Review URL: https://codereview.chromium.org/146013002
http://code.google.com/p/v8/source/detail?r=18822

Modified:
 /branches/bleeding_edge/src/hydrogen.cc

=======================================
--- /branches/bleeding_edge/src/hydrogen.cc     Fri Jan 24 11:47:53 2014 UTC
+++ /branches/bleeding_edge/src/hydrogen.cc     Fri Jan 24 12:22:13 2014 UTC
@@ -1208,7 +1208,7 @@
                                 RemovableSimulate removable) {
   ASSERT(current_block() != NULL);
   ASSERT(!graph()->IsInsideNoSideEffectsScope());
-  current_block()->AddNewSimulate(id, removable);
+  current_block()->AddNewSimulate(id, position_, removable);
 }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to