From: Evgeniy Stepanov Date: Thu, 28 Feb 2013 08:42:11 +0000 (+0000) Subject: Remove unused leftover declarations. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=14eadeda001cf5bcf0d8845e26db93c242bf9fd4;p=oota-llvm.git Remove unused leftover declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176240 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/lib/Transforms/Instrumentation/MemorySanitizer.cpp index 80705af9b81..b88d6410b13 100644 --- a/lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ b/lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -420,11 +420,6 @@ struct MemorySanitizerVisitor : public InstVisitor { bool InsertChecks; OwningPtr 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;