Fix some of the issues found by Viva64 static analyser
authorChris McKinsey <chrismck@microsoft.com>
Thu, 26 Mar 2015 08:04:05 +0000 (01:04 -0700)
committerChris McKinsey <chrismck@microsoft.com>
Sat, 28 Mar 2015 05:37:51 +0000 (22:37 -0700)
commitab375469349cddd0045da1ff8e582c21b109a484
tree17a8186a9db1652ea099880480bb9cea8ef30544
parent898cdcf05ae334252b354a1f5bae9e26be1912ec
Fix some of the issues found by Viva64 static analyser

Eliminate some unnecessary null check.
Remove null-checks on this and guard instance calls with null-checks.
Collapse a redundant then/else case.
src/jit/gentree.cpp
src/jit/instr.cpp
src/jit/morph.cpp