Reviewers: Michail Naganov,

Description:
Guard VMState trakcing with ENABLE_VMSTATE_TRACKING instead of
ENABLE_HEAP_PROTECTION.

[email protected]

Please review this at http://codereview.chromium.org/2098017/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/api.cc


Index: src/api.cc
===================================================================
--- src/api.cc  (revision 4695)
+++ src/api.cc  (working copy)
@@ -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


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to