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:
33c1336
)
oppc/code: supply transient for attr exprs
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 16 Jan 2024 19:09:45 +0000
(22:09 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 16 Jan 2024 19:10:08 +0000
(22:10 +0300)
src/openpower/oppc/pc_code.py
patch
|
blob
|
history
diff --git
a/src/openpower/oppc/pc_code.py
b/src/openpower/oppc/pc_code.py
index ff4ebfc00c367ca674faaeb0a7c6672043a797a9..b15d5fe321826ce5a8b0ff1908774ef60900999d 100644
(file)
--- a/
src/openpower/oppc/pc_code.py
+++ b/
src/openpower/oppc/pc_code.py
@@
-170,7
+170,9
@@
class CodeVisitor(pc_util.Visitor):
code[-1] = (level, stmt[:-1])
if not assign:
+ transient = self.transient()
call = self.call(name="oppc_attr", code=[
+ self[transient],
code,
])
code = self[call]