summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2018-12-06 13:51:19 -0800
committerHans Boehm <hboehm@google.com>2018-12-07 11:50:20 -0800
commitb0675b3dec9e96022873c03b95e58a98fba7a464 (patch)
treeefa33cada91b19c1deb215c8b73d8efb669573a2 /compiler/optimizing/graph_visualizer.cc
parent274ed2ea9d496f75030f849c4259b35ecb4d35c1 (diff)
Fix ModifyCardsAtomic comment
The function doesn't behave as it was previously specified. Its actual semantics are arguably ugly, but that doesn't really seem to break anything. Just specify what it really does, and add DCHECK to validate previously undocumented assumption. Deduplicate the comment. Update card_table_test, so it no longer invokes ModifyCardsAtomic with a now disallowed visitor. This was OK, because it's applied to a card table containing no zeroes, and hence the misbehaving visitor didn't matter. Now we check. Test: Treehugger. Change-Id: Id1ba1cb39c709a33c362d4e386ddcb065bd39049
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions