Bug 921099 - Remove alignment assertions in AudioNodeEngineNEON.cpp for now. r=ehsan
authorPaul Adenot <paul@paul.cx>
Mon, 30 Sep 2013 15:04:54 -0400
changeset 149364 93e0f4316262035f978ba8ed32a924111b2a2382
parent 149363 22e91a399223a7131275b6c4890f5bc001d916ba
child 149365 e1c5dfcd2f38619d272db3780b351edd0f930193
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersehsan
bugs921099
milestone27.0a1
Bug 921099 - Remove alignment assertions in AudioNodeEngineNEON.cpp for now. r=ehsan
content/media/AudioNodeEngineNEON.cpp
--- 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])