1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mfbt/double-conversion/use-mozilla-assertions.patch Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h 1.5 +--- a/mfbt/double-conversion/utils.h 1.6 ++++ b/mfbt/double-conversion/utils.h 1.7 +@@ -31,15 +31,15 @@ 1.8 + #include <stdlib.h> 1.9 + #include <string.h> 1.10 + 1.11 +-#include <assert.h> 1.12 ++#include "mozilla/Assertions.h" 1.13 + #ifndef ASSERT 1.14 +-#define ASSERT(condition) (assert(condition)) 1.15 ++#define ASSERT(condition) MOZ_ASSERT(condition) 1.16 + #endif 1.17 + #ifndef UNIMPLEMENTED 1.18 +-#define UNIMPLEMENTED() (abort()) 1.19 ++#define UNIMPLEMENTED() MOZ_CRASH() 1.20 + #endif 1.21 + #ifndef UNREACHABLE 1.22 +-#define UNREACHABLE() (abort()) 1.23 ++#define UNREACHABLE() MOZ_CRASH() 1.24 + #endif 1.25 + 1.26 + // Double operations detection based on target architecture.