cpu-minor: Ensure the pc in BranchData is always set.
Change the type passed to updateBranchData in execute to be a reference,
and replace the nullptr being passed in from Execute::evaluate() with
the current thread's pc. We could use any generic PC instead which might
be slightly faster, but there is likely not a significant difference
and this is a lot easier.
Maintainer: Gabe Black <email@example.com>
Reviewed-by: Bobby Bruce <firstname.lastname@example.org>
Tested-by: kokoro <email@example.com>
4 files changed