function getContinueContext(state, label) {
	if (!label) {
		return state.loopContext;
	}

	let context = state.loopContext;

	while (context) {
		if (context.label === label) {
			return context;
		}
		context = context.upper;
	}

	/* c8 ignore next */
	return null;
}
Gets a loop context for a `continue` statement based on a given label.
@param {CodePathState} state The state to search within.
@param {string|null} label The label of a `continue` statement.
@returns {LoopContext} A loop-context for a `continue` statement.