HomePhabricator

[Process] Use early returns in Process::WriteMemory (NFC)

Description

[Process] Use early returns in Process::WriteMemory (NFC)

I found the code of Process::WriteMemory particularly hard to follow
when reviewing Ismail's change in D60022. This simplifies the code and
hopefully prevents similar oversights in the future.

Differential revision: https://reviews.llvm.org/D60092

Details

Committed
JDevlieghereApr 1 2019, 1:39 PM
Differential Revision
D60092: [Process] Use early returns in Process::WriteMemory (NFC)
Branches
Unknown
Tags
Unknown