Give each function prototype a fresh copy of the object function map.
authorfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 22 Sep 2011 12:57:54 +0000 (12:57 +0000)
committerfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 22 Sep 2011 12:57:54 +0000 (12:57 +0000)
commitc6a3422c04810897412ca90eab0099349f5ea210
treeab476fdb008c2ea5d3b0da6d47292a5bce2084e3
parentf48c9f65572cd7f600adb05fe6166b8838134586
Give each function prototype a fresh copy of the object function map.

This avoid unwanted sharing between different function prototypes and in
general should help inlining because constant function properties on one
prototype don't affect other prototypes anymore.

BUG=v8:1716
Review URL: http://codereview.chromium.org/7994001

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9393 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc
src/objects.cc