Skip to content
Commit 86964a96 authored by Chris Lattner's avatar Chris Lattner
Browse files

Change the key of CGRecordLayouts from being an llvm type* to being a decl*. LLVM

Type*'s can change as types are refined, so we can't use them as a stable key in
the map.  Decls don't change, so use them instead.

This patch was written by Anders, but he's too shy to commit it himself :)

llvm-svn: 46743
parent b977b6a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment