Instruction::TestEmulation takes a Stream * and checks it for validity.
However, this is unnecessary as we can always ensure that we never pass
nullptr for the Stream argument. The only use of
Instruction::TestEmulation currently is SBInstruction::TestEmulation
which gets the Stream from an SBStream, and SBStream::ref can
return a Stream & guaranteed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo