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:
Jason Molenda 2013-03-23 00:04:02 +00:00
parent 4359068aea
commit 1de00ef60a
1 changed files with 0 additions and 9 deletions

View File

@ -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;
}