forked from OSchip/llvm-project
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
This commit is contained in:
parent
4359068aea
commit
1de00ef60a
lldb/source/Core
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue