function setInvalid(node) {
			const segments = funcInfo.currentSegments;

			for (const segment of segments) {
				if (segment.reachable) {
					segInfoMap[segment.id].invalidNodes.push(node);
				}
			}
		}
Sets a given node as invalid.
@param {ASTNode} node A node to set as invalid. This is one of
     a ThisExpression and a Super.
@returns {void}