Remove redundant test guarding call to update_page_write_prot()
commit4bc48a90062da0033041a705cd6174757c20cd2f
authorDouglas Katzman <dougk@google.com>
Fri, 20 Oct 2017 17:12:00 +0000 (20 13:12 -0400)
committerDouglas Katzman <dougk@google.com>
Fri, 20 Oct 2017 17:14:30 +0000 (20 13:14 -0400)
tree0ff96dda37205264dba2ace49a4ffa461f681a60
parenteaac18006a80a69f3463afff090ae9f71dbd2dcb
Remove redundant test guarding call to update_page_write_prot()

There's no reason to cautiously avoid a call that would do the
right thing - nothing at all - if page protection is disabled.

Change one assertion followed by a stronger assertion into a debug check.
src/runtime/gencgc.c