diff options
author | Dmitry-Me <wipedout@yandex.ru> | 2016-10-19 14:55:23 +0300 |
---|---|---|
committer | Dmitry-Me <wipedout@yandex.ru> | 2016-10-19 14:55:23 +0300 |
commit | 26b030d304fc9175317047cbe1a6eb4dc02d7e38 (patch) | |
tree | 4dc29875bc64d09dd6198e83349e31090532369f | |
parent | bc6bd52c44209647bc2541dad55a05cb2058f76f (diff) | |
download | coreclr-26b030d304fc9175317047cbe1a6eb4dc02d7e38.tar.gz coreclr-26b030d304fc9175317047cbe1a6eb4dc02d7e38.tar.bz2 coreclr-26b030d304fc9175317047cbe1a6eb4dc02d7e38.zip |
Fix broken range check
-rw-r--r-- | src/ilasm/assembler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ilasm/assembler.cpp b/src/ilasm/assembler.cpp index 690da64890..49d4ee9712 100644 --- a/src/ilasm/assembler.cpp +++ b/src/ilasm/assembler.cpp @@ -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); } |