Skip to content
  • John McCall's avatar
    When devirtualizing the conversion to a virtual base subobject, · 13a39c6f
    John McCall authored
    don't explode if the offset we get is zero.  This can happen if
    you have an empty virtual base class.
    
    While I'm at it, remove an unnecessary block from the IR-generation
    of the null-check, mark the eventual GEP as inbounds, and generally
    prettify.
    
    llvm-svn: 161100
    13a39c6f
Loading