reorder the fields in DILexicalBlockFile to match the common prefix for DIScopes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177754 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie
2013-03-22 19:13:22 +00:00
parent 57ba122e76
commit 7b246860bd
3 changed files with 29 additions and 23 deletions

View File

@@ -1007,8 +1007,8 @@ DILexicalBlockFile DIBuilder::createLexicalBlockFile(DIDescriptor Scope,
DIFile File) {
Value *Elts[] = {
GetTagConstant(VMContext, dwarf::DW_TAG_lexical_block),
Scope,
File
File,
Scope
};
DILexicalBlockFile R(MDNode::get(VMContext, Elts));
assert(