Allow monomorphic loads when static type is known.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Jan 2013 17:54:30 +0000 (17:54 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Jan 2013 17:54:30 +0000 (17:54 +0000)
commit44ffa0dcd3443bed8b8aad68f342e0735e7e8fc7
treed8b200555ce42ac191947b6001ba52138d1f1555
parent04c8093fe15c38d353fc11bc5e2cea3fbc182bc3
Allow monomorphic loads when static type is known.

This allows Crankshaft to generate monomorphic loads when the receiver
type is statically known even though the load site has polymorphic type
feedback. This applies to inlined constructor calls and literals.

R=jkummerow@chromium.org
TEST=mjsunit/compiler/property-static

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13500 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/hydrogen-instructions.cc
src/hydrogen-instructions.h
src/hydrogen.cc
test/mjsunit/compiler/property-static.js [new file with mode: 0644]