From 14eadeda001cf5bcf0d8845e26db93c242bf9fd4 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Thu, 28 Feb 2013 08:42:11 +0000 Subject: [PATCH] Remove unused leftover declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176240 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Instrumentation/MemorySanitizer.cpp | 5 ----- 1 file changed, 5 deletions(-) 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; -- 2.34.1