Bug 1074911 - Replace JS_ASSERT_IF by MOZ_ASSERT_IF. r=jorendorff
Apply the following script
sed -i '
/JS_ASSERT_IF(/ {
s/JS_ASSERT_IF(/MOZ_ASSERT_IF(/;
:b;
s/ \\$/\\/;
/;/ { p; d; };
n;
s/^/ /;
b b;
};
s/JS_ASSERT_IF (/MOZ_ASSERT_IF(/;
'
This commit is contained in:
@@ -257,7 +257,7 @@ JSRuntime::sweepAtoms()
|
||||
bool isDying = IsStringAboutToBeFinalized(&atom);
|
||||
|
||||
/* Pinned or interned key cannot be finalized. */
|
||||
JS_ASSERT_IF(hasContexts() && entry.isTagged(), !isDying);
|
||||
MOZ_ASSERT_IF(hasContexts() && entry.isTagged(), !isDying);
|
||||
|
||||
if (isDying)
|
||||
e.removeFront();
|
||||
|
||||
Reference in New Issue
Block a user