2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 05:03: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
parent 89df048efb
commit 21bc285604

View File

@ -442,7 +442,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)