зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1102964 - Fix optimized build unused variable warnings in jit/. r=sunfish
--HG-- extra : rebase_source : 936082739eb5ea0da62e10a408b8601cb6622cc2
This commit is contained in:
Родитель
f3f0c8c515
Коммит
3e69cb4917
|
@ -392,7 +392,8 @@ PatchBaselineFramesForDebugMode(JSContext *cx, const Debugger::ExecutionObservab
|
|||
// We undo a previous recompile by handling cases B, C, D, and E
|
||||
// like normal, except that we retrieved the pc information via
|
||||
// the previous OSR debug info stashed on the frame.
|
||||
if (BaselineDebugModeOSRInfo *info = iter.baselineFrame()->getDebugModeOSRInfo()) {
|
||||
BaselineDebugModeOSRInfo *info = iter.baselineFrame()->getDebugModeOSRInfo();
|
||||
if (info) {
|
||||
MOZ_ASSERT(info->pc == pc);
|
||||
MOZ_ASSERT(info->frameKind == kind);
|
||||
|
||||
|
|
|
@ -234,7 +234,8 @@ class Range : public TempObject {
|
|||
// exponent 30, which is strictly less than MaxInt32Exponent. For
|
||||
// another example, 1.9 has an exponent of 0 but requires upper_ to be
|
||||
// at least 2, which has exponent 1.
|
||||
uint32_t adjustedExponent = max_exponent_ + (canHaveFractionalPart_ ? 1 : 0);
|
||||
mozilla::DebugOnly<uint32_t> adjustedExponent = max_exponent_ +
|
||||
(canHaveFractionalPart_ ? 1 : 0);
|
||||
MOZ_ASSERT_IF(!hasInt32LowerBound_ || !hasInt32UpperBound_,
|
||||
adjustedExponent >= MaxInt32Exponent);
|
||||
MOZ_ASSERT(adjustedExponent >= mozilla::FloorLog2(mozilla::Abs(upper_)));
|
||||
|
|
Загрузка…
Ссылка в новой задаче