On 2012/10/11 12:24:59, danno wrote:
DBC: We should keep a build flag (VERIFY_HEAP_CODE?) to conditionally add-in
the
verification code, but make it something other than DEBUG. Then, add a gyp
flag
for the ASAN folks to keep the code in the release build. DEBUG should imply VERIFY_HEAP_CODE, and VERIFY_HEAP_CODE should be controllable via a gyp flag.
In
the production release, VERIFY_HEAP_CODE can be null to strip unnecessary
code.
Good idea, doing this now. As an aside this makes it easier to bring in full deep object verification without worrying too much about bloating default release builds. http://codereview.chromium.org/11085070/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
