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

Function stack_global

src/engine/function.cpp:231–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229static void * stack;
230
231STACK * stack_global()
232{
233 static STACK result;
234 if ( !stack )
235 {
236 int32_t const size = 1 << 21;
237 stack = BJAM_MALLOC( size );
238 result.data = (char *)stack + size;
239 }
240 return &result;
241}
242
243struct list_alignment_helper
244{

Callers 3

parse_implFunction · 0.85
cmd_newFunction · 0.85
evaluate_ruleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected