From 7a21cf2f773796b5a1137fdfe9099ed4c376bc27 Mon Sep 17 00:00:00 2001 From: Jochen Eisinger Date: Mon, 8 Dec 2014 10:52:44 +0100 Subject: [PATCH] Fix compilation with verify heap on in release mode BUG=none TBR=rossberg@chromium.org LOG=n Review URL: https://codereview.chromium.org/788603002 Cr-Commit-Position: refs/heads/master@{#25702} --- src/objects-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects-inl.h b/src/objects-inl.h index aeddfd14b5..b36cff97bc 100644 --- a/src/objects-inl.h +++ b/src/objects-inl.h @@ -6536,7 +6536,7 @@ void JSRegExp::SetDataAt(int index, Object* value) { ElementsKind JSObject::GetElementsKind() { ElementsKind kind = map()->elements_kind(); -#if VERIFY_HEAP +#if VERIFY_HEAP && DEBUG FixedArrayBase* fixed_array = reinterpret_cast(READ_FIELD(this, kElementsOffset));