Some cleanup fixes
authormvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 20 Sep 2013 09:27:40 +0000 (09:27 +0000)
committermvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 20 Sep 2013 09:27:40 +0000 (09:27 +0000)
commit1b576e1e8608642db51865c95e3d284f407e8a41
treedf4bd3d67f3108bd10b19cea53fe322145fc11d6
parent1a3f3b05698f7219f4f396f77731e3421abcc9cd
Some cleanup fixes

* Consolidated CopyJSObject and CopyJSObjectWithAllocationSite
* Factory.h helper for struct maps.
* BuildFastLiteral shouldn't create allocation sites in pretenuring mode.

BUG=
R=mstarzinger@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16855 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 files changed:
src/arm/code-stubs-arm.cc
src/arm/macro-assembler-arm.cc
src/code-stubs-hydrogen.cc
src/factory.h
src/heap.cc
src/heap.h
src/hydrogen.cc
src/ia32/code-stubs-ia32.cc
src/ia32/macro-assembler-ia32.cc
src/mips/code-stubs-mips.cc
src/mips/macro-assembler-mips.cc
src/runtime.cc
src/x64/code-stubs-x64.cc