aboutsummaryrefslogtreecommitdiff
path: root/lib/IR/DIBuilder.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-22 19:13:22 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-22 19:13:22 +0000
commit7b246860bdf4c6b3ea4e09f6437537941cc0d1d4 (patch)
treea077d7c10d33d4ec7ee5d57cef47770b85842169 /lib/IR/DIBuilder.cpp
parent57ba122e76280a4101c5913ff72d07c64933a468 (diff)
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
Diffstat (limited to 'lib/IR/DIBuilder.cpp')
-rw-r--r--lib/IR/DIBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp
index fe2176cf60..56024573de 100644
--- a/lib/IR/DIBuilder.cpp
+++ b/lib/IR/DIBuilder.cpp
@@ -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(