aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineDebugInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/MachineDebugInfo.cpp')
-rw-r--r--lib/CodeGen/MachineDebugInfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/MachineDebugInfo.cpp b/lib/CodeGen/MachineDebugInfo.cpp
index 2e3c034898..09d0d2b080 100644
--- a/lib/CodeGen/MachineDebugInfo.cpp
+++ b/lib/CodeGen/MachineDebugInfo.cpp
@@ -262,10 +262,10 @@ public:
Elements.push_back(ConstantUInt::get(Type::UIntTy, Field));
}
virtual void Apply(int64_t &Field) {
- Elements.push_back(ConstantSInt::get(Type::IntTy, Field));
+ Elements.push_back(ConstantSInt::get(Type::LongTy, Field));
}
virtual void Apply(uint64_t &Field) {
- Elements.push_back(ConstantUInt::get(Type::UIntTy, Field));
+ Elements.push_back(ConstantUInt::get(Type::ULongTy, Field));
}
virtual void Apply(bool &Field) {
Elements.push_back(ConstantBool::get(Field));
@@ -345,10 +345,10 @@ public:
Fields.push_back(Type::UIntTy);
}
virtual void Apply(int64_t &Field) {
- Fields.push_back(Type::IntTy);
+ Fields.push_back(Type::LongTy);
}
virtual void Apply(uint64_t &Field) {
- Fields.push_back(Type::UIntTy);
+ Fields.push_back(Type::ULongTy);
}
virtual void Apply(bool &Field) {
Fields.push_back(Type::BoolTy);