MdeModulePkg/EbcDxe: Avoid Non-Boolean type used as Boolean

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Pete Batard <pete@akeo.ie>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Jiewen.yao@intel.com
This commit is contained in:
Dandan Bi
2016-12-01 17:07:09 +08:00
committed by Star Zeng
parent 3e118ea87d
commit 532daaed0d
5 changed files with 97 additions and 97 deletions

View File

@@ -2987,7 +2987,7 @@ ExecuteCALL (
Opcode = GETOPCODE (VmPtr);
Operands = GETOPERANDS (VmPtr);
if (Operands & OPERAND_M_NATIVE_CALL) {
if ((Operands & OPERAND_M_NATIVE_CALL) != 0) {
EbcDebuggerHookCALLEXStart (VmPtr);
} else {
EbcDebuggerHookCALLStart (VmPtr);
@@ -3094,7 +3094,7 @@ ExecuteCALL (
}
}
if (Operands & OPERAND_M_NATIVE_CALL) {
if ((Operands & OPERAND_M_NATIVE_CALL) != 0) {
EbcDebuggerHookCALLEXEnd (VmPtr);
} else {
EbcDebuggerHookCALLEnd (VmPtr);