summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2013-03-23 00:04:02 +0000
committerJason Molenda <jmolenda@apple.com>2013-03-23 00:04:02 +0000
commit1de00ef60ad4f9c5e3fa09d54e8f48e10f1cbafb (patch)
tree1d7fa1c0f7eb493396a9ef9ee10a62c1b8ed3367 /lldb/source/Core
parent4359068aeacaea6e7b7ec81f581e97c3739d4aea (diff)
downloadbcm5719-llvm-1de00ef60ad4f9c5e3fa09d54e8f48e10f1cbafb.tar.gz
bcm5719-llvm-1de00ef60ad4f9c5e3fa09d54e8f48e10f1cbafb.zip
Fix a little fallout from the changes in r174757 where we would
skip every other float/double/long double as we extracted data from a buffer. <rdar://problem/13485062> llvm-svn: 177779
Diffstat (limited to 'lldb/source/Core')
-rw-r--r--lldb/source/Core/DataExtractor.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lldb/source/Core/DataExtractor.cpp b/lldb/source/Core/DataExtractor.cpp
index 22bd612c9b5..644bc0bb15c 100644
--- a/lldb/source/Core/DataExtractor.cpp
+++ b/lldb/source/Core/DataExtractor.cpp
@@ -740,9 +740,6 @@ DataExtractor::GetFloat (offset_t *offset_ptr) const
{
val = *src;
}
-
- // Advance the offset
- *offset_ptr += sizeof(val);
}
return val;
}
@@ -767,9 +764,6 @@ DataExtractor::GetDouble (offset_t *offset_ptr) const
{
val = *src;
}
-
- // Advance the offset
- *offset_ptr += sizeof(val);
}
return val;
}
@@ -795,9 +789,6 @@ DataExtractor::GetLongDouble (offset_t *offset_ptr) const
{
val = *src;
}
-
- // Advance the offset
- *offset_ptr += sizeof(val);
}
return val;
}
OpenPOWER on IntegriCloud