RTS: simplify read_heap_profiling_flag
authorThomas Miedema <thomasmiedema@gmail.com>
Thu, 19 May 2016 08:20:15 +0000 (10:20 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Wed, 25 May 2016 17:25:01 +0000 (19:25 +0200)
commiteec88ee07c28a18b1b5b4edfde8e898324264bce
tree4698d0b9f80b1b6561c98e107d2aa92d23bc4665
parent961ed26b69292f6bfb75cd2209ea0c67e77abf7b
RTS: simplify read_heap_profiling_flag

Since 535896e58f7fc8d89a5ff34629a3471eac529d93, "args" is not mutated
anymore, so we don't need to create a temporary copy.

Reviewed by: bgamari

Differential Revision: https://phabricator.haskell.org/D2264
rts/RtsFlags.c