xo-jit: fnptr -> closures for primitives+lambdas throughout
This commit is contained in:
parent
26a055eb1c
commit
09f5c141df
6 changed files with 295 additions and 124 deletions
|
|
@ -68,6 +68,17 @@ namespace xo {
|
|||
llvm::Type * llvm_type_ = nullptr;
|
||||
};
|
||||
|
||||
inline std::ostream &
|
||||
operator<<(std::ostream & os, const runtime_binding_detail & x) {
|
||||
os << "<runtime_binding_detail"
|
||||
<< xtag("i_argno", x.i_argno_)
|
||||
<< xtag("llvm_addr", (void*)x.llvm_addr_)
|
||||
<< xtag("llvm_type", (void*)x.llvm_type_)
|
||||
<< ">";
|
||||
|
||||
return os;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. pattern for a stack frame associated with a user-defined function (some Lambda lm)
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue