Introduce subclasses of class CompilationInfo.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 30 Sep 2010 08:48:37 +0000 (08:48 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 30 Sep 2010 08:48:37 +0000 (08:48 +0000)
commitf21b34ef0f518cdc84f536915560f22f1fea0fa8
treeef9abad6bdd8bd8757c533bf444b160a504caf14
parentd46fb9d454ea932140ebc8fb6edfbffa403ae996
Introduce subclasses of class CompilationInfo.

It was a wart that we had three handle fields, exactly one of which
was non-null; and that we had three overloaded constructors.  Instead,
introduce subclasses and virtual methods.

Remove some unused fields from class CompilationInfo.

Review URL: http://codereview.chromium.org/3566003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5560 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler.cc
src/compiler.h
src/handles.cc
src/liveedit.cc