diff options
author | Igor Murashkin <iam@google.com> | 2017-10-26 14:51:52 -0700 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2017-10-27 15:06:23 -0700 |
commit | dfabcc50f13f27201fd9c0ab0def187ef5945fda (patch) | |
tree | eee8862eebf83d94cf8fb81042666732390933aa /compiler/optimizing/codegen_test_utils.h | |
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
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions