Compilation type and state allocate an unnecessary Smi on v8::Script.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 29 Jul 2013 17:59:02 +0000 (17:59 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 29 Jul 2013 17:59:02 +0000 (17:59 +0000)
commit9f4fc77e1e2b83b762bbd6766fcdb325759ca9a9
tree46567fdb9bf4ca826ddfb25ad1ce18eda02afbb0
parent4ab26b7ed4922f009287442292a7346dbdeb078b
Compilation type and state allocate an unnecessary Smi on v8::Script.

This patch combines them into a single field, and adjusts the accessors
and setters to take the enum type directly, rather than converting to and
from a Smi value.

R=mstarzinger@chromium.org

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

Patch from Mike West <mkwst@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15940 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/accessors.cc
src/compiler.cc
src/factory.cc
src/isolate.cc
src/liveedit.cc
src/objects-inl.h
src/objects-printer.cc
src/objects.h
src/runtime.cc