diff options
author | William Speirs <bill.speirs@gmail.com> | 2014-10-14 17:10:53 -0400 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-10-15 00:58:05 +0200 |
commit | 6433203b39f830a5c0d80347f14ab341ef3921ce (patch) | |
tree | b07741b44c6a0154877d275a58f83e6f2b4e838e /passes/opt/wreduce.cc | |
parent | 9cb230379901da89649676d4a2752bde59c09f59 (diff) | |
download | yosys-6433203b39f830a5c0d80347f14ab341ef3921ce.tar.gz yosys-6433203b39f830a5c0d80347f14ab341ef3921ce.tar.bz2 yosys-6433203b39f830a5c0d80347f14ab341ef3921ce.zip |
Wrapped init in std::set constructor
Diffstat (limited to 'passes/opt/wreduce.cc')
-rw-r--r-- | passes/opt/wreduce.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/opt/wreduce.cc b/passes/opt/wreduce.cc index 89b1f8856..8f59a041e 100644 --- a/passes/opt/wreduce.cc +++ b/passes/opt/wreduce.cc @@ -32,14 +32,14 @@ struct WreduceConfig WreduceConfig() { - supported_cell_types = { + supported_cell_types = std::set<IdString>({ "$not", "$pos", "$neg", "$and", "$or", "$xor", "$xnor", "$shl", "$shr", "$sshl", "$sshr", "$shift", "$shiftx", "$lt", "$le", "$eq", "$ne", "$eqx", "$nex", "$ge", "$gt", "$add", "$sub", // "$mul", "$div", "$mod", "$pow", "$mux", "$pmux" - }; + }); } }; |