Skip to content

Commit

Permalink
Backed out changeset c8e5a0703821 (bug 1283395) for bustage on a CLOS…
Browse files Browse the repository at this point in the history
…ED TREE
  • Loading branch information
BavarianTomcat committed Jul 21, 2016
1 parent a227097 commit a6408ce
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 50 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
46 changes: 0 additions & 46 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 @@ -84,7 +84,6 @@ EXPORTS.mozilla = [
'SizePrintfMacros.h',
'Snprintf.h',
'SplayTree.h',
'StaticAnalysisFunctions.h',
'TaggedAnonymousMemory.h',
'TemplateLib.h',
'ThreadLocal.h',
Expand Down

0 comments on commit a6408ce

Please sign in to comment.