diff options
Diffstat (limited to 'include/llvm/Support/IRReader.h')
-rw-r--r-- | include/llvm/Support/IRReader.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Support/IRReader.h b/include/llvm/Support/IRReader.h index c3ee3ed318..6d8a9b30ae 100644 --- a/include/llvm/Support/IRReader.h +++ b/include/llvm/Support/IRReader.h @@ -25,7 +25,6 @@ #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/SourceMgr.h" #include "llvm/Support/system_error.h" -#include "llvm/Support/Timer.h" namespace llvm { @@ -70,10 +69,6 @@ namespace llvm { return getLazyIRModule(File.take(), Err, Context); } - extern const char *TimeIRParsingGroupName; - extern const char *TimeIRParsingName; - extern bool TimeIRParsingIsEnabled; - /// If the given MemoryBuffer holds a bitcode image, return a Module /// for it. Otherwise, attempt to parse it as LLVM Assembly and return /// a Module for it. This function *always* takes ownership of the given @@ -81,8 +76,6 @@ namespace llvm { inline Module *ParseIR(MemoryBuffer *Buffer, SMDiagnostic &Err, LLVMContext &Context) { - NamedRegionTimer T(TimeIRParsingName, TimeIRParsingGroupName, - TimeIRParsingIsEnabled); if (isBitcode((const unsigned char *)Buffer->getBufferStart(), (const unsigned char *)Buffer->getBufferEnd())) { std::string ErrMsg; |