forked from M-Labs/artiq
Commit missing parts of 4e5d75295
.
This commit is contained in:
parent
9196cdc554
commit
7de77cfc8f
|
@ -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