MCPcopy Create free account
hub / github.com/boostorg/build / function_compile

Function function_compile

src/engine/function.c:2958–2970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2956}
2957
2958FUNCTION * function_compile( PARSE * parse )
2959{
2960 compiler c[ 1 ];
2961 JAM_FUNCTION * result;
2962 compiler_init( c );
2963 compile_parse( parse, c, RESULT_RETURN );
2964 compile_emit( c, INSTR_RETURN, 0 );
2965 result = compile_to_function( c );
2966 compiler_free( c );
2967 result->file = object_copy( parse->file );
2968 result->line = parse->line;
2969 return (FUNCTION *)result;
2970}
2971
2972FUNCTION * function_compile_actions( char const * actions, OBJECT * file,
2973 int line )

Callers 2

compile_to_functionFunction · 0.85
parse_fileFunction · 0.85

Calls 6

compiler_initFunction · 0.85
compile_parseFunction · 0.85
compile_emitFunction · 0.85
compile_to_functionFunction · 0.85
compiler_freeFunction · 0.85
object_copyFunction · 0.85

Tested by

no test coverage detected