108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
if( IsBuiltinFunc( callee ) || IsBuiltinIntrinsicFunc( callee ) )
return callee;
// TODO better description with the function's name if possible (we may need to explicitely store it in the func)
DiagnosticsContext dc( 0, true );
VerbosityContext vc( Verbosity::Normal, true );
return CompileFunc( c, callee );
}
};
ptr< InvocationRule >& GetFuncInvocationRule()
{
static ptr< InvocationRule > pRule = make_shared< FunctionInvocationRule >();
return pRule;
|
|
|
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
if( IsBuiltinFunc( callee ) || IsBuiltinIntrinsicFunc( callee ) )
return callee;
// TODO better description with the function's name if possible (we may need to explicitely store it in the func)
DiagnosticsContext dc( 0, true );
VerbosityContext vc( Verbosity::Normal, true );
return CompileAndVerifyFunc( c, callee );
}
};
ptr< InvocationRule >& GetFuncInvocationRule()
{
static ptr< InvocationRule > pRule = make_shared< FunctionInvocationRule >();
return pRule;
|