We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49891fa commit fe525c6Copy full SHA for fe525c6
utils/tac/tacinstr.py
@@ -207,7 +207,7 @@ def accept(self, v: TACVisitor) -> None:
207
208
class Call(TACInstr):
209
def __init__(self, func: FuncLabel, args: List[Temp], ret: Temp) -> None:
210
- super().__init__(InstrKind.CALL, [ret], [], func)
+ super().__init__(InstrKind.SEQ, [ret], [], func)
211
self.func = func
212
self.args = args
213
self.ret = ret
@@ -222,7 +222,7 @@ def accept(self, v: TACVisitor) -> None:
222
223
class LoadParams(TACInstr):
224
def __init__(self, dsts: List[Temp]) -> None:
225
- super().__init__(InstrKind.LOAD_PARAMS, dsts, [], None)
+ super().__init__(InstrKind.SEQ, dsts, [], None)
226
self.num_args = len(dsts)
227
228
def __str__(self) -> str:
0 commit comments