Skip to content

Commit

Permalink
Minor post-merge fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
edeiana committed Oct 22, 2024
1 parent 5390027 commit 7baee4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/drcachesim/analyzer_multi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down
4 changes: 2 additions & 2 deletions clients/drcachesim/launcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7baee4e

Please sign in to comment.