Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 4d7644c7ff4d5d620a72d718da95b8d1320bdef3..0191bb295646c67937a3f01193fdd2da06a5b71d 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -49,7 +49,7 @@ class CompilationInfo { |
CompilationInfo(Handle<JSFunction> closure, Zone* zone); |
CompilationInfo(HydrogenCodeStub* stub, Isolate* isolate, Zone* zone); |
- virtual ~CompilationInfo(); |
+ ~CompilationInfo(); |
Isolate* isolate() { |
ASSERT(Isolate::Current() == isolate_); |
@@ -349,8 +349,6 @@ class CompilationInfo { |
// Zone on construction and deallocates it on exit. |
class CompilationInfoWithZone: public CompilationInfo { |
public: |
- INLINE(void* operator new(size_t size)) { return Malloced::New(size); } |
- |
explicit CompilationInfoWithZone(Handle<Script> script) |
: CompilationInfo(script, &zone_), |
zone_(script->GetIsolate()), |