MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / push_invoke

Method push_invoke

include/daScript/simulate/heap.h:77–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76
77 __forceinline bool push_invoke(uint32_t size, uint32_t et, char * & EP, char * & SP ) {
78 DAS_ASSERTF(stack,"can't push on null stack");
79 if (stackTop - size < stack ) {
80 return false;
81 }
82 EP = evalTop;
83 SP = stackTop;
84 stackTop -= size;
85 evalTop = stack + et;
86 return true;
87 }
88
89 __forceinline char * ap() const { // allocation stack
90 return stackTop;

Callers 2

invokeFunction · 0.80
invokeExMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected