summaryrefslogtreecommitdiffstats
path: root/tapset-perfmon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapset-perfmon.cxx')
-rw-r--r--tapset-perfmon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset-perfmon.cxx b/tapset-perfmon.cxx
index 0fb567f7..dfdc55e6 100644
--- a/tapset-perfmon.cxx
+++ b/tapset-perfmon.cxx
@@ -69,7 +69,7 @@ perfmon_var_expanding_visitor::visit_target_symbol (target_symbol *e)
if (e->components.size() > 0)
{
- switch (e->components[0].first)
+ switch (e->components[0].type)
{
case target_symbol::comp_literal_array_index:
throw semantic_error("perfmon probe '$counter' variable may not be used as array",