From: yangguo@chromium.org Date: Mon, 26 Nov 2012 08:47:48 +0000 (+0000) Subject: Fix valgrind warnings. X-Git-Tag: upstream/4.7.83~15572 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c251ec924519cc11f20611c7a7c7924f2268f94;p=platform%2Fupstream%2Fv8.git Fix valgrind warnings. BUG= Review URL: https://chromiumcodereview.appspot.com/11418138 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13050 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/compiler.h b/src/compiler.h index af94595..62eedc2 100644 --- a/src/compiler.h +++ b/src/compiler.h @@ -293,6 +293,8 @@ 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