Bug 921099 - Remove alignment assertions in AudioNodeEngineNEON.cpp for now. r=ehsan
--- a/content/media/AudioNodeEngineNEON.cpp
+++ b/content/media/AudioNodeEngineNEON.cpp
@@ -1,17 +1,18 @@
/* -*- mode: c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* this source code form is subject to the terms of the mozilla public
* license, v. 2.0. if a copy of the mpl was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "AudioNodeEngineNEON.h"
#include <arm_neon.h>
-#ifdef DEBUG
+//#ifdef DEBUG
+#if 0 // see bug 921099
#define ASSERT_ALIGNED(ptr) \
MOZ_ASSERT((((uintptr_t)ptr + 15) & ~0x0F) == (uintptr_t)ptr, \
#ptr " has to be aligned 16-bytes aligned.");
#else
#define ASSERT_ALIGNED(ptr)
#endif
#define ADDRESS_OF(array, index) ((float32_t*)&array[index])