Merge pull request #7772 from jkotas/gcinfo-cleanup
authorJan Kotas <jkotas@microsoft.com>
Mon, 24 Oct 2016 18:51:06 +0000 (11:51 -0700)
committerGitHub <noreply@github.com>
Mon, 24 Oct 2016 18:51:06 +0000 (11:51 -0700)
GCInfoDecoder cleanup

src/ilasm/assembler.cpp

index 690da64..49d4ee9 100644 (file)
@@ -1725,7 +1725,7 @@ void Assembler::EmitInstrBrOffset(Instr* instr, int offset)
     unsigned opc=instr->opcode;
     if(m_fOptimize)
     {
-        if((-128 >= offset)&&(offset <= 127))
+        if((-128 <= offset)&&(offset <= 127))
         {
             opc = instr->opcode = ShortOf(opc);
         }