在具有多个功能的模块中,我想知道哪些功能已被特定的内置传递修改而无需检测。例如,我可以对原始模块和修改过的模块进行区分,看看哪些功能不同,但这太费时了。
使用OPT,是否有一种编程方法可以确定哪些函数的内容是通过LLVM IR中的特定优化传递修改的?
function factory( Base: React.Component<P, S> ): React.Component<P, S> {
return class Extended extends Base {
...
}
}
const Extended = factory( React.Component );
const PureExtended = factory( React.PureComponent );
可以为我转储这些信息吗?
如果没有,我可以用if ($('#ddlTitanVlanLocationA :selected').text() == $('#ddlTitanVlanLocationB :selected').text() || $('#ddlTitanVlanLocationA :selected').text() == $('#ddlTitanVlanLocationC :selected').text() || $('#ddlTitanVlanLocationA :selected').text() == $('#ddlTitanVlanLocationD :selected').text()) {
alert("You have already selected same value in other Location field. Please select different value.!");
return false;
}
创建这样的功能吗?