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:
db7edd6
)
oppc/util: simplify empty statements
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 13 Jan 2024 12:30:54 +0000
(15:30 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 13 Jan 2024 12:30:54 +0000
(15:30 +0300)
src/openpower/oppc/pc_util.py
patch
|
blob
|
history
diff --git
a/src/openpower/oppc/pc_util.py
b/src/openpower/oppc/pc_util.py
index 3127f64a7c95e92f0fe870f92a2007add33549d7..63ea9b1ce4b3a75b5b78d577f636097bd9012947 100644
(file)
--- a/
src/openpower/oppc/pc_util.py
+++ b/
src/openpower/oppc/pc_util.py
@@
-43,7
+43,7
@@
class Code(list):
return "\n".join(lines)
- def emit(self, stmt, level=0):
+ def emit(self, stmt
=""
, level=0):
item = ((level + self.__level), stmt)
self.append(item)