From 4f231f59b45736d122c2d6d69c9c049a11cc0314 Mon Sep 17 00:00:00 2001 From: "kmillikin@chromium.org" Date: Thu, 16 Dec 2010 14:18:41 +0000 Subject: [PATCH] Fix an issue discovered in regress-969. When running with 10 stress runs we get polymorphic stores. This revealed an incorrect bailout ID for the state following a polymorphic store. The ID should be the internal ID of the assignment side-effect, not the ID of the end of the expression. Review URL: http://codereview.chromium.org/5885003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6051 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/hydrogen.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydrogen.cc b/src/hydrogen.cc index bfb6d1b..e818545 100644 --- a/src/hydrogen.cc +++ b/src/hydrogen.cc @@ -3257,7 +3257,7 @@ void HGraphBuilder::HandlePolymorphicStoreNamedField(Assignment* expr, } HBasicBlock* new_exit_block = - BuildTypeSwitch(&maps, &subgraphs, object, expr->id()); + BuildTypeSwitch(&maps, &subgraphs, object, expr->AssignmentId()); subgraph()->set_exit_block(new_exit_block); } -- 2.7.4