Commit 645f5265 authored by sanjoy@chromium.org's avatar sanjoy@chromium.org

Make CompilationInfo::~CompilationInfo() virtual so that...

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
parent bbef3a09
...@@ -45,7 +45,7 @@ class CompilationInfo BASE_EMBEDDED { ...@@ -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_);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment