[XRay][compiler-rt] Remove unused variable after refactoring

Follow-up to D30630.

llvm-svn: 302861
This commit is contained in:
Dean Michael Berris 2017-05-12 01:43:20 +00:00
parent 724de21662
commit 71086a87b1
1 changed files with 10 additions and 10 deletions

View File

@ -612,8 +612,8 @@ inline void processFunctionHook(
// By this point, we are now ready to write at most 24 bytes (one metadata // By this point, we are now ready to write at most 24 bytes (one metadata
// record and one function record). // record and one function record).
auto BufferStart = static_cast<char *>(Buffer.Buffer); assert((RecordPtr + (MetadataRecSize + FunctionRecSize)) -
assert((RecordPtr + (MetadataRecSize + FunctionRecSize)) - BufferStart >= static_cast<char *>(Buffer.Buffer) >=
static_cast<ptrdiff_t>(MetadataRecSize) && static_cast<ptrdiff_t>(MetadataRecSize) &&
"Misconfigured BufferQueue provided; Buffer size not large enough."); "Misconfigured BufferQueue provided; Buffer size not large enough.");