Bug 1036782 - Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in js/src. r=jorendorff

This commit is contained in:
Chris Peterson
2014-07-14 19:14:54 -07:00
parent 68c2f09388
commit 2ff2fed875
46 changed files with 267 additions and 263 deletions

View File

@@ -2164,7 +2164,7 @@ js::XDRObjectLiteral(XDRState<mode> *xdr, MutableHandleObject obj)
else if (JSID_IS_ATOM(id))
idType = JSID_TYPE_STRING;
else
MOZ_ASSUME_UNREACHABLE("Object property is not yet supported by XDR.");
MOZ_CRASH("Object property is not yet supported by XDR.");
tmpValue = obj->getSlot(i);
}