function getCodePathStartScope(scope) {
			let target = scope;

			while (target) {
				if (codePathStartScopes.has(target)) {
					return target;
				}
				target = target.upper;
			}

			// Should be unreachable
			return null;
		}
Gets the scope of code path start from given scope
@param {Scope} scope The initial scope
@returns {Scope} The scope of code path start
@throws {Error} Unexpected error