• Lei Zhang's avatar
    Fix the MSVC build. · ee062769
    Lei Zhang authored
    In LiftoffCompiler::EmitTypeConversion() there is a DCHECK_EQ() where
    one argument is implicitly converted to bool. This confuses MSVC, which
    causes it to think the two arguments to DCHECK_EQ() do not have the same
    type. Fix this with an explicit bool conversion!!
    
    This does not affect the "v8_win64_msvc_compile_rel" bot, presumably
    because it is a release bot with DCHECKs turned off.
    
    Change-Id: I602ddae7a970e17388730e895eafd4ec78de7602
    Reviewed-on: https://chromium-review.googlesource.com/1187702Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Lei Zhang <thestig@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55381}
    ee062769
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
DEPS Loading commit data...
liftoff-assembler-defs.h Loading commit data...
liftoff-assembler.cc Loading commit data...
liftoff-assembler.h Loading commit data...
liftoff-compiler.cc Loading commit data...
liftoff-compiler.h Loading commit data...
liftoff-register.h Loading commit data...