Bug 957075 - Add missing parentheses, silence an MSVC warning. r=shu

--HG--
extra : rebase_source : 5c95b5a56b3e03cb2933582226ce03d32df23a85
This commit is contained in:
Jan de Mooij 2014-01-08 12:46:52 +01:00
parent 6bacda007f
commit b5ec9cef88

View File

@ -502,7 +502,7 @@ class js::AutoDebugModeInvalidation
// must all agree on the toggle. This is so we can decide if we need
// to invalidate on-stack scripts.
MOZ_ASSERT_IF(needInvalidation_ != NoNeed,
needInvalidation_ == debugMode ? ToggledOn : ToggledOff);
needInvalidation_ == (debugMode ? ToggledOn : ToggledOff));
needInvalidation_ = debugMode ? ToggledOn : ToggledOff;
}
};