2
0
mirror of https://github.com/m-labs/artiq.git synced 2025-01-07 17:43:34 +08:00

transforms.llvm_ir_generator: skip RPC values for attribute writeback.

This commit is contained in:
whitequark 2016-08-03 04:58:27 +00:00 committed by Sebastien Bourdeauducq
parent ff1e35e03f
commit ecc30979df

View File

@ -445,7 +445,7 @@ class LLVMIRGenerator:
print(typ)
assert False
if not (types.is_function(typ) or types.is_method(typ) or
if not (types.is_function(typ) or types.is_method(typ) or types.is_rpc(typ) or
name == "__objectid__"):
rpctag = b"Os" + self._rpc_tag(typ, error_handler=rpc_tag_error) + b":n\x00"
llrpctag = self.llstr_of_str(rpctag)