Replace several field comparisons with a single pointer comparison
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 25 Mar 2010 00:53:53 +0000 (17:53 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 25 Mar 2010 00:53:53 +0000 (17:53 -0700)
commit664da2510aa11c5319acad3bd6e96a9504a0b3fc
tree75531116ba55e501526c60356d06c22d693b359e
parent532edd9bc49ce3430e5084957e2ecf453d1c3d24
Replace several field comparisons with a single pointer comparison

The only way the specified type fields can match is if the types are the
same.  Previous tests (and assertions) have filtered away all other possible
cases.
ast_to_hir.cpp