Ensure that Code objects' kind specific flags are initialized properly.
authorjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 13 Dec 2013 10:27:19 +0000 (10:27 +0000)
committerjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 13 Dec 2013 10:27:19 +0000 (10:27 +0000)
commit28cab36838a9b105de5f7acdb7d67c7a75970d7e
tree018a9b66973ef2acc760f0c490a3f3312a36236b
parent213b05b5b9c618fde4ffbd39c330351bd4b45a48
Ensure that Code objects' kind specific flags are initialized properly.

Also, have the stub cache set a valid MajorKey on stubs it creates.
Getting weird random bits frightens and confuses the poor simple type feedback oracle.

R=hpayer@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18309 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/code-stubs.cc
src/code-stubs.h
src/heap.cc
src/objects-inl.h
src/objects.h
src/stub-cache.cc