OSDN Git Service

An MCDisassembler has the option to not implement
authorShantonu Sen <ssen@apple.com>
Tue, 5 Apr 2011 18:40:45 +0000 (18:40 +0000)
committerShantonu Sen <ssen@apple.com>
Tue, 5 Apr 2011 18:40:45 +0000 (18:40 +0000)
commit0da9f13faa696759150fa29e42e5ee107ee0b712
tree2d00f4fc3d4d3975964a30f7c519a8c576d27412
parent215e4fdbf9da460cb5e2d42a8df96530534ec382
An MCDisassembler has the option to not implement
getEDInfo(), in which case this code would dereference
NULL. EDInst can already handle NULL info, so avoid
the dereference and pass NULL through.

Reviewed by Sean Callanan

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128904 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCDisassembler/EDDisassembler.cpp