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

Function compile_emit_constant

src/engine/function.cpp:1527–1532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1525}
1526
1527static int32_t compile_emit_constant( compiler * c, OBJECT * value )
1528{
1529 OBJECT * copy = object_copy( value );
1530 dynamic_array_push( c->constants, copy );
1531 return c->constants->size - 1;
1532}
1533
1534static void compile_push_cleanup( compiler * c, uint32_t op_code, int32_t arg )
1535{

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