Skip to content

Commit

Permalink
Backed out changeset 9c839b1d1397 (bug 1283395) for static build bust…
Browse files Browse the repository at this point in the history
…age CLOSED TREE
  • Loading branch information
KWierso committed Jul 25, 2016
1 parent 679c3f3 commit 8f393db
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 54 deletions.
5 changes: 2 additions & 3 deletions mfbt/Assertions.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "mozilla/Compiler.h"
#include "mozilla/Likely.h"
#include "mozilla/MacroArgs.h"
#include "mozilla/StaticAnalysisFunctions.h"
#ifdef MOZ_DUMP_ASSERTION_STACK
#include "nsTraceRefcnt.h"
#endif
Expand Down Expand Up @@ -369,7 +368,7 @@ struct AssertionConditionType
#define MOZ_ASSERT_HELPER1(expr) \
do { \
MOZ_VALIDATE_ASSERT_CONDITION_TYPE(expr); \
if (MOZ_UNLIKELY(!MOZ_CHECK_ASSERT_ASSIGNMENT(expr))) { \
if (MOZ_UNLIKELY(!(expr))) { \
MOZ_ReportAssertionFailure(#expr, __FILE__, __LINE__); \
MOZ_CRASH_ANNOTATE("MOZ_RELEASE_ASSERT(" #expr ")"); \
MOZ_REALLY_CRASH(); \
Expand All @@ -379,7 +378,7 @@ struct AssertionConditionType
#define MOZ_ASSERT_HELPER2(expr, explain) \
do { \
MOZ_VALIDATE_ASSERT_CONDITION_TYPE(expr); \
if (MOZ_UNLIKELY(!MOZ_CHECK_ASSERT_ASSIGNMENT(expr))) { \
if (MOZ_UNLIKELY(!(expr))) { \
MOZ_ReportAssertionFailure(#expr " (" explain ")", __FILE__, __LINE__); \
MOZ_CRASH_ANNOTATE("MOZ_RELEASE_ASSERT(" #expr ") (" explain ")"); \
MOZ_REALLY_CRASH(); \
Expand Down
50 changes: 0 additions & 50 deletions mfbt/StaticAnalysisFunctions.h

This file was deleted.

1 change: 0 additions & 1 deletion mfbt/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ EXPORTS.mozilla = [
'SizePrintfMacros.h',
'Snprintf.h',
'SplayTree.h',
'StaticAnalysisFunctions.h',
'TaggedAnonymousMemory.h',
'TemplateLib.h',
'ThreadLocal.h',
Expand Down

0 comments on commit 8f393db

Please sign in to comment.