MCPcopy Create free account
hub / github.com/WheretIB/nullc / FixupVariable

Method FixupVariable

NULLC/Executor.cpp:2149–2168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2147}
2148
2149void Executor::FixupVariable(char* ptr, const ExternTypeInfo& type)
2150{
2151 if(!type.pointerCount)
2152 return;
2153 switch(type.subCat)
2154 {
2155 case ExternTypeInfo::CAT_ARRAY:
2156 FixupArray(ptr, type);
2157 break;
2158 case ExternTypeInfo::CAT_POINTER:
2159 FixupPointer(ptr, type);
2160 break;
2161 case ExternTypeInfo::CAT_CLASS:
2162 FixupClass(ptr, type);
2163 break;
2164 case ExternTypeInfo::CAT_FUNCTION:
2165 FixupFunction(ptr);
2166 break;
2167 }
2168}
2169
2170bool Executor::ExtendParameterStack(char* oldBase, unsigned int oldSize, VMCmd *current)
2171{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected