commit | 6679ee4e805f606264ed4e03449b957c9212cfb6 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Mon May 18 22:02:36 2009 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Mon May 18 22:02:36 2009 +0000 |
tree | 4287a9d26a8541434b4f733a18bceee29ba4f43e | |
parent | 94c9cd17de1a21fbc69969f66a8b1af145d55c0c [diff] |
RecordVariable is called each time a DECLARE node is encountered. For an inlined function, this could be many, many times. We don't want to re-add variables to that DIE for each time. We just want to add them once. Check to make sure that we haven't added them already. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72047 91177308-0d34-0410-b5e6-96231b3b80d8