[XRay][compiler-rt] Remove unused variable after refactoring
Follow-up to D30630. llvm-svn: 302861
This commit is contained in:
		
							parent
							
								
									724de21662
								
							
						
					
					
						commit
						71086a87b1
					
				| 
						 | 
					@ -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.");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue