Index: src/IceGlobalContext.cpp |
diff --git a/src/IceGlobalContext.cpp b/src/IceGlobalContext.cpp |
index 0d53127dd114cf1e2f648a5c236881f5187cf601..a1e817bfad7c905f714e1eeae4b75f6b9537f7c1 100644 |
--- a/src/IceGlobalContext.cpp |
+++ b/src/IceGlobalContext.cpp |
@@ -488,7 +488,7 @@ void GlobalContext::lowerGlobals(const std::string &SectionSuffix) { |
} |
if (!BuildDefs::minimal() && Instrumentor) |
- Instrumentor->instrumentGlobals(); |
+ Instrumentor->instrumentGlobals(Globals); |
DataLowering->lowerGlobals(Globals, SectionSuffix); |
if (ProfileBlockInfos.empty() && DisposeGlobalVariablesAfterLowering) { |