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

Function function_compile

v2/engine/function.c:2859–2871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2857}
2858
2859FUNCTION * function_compile( PARSE * parse )
2860{
2861 compiler c[ 1 ];
2862 JAM_FUNCTION * result;
2863 compiler_init( c );
2864 compile_parse( parse, c, RESULT_RETURN );
2865 compile_emit( c, INSTR_RETURN, 0 );
2866 result = compile_to_function( c );
2867 compiler_free( c );
2868 result->file = object_copy( parse->file );
2869 result->line = parse->line;
2870 return (FUNCTION *)result;
2871}
2872
2873FUNCTION * function_compile_actions( char const * actions, OBJECT * file,
2874 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