Bug 1208908 - Fix a conditional statement in BytecodeRangeWithPosition::updatePosition(); r=ejpbruel

Found by Viva64.
This commit is contained in:
Ehsan Akhgari 2015-09-27 17:39:06 -04:00
parent a1378e0006
commit c95cb0a607

View File

@ -4895,7 +4895,7 @@ class BytecodeRangeWithPosition : private BytecodeRange
ptrdiff_t colspan = SN_OFFSET_TO_COLSPAN(GetSrcNoteOffset(sn, 0));
MOZ_ASSERT(ptrdiff_t(column) + colspan >= 0);
column += colspan;
} if (type == SRC_SETLINE) {
} else if (type == SRC_SETLINE) {
lineno = size_t(GetSrcNoteOffset(sn, 0));
column = 0;
} else if (type == SRC_NEWLINE) {