arch: Promote instReady to the base InstDecoder class.

Move the instDone flag, and the instReady function which was
consistently implemented just to return it, to the base InstDecoder
class. This flag can still be accessed easily from the subclasses, but
now it can be retrieved with just an InstDecoder pointer without a
virtual function call.

Change-Id: I8c662aa01da8fe33ffe679071c701e0aadc1a795
Reviewed-by: Daniel Carvalho <>
Maintainer: Gabe Black <>
Tested-by: kokoro <>
7 files changed