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

Function compile_append_chain

src/engine/function.cpp:2566–2580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2564}
2565
2566static void compile_append_chain( PARSE * parse, compiler * c )
2567{
2568 assert( parse->type == PARSE_APPEND );
2569 if ( parse->left->type == PARSE_NULL )
2570 compile_parse( parse->right, c, RESULT_STACK );
2571 else
2572 {
2573 if ( parse->left->type == PARSE_APPEND )
2574 compile_append_chain( parse->left, c );
2575 else
2576 compile_parse( parse->left, c, RESULT_STACK );
2577 compile_parse( parse->right, c, RESULT_STACK );
2578 compile_emit( c, INSTR_PUSH_APPEND, 0 );
2579 }
2580}
2581
2582static void compile_emit_debug(compiler * c, int32_t line)
2583{

Callers 1

compile_parseFunction · 0.85

Calls 2

compile_parseFunction · 0.85
compile_emitFunction · 0.85

Tested by

no test coverage detected