Make CompilationInfo::~CompilationInfo() virtual so that CompilationInfoWithZone destructs correctly.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10789039

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12114 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
sanjoy@chromium.org 2012-07-17 16:53:34 +00:00
parent bbef3a0975
commit 645f5265d9

View File

@ -45,7 +45,7 @@ class CompilationInfo BASE_EMBEDDED {
CompilationInfo(Handle<SharedFunctionInfo> shared_info, Zone* zone); CompilationInfo(Handle<SharedFunctionInfo> shared_info, Zone* zone);
CompilationInfo(Handle<JSFunction> closure, Zone* zone); CompilationInfo(Handle<JSFunction> closure, Zone* zone);
~CompilationInfo(); virtual ~CompilationInfo();
Isolate* isolate() { Isolate* isolate() {
ASSERT(Isolate::Current() == isolate_); ASSERT(Isolate::Current() == isolate_);