From 7baee4ed313e3dd9ee631be72ebca73c6646bee6 Mon Sep 17 00:00:00 2001 From: edeiana Date: Tue, 22 Oct 2024 15:26:18 -0700 Subject: [PATCH] Minor post-merge fixes. --- clients/drcachesim/analyzer_multi.cpp | 2 +- clients/drcachesim/launcher.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/drcachesim/analyzer_multi.cpp b/clients/drcachesim/analyzer_multi.cpp index 3bc52a3f30a..5e62e9d7c17 100644 --- a/clients/drcachesim/analyzer_multi.cpp +++ b/clients/drcachesim/analyzer_multi.cpp @@ -342,7 +342,7 @@ record_analyzer_multi_t::create_analysis_tool_from_options(const std::string &to op_trim_after_timestamp.get_value(), op_encodings2regdeps.get_value(), op_filter_func_ids.get_value(), op_modify_marker_value.get_value(), op_verbose.get_value()); - } else if (simulator_type == INTERNAL_RECORD_VIEW) { + } else if (tool == INTERNAL_RECORD_VIEW) { return internal_record_view_tool_create(op_skip_refs.get_value(), op_sim_refs.get_value()); } diff --git a/clients/drcachesim/launcher.cpp b/clients/drcachesim/launcher.cpp index 19fa21601f2..18ba23d11c1 100644 --- a/clients/drcachesim/launcher.cpp +++ b/clients/drcachesim/launcher.cpp @@ -323,8 +323,8 @@ _tmain(int argc, const TCHAR *targv[]) FATAL_ERROR("invalid -outdir %s", op_outdir.get_value().c_str()); } } else { - if (op_simulator_type.get_value() == RECORD_FILTER || - op_simulator_type.get_value() == INTERNAL_RECORD_VIEW) { + if (op_tool.get_value() == RECORD_FILTER || + op_tool.get_value() == INTERNAL_RECORD_VIEW) { record_analyzer = new record_analyzer_multi_t; if (!*record_analyzer) { std::string error_string_ = record_analyzer->get_error_string();