From 645f5265d9bf50ffc3e40f00b97ae61f779e3e71 Mon Sep 17 00:00:00 2001 From: "sanjoy@chromium.org" Date: Tue, 17 Jul 2012 16:53:34 +0000 Subject: [PATCH] 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 --- src/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler.h b/src/compiler.h index dfc11bd8eb..6df21de357 100644 --- a/src/compiler.h +++ b/src/compiler.h @@ -45,7 +45,7 @@ class CompilationInfo BASE_EMBEDDED { CompilationInfo(Handle shared_info, Zone* zone); CompilationInfo(Handle closure, Zone* zone); - ~CompilationInfo(); + virtual ~CompilationInfo(); Isolate* isolate() { ASSERT(Isolate::Current() == isolate_);