Reviewers: rossberg,

Description:
Fix compilation with verify heap on in release mode

BUG=none
[email protected]
LOG=n

Please review this at https://codereview.chromium.org/788603002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+1, -1 lines):
  M src/objects-inl.h


Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index aeddfd14b54c2f74fc28868527382e995ca9291f..b36cff97bc1b2129ceeb1be41ecb5a223a6a88e3 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<FixedArrayBase*>(READ_FIELD(this, kElementsOffset));



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to