mirror of https://github.com/m-labs/artiq.git
Commit missing parts of 4e5d75295
.
This commit is contained in:
parent
4e5d752951
commit
6d29e768a5
|
@ -1399,7 +1399,7 @@ class LLVMIRGenerator:
|
|||
# RPC and C functions have no runtime representation.
|
||||
return ll.Constant(llty, ll.Undefined)
|
||||
elif types.is_function(typ):
|
||||
llfun = self.get_function(typ, self.function_map[value])
|
||||
llfun = self.get_function(typ.find(), self.function_map[value])
|
||||
llclosure = ll.Constant(self.llty_of_type(typ), [
|
||||
ll.Constant(llptr, ll.Undefined),
|
||||
llfun
|
||||
|
|
Loading…
Reference in New Issue