projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8768403
)
whoops must check crregs being int, not int_regs
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 16 Sep 2021 23:07:28 +0000
(
00:07
+0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 16 Sep 2021 23:07:28 +0000
(
00:07
+0100)
src/openpower/test/state.py
patch
|
blob
|
history
diff --git
a/src/openpower/test/state.py
b/src/openpower/test/state.py
index 10248e7dbdb6ee58c13aac2e9d4d6922fa987f9a..aa3aa81f1ef403e5d1b897d771e64152704075ec 100644
(file)
--- a/
src/openpower/test/state.py
+++ b/
src/openpower/test/state.py
@@
-122,7
+122,7
@@
class ExpectedState(State):
self.pc = pc
if crregs is None:
crregs = 8
- if isinstance(
int_
regs, int):
+ if isinstance(
cr
regs, int):
crregs = [0] * crregs
self.crregs = crregs
self.so = so