Revision: 6682 Author: [email protected] Date: Tue Feb 8 07:51:49 2011 Log: 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 http://code.google.com/p/v8/source/detail?r=6682 Modified: /branches/bleeding_edge/src/full-codegen.cc ======================================= --- /branches/bleeding_edge/src/full-codegen.cc Thu Feb 3 02:07:22 2011 +++ /branches/bleeding_edge/src/full-codegen.cc Tue Feb 8 07:51:49 2011 @@ -913,7 +913,7 @@ 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); -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
