commit | dfabcc50f13f27201fd9c0ab0def187ef5945fda | [log] [tgz] |
---|---|---|
author | Igor Murashkin <iam@google.com> | Thu Oct 26 14:51:52 2017 -0700 |
committer | Igor Murashkin <iam@google.com> | Fri Oct 27 15:06:23 2017 -0700 |
tree | eee8862eebf83d94cf8fb81042666732390933aa | |
parent | 2875173c75049777e6b63dbc9739846dd8f7d085 [diff] |
base: Fix bitstruct bug with assigning fields Given a BitStruct 'foo', where bar was a BitStructField, assignment was broken because it was using the C++ default behavior (copy the entire word). foo.bar = other_foo.bar This will now correctly use BitFieldInsert to update the 'bar' bitfield. Change-Id: I1464462ffd4df22ad14a2e43a34f74d75ac2809a