From: ager@chromium.org Date: Fri, 21 May 2010 09:01:19 +0000 (+0000) Subject: Guard VMState trakcing with ENABLE_VMSTATE_TRACKING instead of X-Git-Tag: upstream/4.7.83~21766 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3f545f2e5d627c6108f33546879e35b98f1c275;p=platform%2Fupstream%2Fv8.git Guard VMState trakcing with ENABLE_VMSTATE_TRACKING instead of ENABLE_HEAP_PROTECTION. TBR=mnaganov@chromium.org Review URL: http://codereview.chromium.org/2098017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4696 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/api.cc b/src/api.cc index d944d3c..cf940c6 100644 --- a/src/api.cc +++ b/src/api.cc @@ -48,7 +48,7 @@ #define LOG_API(expr) LOG(ApiEntryCall(expr)) -#ifdef ENABLE_HEAP_PROTECTION +#ifdef ENABLE_VMSTATE_TRACKING #define ENTER_V8 i::VMState __state__(i::OTHER) #define LEAVE_V8 i::VMState __state__(i::EXTERNAL) #else