Bug 964016 - Part 1: Replace JS_LIKELY with MOZ_LIKELY. r=luke

This commit is contained in:
Chris Peterson
2014-01-25 22:04:37 -08:00
parent 337e8da51a
commit 160d063513
12 changed files with 22 additions and 22 deletions

View File

@@ -4413,7 +4413,7 @@ js::NativeSet(typename ExecutionModeTraits<mode>::ContextType cxArg,
* unless the setter deleted the shape.
*/
if (shape->hasSlot() &&
(JS_LIKELY(cx->runtime()->propertyRemovals == sample) ||
(MOZ_LIKELY(cx->runtime()->propertyRemovals == sample) ||
obj->nativeContains(cx, shape)))
{
obj->setSlot(shape->slot(), vp);