Reviewers: Mads Ager,

Description:
Fix issue 974.

When entering a finally block in unoptimized code, we unconditionally
save the accumulator register in the stack in case it holds a return
value or an exception.  In the case of a break, continue, or falling
off the end of the try or catch block, this value is unpredictable and
not necessarily safe for GC.

Please review this at http://codereview.chromium.org/5883003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge/build/ia32

Affected files:
  M src/arm/full-codegen-arm.cc
  M src/full-codegen.h
  M src/full-codegen.cc
  M src/ia32/full-codegen-ia32.cc
  M src/x64/full-codegen-x64.cc
  A test/mjsunit/regress/regress-974.js


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to