xo-expression: straggler: ns fix in Primitive::make
This commit is contained in:
parent
3964f72cea
commit
4738ff66b4
1 changed files with 4 additions and 4 deletions
|
|
@ -37,10 +37,10 @@ namespace xo {
|
||||||
using TypeDescr = xo::reflect::TypeDescr;
|
using TypeDescr = xo::reflect::TypeDescr;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static ref::rp<Primitive> make(const std::string & name,
|
static rp<Primitive> make(const std::string & name,
|
||||||
FunctionPointer fnptr,
|
FunctionPointer fnptr,
|
||||||
bool explicit_symbol_def,
|
bool explicit_symbol_def,
|
||||||
llvmintrinsic intrinsic) {
|
llvmintrinsic intrinsic) {
|
||||||
TypeDescr fn_type = Reflect::require<FunctionPointer>();
|
TypeDescr fn_type = Reflect::require<FunctionPointer>();
|
||||||
|
|
||||||
return new Primitive(fn_type, name, fnptr, explicit_symbol_def, intrinsic);
|
return new Primitive(fn_type, name, fnptr, explicit_symbol_def, intrinsic);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue