Commit d3886685 authored by Paul's avatar Paul
Browse files

Formatting

parent 4f2a71af
...@@ -30,7 +30,8 @@ instruction_ref program::add_instruction(operation op, std::vector<instruction_r ...@@ -30,7 +30,8 @@ instruction_ref program::add_instruction(operation op, std::vector<instruction_r
impl->instructions.push_back({op, r, args}); impl->instructions.push_back({op, r, args});
assert(impl->instructions.back().arguments == args); assert(impl->instructions.back().arguments == args);
auto result = std::prev(impl->instructions.end()); auto result = std::prev(impl->instructions.end());
for(auto&& arg:args) arg->output.push_back(result); for(auto&& arg : args)
arg->output.push_back(result);
return result; return result;
} }
......
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