From 27ed4d3a1a83fbbcbc19c24214d1a4b4673175fc Mon Sep 17 00:00:00 2001 From: "kmillikin@chromium.org" Date: Tue, 8 Feb 2011 15:51:49 +0000 Subject: [PATCH] Prepare for bailout with the proper state at labeled block entries. The state here should be NO_REGISTERS. It was spuriously changed to from NO_REGISTERS to TOS_REG when TOS_EAX was renamed to TOS_REG. BUG=v8:1113 Review URL: http://codereview.chromium.org/6452007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6682 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/full-codegen.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/full-codegen.cc b/src/full-codegen.cc index 4ed3fecfe8..252fb9257a 100644 --- a/src/full-codegen.cc +++ b/src/full-codegen.cc @@ -913,7 +913,7 @@ void FullCodeGenerator::VisitBlock(Block* stmt) { Breakable nested_statement(this, stmt); SetStatementPosition(stmt); - PrepareForBailoutForId(stmt->EntryId(), TOS_REG); + PrepareForBailoutForId(stmt->EntryId(), NO_REGISTERS); VisitStatements(stmt->statements()); __ bind(nested_statement.break_target()); PrepareForBailoutForId(stmt->ExitId(), NO_REGISTERS);