Set code on the SharedFunctionInfo before creating the function.
authorverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 22 Apr 2014 08:30:09 +0000 (08:30 +0000)
committerverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 22 Apr 2014 08:30:09 +0000 (08:30 +0000)
commitc9db6148a9957544150b80c6f417cc640272eead
tree6d9df4fdbeb85376eab59d5851227cb9c82eec3f
parentaf0514117624daf6c04434f232c6a7d1af5a1707
Set code on the SharedFunctionInfo before creating the function.

BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/238773009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20873 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/bootstrapper.cc
src/factory.cc
src/factory.h
test/cctest/test-alloc.cc
test/cctest/test-heap.cc
test/cctest/test-mark-compact.cc
test/cctest/test-weakmaps.cc
test/cctest/test-weaksets.cc