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

Function compile_emit_constant

v2/engine/function.c:1415–1420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1413}
1414
1415static int compile_emit_constant( compiler * c, OBJECT * value )
1416{
1417 OBJECT * copy = object_copy( value );
1418 dynamic_array_push( c->constants, copy );
1419 return c->constants->size - 1;
1420}
1421
1422static int compile_emit_rule( compiler * c, OBJECT * name, PARSE * parse,
1423 int num_arguments, struct arg_list * arguments, int local )

Callers 4

var_parse_var_compileFunction · 0.85
var_parse_string_compileFunction · 0.85
var_parse_group_compileFunction · 0.85
compile_parseFunction · 0.85

Calls 1

object_copyFunction · 0.85

Tested by

no test coverage detected