From 5e84368b26415b3bb7f3f8d9cff3e05938dd82d0 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 14 Jul 2008 18:19:29 +0000 Subject: Reapply 53476 and 53480, with a fix so that it properly updates the BB member to the current basic block after emitting instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53567 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Timer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/llvm/Support/Timer.h') diff --git a/include/llvm/Support/Timer.h b/include/llvm/Support/Timer.h index 4164ddc891..b9882a9708 100644 --- a/include/llvm/Support/Timer.h +++ b/include/llvm/Support/Timer.h @@ -132,6 +132,8 @@ public: /// struct NamedRegionTimer : public TimeRegion { explicit NamedRegionTimer(const std::string &Name); + explicit NamedRegionTimer(const std::string &Name, + const std::string &GroupName); }; -- cgit v1.2.3-18-g5258