From 33babebc7156a8b547782d3fa39f5c11fdb237b2 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sun, 14 Jan 2024 16:34:36 +0300 Subject: [PATCH] oppc/code: rename oppc_int to oppc_value --- src/openpower/oppc/pc_code.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openpower/oppc/pc_code.py b/src/openpower/oppc/pc_code.py index d18bd140..c0e8ca17 100644 --- a/src/openpower/oppc/pc_code.py +++ b/src/openpower/oppc/pc_code.py @@ -14,7 +14,7 @@ class Transient(pc_ast.Node): return super().__init__() def __str__(self): - return f"oppc_transient(&(struct oppc_int){{}}, {self.__value}, {self.__bits})" + return f"oppc_transient(&(struct oppc_value){{}}, {self.__value}, {self.__bits})" class CCall(pc_ast.Dataclass): @@ -40,7 +40,7 @@ class CodeVisitor(pc_util.Visitor): self.__code[self.__header].emit(stmt=f"oppc_{name}(void) {{") with self.__code[self.__header]: for decl in self.__decls: - self.__code[self.__header].emit(stmt=f"struct oppc_int {decl};") + self.__code[self.__header].emit(stmt=f"struct oppc_value {decl};") self.__code[self.__footer].emit(stmt=f"}}") def __iter__(self): -- 2.30.2