| 1216 | } |
| 1217 | |
| 1218 | BfMethodState* GetNonCaptureState() |
| 1219 | { |
| 1220 | //TODO: Why did this require mLocalMethod to not be null? That means lambda captures we're not crossed over |
| 1221 | auto checkMethodState = this; |
| 1222 | while ((checkMethodState->mPrevMethodState != NULL) && (checkMethodState->mClosureState != NULL) && |
| 1223 | (checkMethodState->mClosureState->mCapturing) /*&& (checkMethodState->mClosureState->mLocalMethod != NULL)*/) |
| 1224 | checkMethodState = checkMethodState->mPrevMethodState; |
| 1225 | return checkMethodState; |
| 1226 | } |
| 1227 | |
| 1228 | BfMethodState* GetMethodStateForLocal(BfLocalVariable* localVar); |
| 1229 |
no outgoing calls
no test coverage detected