forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ class LLVMIRGenerator:
print(typ) print(typ)
assert False 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__"): name == "__objectid__"):
rpctag = b"Os" + self._rpc_tag(typ, error_handler=rpc_tag_error) + b":n\x00" rpctag = b"Os" + self._rpc_tag(typ, error_handler=rpc_tag_error) + b":n\x00"
llrpctag = self.llstr_of_str(rpctag) llrpctag = self.llstr_of_str(rpctag)