Skip to content
Commit aaffd706 authored by NAKAMURA Takumi's avatar NAKAMURA Takumi
Browse files

Instruction::isIdenticalToWhenDefined(): Check getNumOperands() in advance of...

Instruction::isIdenticalToWhenDefined(): Check getNumOperands() in advance of std::equal(op) to appease MSVC Debug build.

MSVC Debug build is confused with (possibly invalid) op_begin(), if op_begin() == op_end().

llvm-svn: 210000
parent 0021013b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment