cpu: Add a StaticInst::advancePC which takes a ThreadContext.
This will avoid having to create a new heap allocated PCState, since the
instruction will know what type of backing storage to allocate on the
stack for the working copy.
Reviewed-by: Daniel Carvalho <firstname.lastname@example.org>
Maintainer: Gabe Black <email@example.com>
Tested-by: kokoro <firstname.lastname@example.org>
4 files changed