| 2132 | } |
| 2133 | |
| 2134 | void Executor::FixupFunction(char* ptr) |
| 2135 | { |
| 2136 | NULLCFuncPtr *fPtr = (NULLCFuncPtr*)ptr; |
| 2137 | // If there's no context, there's nothing to check |
| 2138 | if(!fPtr->context) |
| 2139 | return; |
| 2140 | const ExternFuncInfo &func = exFunctions[fPtr->id]; |
| 2141 | // If context is "this" pointer |
| 2142 | if(func.parentType != ~0u) |
| 2143 | { |
| 2144 | const ExternTypeInfo &classType = exTypes[func.parentType]; |
| 2145 | FixupPointer((char*)&fPtr->context, classType); |
| 2146 | } |
| 2147 | } |
| 2148 | |
| 2149 | void Executor::FixupVariable(char* ptr, const ExternTypeInfo& type) |
| 2150 | { |
nothing calls this directly
no outgoing calls
no test coverage detected