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:
parent
bbef3a0975
commit
645f5265d9
@ -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_);
|
||||||
|
Loading…
Reference in New Issue
Block a user