Skip to content
  • Bob Wilson's avatar
    bf436191
    Fix failure messages in Verifier::PerformTypeCheck. The argument numbers · bf436191
    Bob Wilson authored
    passed in to this function changed to support multiple return values,
    leading to some incorrect argument numbers in the failure messages.
    With this change, the ArgNo values used for return values and parameters are
    disjoint, and the new IntrinsicParam function translates those ArgNo values
    to strings that can be used in the messages.  This also fixes a few places
    where PerformTypeCheck did not return false following calls to CheckFailed.
    
    llvm-svn: 61903
    bf436191
    Fix failure messages in Verifier::PerformTypeCheck. The argument numbers
    Bob Wilson authored
    passed in to this function changed to support multiple return values,
    leading to some incorrect argument numbers in the failure messages.
    With this change, the ArgNo values used for return values and parameters are
    disjoint, and the new IntrinsicParam function translates those ArgNo values
    to strings that can be used in the messages.  This also fixes a few places
    where PerformTypeCheck did not return false following calls to CheckFailed.
    
    llvm-svn: 61903
Loading