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

Function function_compile

src/engine/function.cpp:3134–3146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3132}
3133
3134FUNCTION * function_compile( PARSE * parse )
3135{
3136 compiler c[ 1 ];
3137 JAM_FUNCTION * result;
3138 compiler_init( c );
3139 compile_parse( parse, c, RESULT_RETURN );
3140 compile_emit( c, INSTR_RETURN, 1 );
3141 result = compile_to_function( c );
3142 compiler_free( c );
3143 result->file = object_copy( parse->file );
3144 result->line = parse->line;
3145 return (FUNCTION *)result;
3146}
3147
3148FUNCTION * function_compile_actions( char const * actions, OBJECT * file,
3149 int32_t line )

Callers 2

parse_implFunction · 0.85
compile_to_functionFunction · 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