Reviewers: rossberg,

Description:
Fix assignment of function name constant.

If it's shadowed by a variable of the same name and both are forcibly
context-allocated, the function is assigned to the wrong context slot.


[email protected]
BUG=v8:3138
LOG=Y

Please review this at https://codereview.chromium.org/159903008/

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

Affected files (+191, -165 lines):
  M src/a64/full-codegen-a64.cc
  M src/arm/full-codegen-arm.cc
  M src/full-codegen.h
  M src/ia32/full-codegen-ia32.cc
  M src/x64/full-codegen-x64.cc
  A test/mjsunit/regress/regress-3138.js


--
--
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