Commit 7cfaadf9 authored by Khalique's avatar Khalique
Browse files

remove variable from enclose_name

parent 934e1448
......@@ -531,8 +531,7 @@ void program::debug_print(const std::vector<instruction_ref>& inss) const
static std::string enclose_name(const std::string& name)
{
std::string new_name = name;
return '"' + replace_string(new_name, "\"", "\\\"") + '"';
return '"' + replace_string(name, "\"", "\\\"") + '"';
}
void program::print_graph(std::ostream& os) const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment