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:
69cc27d
)
oppc/code: prefix TRAP call
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 50a6444603d6fa16a9d8c77c12e00a3779f3ac81..ff8d60063e306207e5288832d2172b29ffcb0744 100644
(file)
--- a/
src/openpower/oppc/pc_code.py
+++ b/
src/openpower/oppc/pc_code.py
@@
-644,7
+644,7
@@
class CodeVisitor(pc_util.Visitor):
decl = str(node)
if decl not in ("fallthrough",):
if decl in ("TRAP",):
- self[node].emit(stmt=f"{decl}();")
+ self[node].emit(stmt=f"
OPPC_CALL_
{decl}();")
else:
if node in self.__pseudocode:
self.__decls.add(decl)