[llvm] r176240 - Remove unused leftover declarations.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Thu Feb 28 00:42:11 PST 2013


Author: eugenis
Date: Thu Feb 28 02:42:11 2013
New Revision: 176240

URL: http://llvm.org/viewvc/llvm-project?rev=176240&view=rev
Log:
Remove unused leftover declarations.

Modified:
    llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Modified: llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp?rev=176240&r1=176239&r2=176240&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp Thu Feb 28 02:42:11 2013
@@ -420,11 +420,6 @@ struct MemorySanitizerVisitor : public I
   bool InsertChecks;
   OwningPtr<VarArgHelper> VAHelper;
 
-  // An unfortunate workaround for asymmetric lowering of va_arg stuff.
-  // See a comment in visitCallSite for more details.
-  static const unsigned AMD64GpEndOffset = 48;  // AMD64 ABI Draft 0.99.6 p3.5.7
-  static const unsigned AMD64FpEndOffset = 176;
-
   struct ShadowOriginAndInsertPoint {
     Instruction *Shadow;
     Instruction *Origin;





More information about the llvm-commits mailing list