From d530f465e7b87a928556361e014010901d2029e8 Mon Sep 17 00:00:00 2001 From: Andrey Miroshnikov Date: Thu, 31 Aug 2023 10:32:05 +0000 Subject: [PATCH] inorder.py: Moved return statements to new line. --- src/openpower/cyclemodel/inorder.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/openpower/cyclemodel/inorder.py b/src/openpower/cyclemodel/inorder.py index a67d35d7..c4bcc3b2 100644 --- a/src/openpower/cyclemodel/inorder.py +++ b/src/openpower/cyclemodel/inorder.py @@ -188,7 +188,8 @@ class Fetch: self.stages[0] = None def process_instructions(self, stall, insn_trace): - if stall: return stall + if stall: + return stall insn = self.stages[0] # get current instruction if insn is not None: self.cpu.decode.add_instruction(insn) # pass on instruction @@ -219,7 +220,8 @@ class Decode: self.stages[0] = None def process_instructions(self, stall): - if stall: return stall + if stall: + return stall if self.stages[0] is None: return stall @@ -254,7 +256,8 @@ class Issue: self.stages[0] = None def process_instructions(self, stall): - if stall: return stall + if stall: + return stall if self.stages[0] is None: return stall -- 2.30.2