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 9d2935a7ed
commit 2c2b278f37

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;
}
};