Merge "Check if the type of an instruction is erroneous before inlining."
am: 459898d

* commit '459898dc4470559ba1e1d578bc52a914d1f573f5':
  Check if the type of an instruction is erroneous before inlining.