From: Luke Kenneth Casson Leighton Date: Thu, 16 Sep 2021 18:48:32 +0000 (+0100) Subject: reduce code linecount slightly X-Git-Tag: DRAFT_SVP64_0_1~13 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cdafc00242a8b79a03ff6f8de2309da671c8decd;p=openpower-isa.git reduce code linecount slightly --- diff --git a/src/openpower/test/state.py b/src/openpower/test/state.py index 57f77fcf..1c91670d 100644 --- a/src/openpower/test/state.py +++ b/src/openpower/test/state.py @@ -129,21 +129,10 @@ class ExpectedState(State): self.ov = ov self.ca = ca - def get_intregs(self): - if False: - yield - - def get_crregs(self): - if False: - yield - - def get_xregs(self): - if False: - yield - - def get_pc(self): - if False: - yield + def get_intregs(self): if False: yield + def get_crregs(self): if False: yield + def get_xregs(self): if False: yield + def get_pc(self): if False: yield global state_factory