Fixes rdar://8459342. llvm-svn: 114955
pointer. Original patch by Troy D. Straszheim; fixes PR7283. llvm-svn: 105621