After transitioning to constant function, return the constant function as result...
authorverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 Jul 2012 09:31:30 +0000 (09:31 +0000)
committerverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 Jul 2012 09:31:30 +0000 (09:31 +0000)
commit1007696cdb4daa891b0466817a50811013d0d6dc
treebeceba70b3c9f3d5fcc2c3e0f227cde1c4b928f7
parent5b69228e56a8b0ac25e074d95a3c12c061f219ad
After transitioning to constant function, return the constant function as result of the assignment.

BUG=v8:2226
TEST=test/mjsunit/regress/regress-2226.js

Review URL: https://chromiumcodereview.appspot.com/10700137

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12024 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/objects.cc
test/mjsunit/regress/regress-2226.js [new file with mode: 0644]