mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
strength reduce SILGenModule::getBuiltinInfo/getIntrinsicInfo to
take an identifier instead of a FuncDecl. Swift SVN r10692
This commit is contained in:
@@ -370,12 +370,12 @@ SILGlobalAddrInst::SILGlobalAddrInst(SILLocation Loc, SILGlobalVariable *Global)
|
||||
Global(Global)
|
||||
{}
|
||||
|
||||
const IntrinsicInfo &BuiltinFunctionRefInst::getIntrinsicInfo() {
|
||||
return getModule().getIntrinsicInfo(Function);
|
||||
const IntrinsicInfo &BuiltinFunctionRefInst::getIntrinsicInfo() const {
|
||||
return getModule().getIntrinsicInfo(Function->getName());
|
||||
}
|
||||
|
||||
const BuiltinInfo &BuiltinFunctionRefInst::getBuiltinInfo() {
|
||||
return getModule().getBuiltinInfo(Function);
|
||||
const BuiltinInfo &BuiltinFunctionRefInst::getBuiltinInfo() const {
|
||||
return getModule().getBuiltinInfo(Function->getName());
|
||||
}
|
||||
|
||||
static unsigned getWordsForBitWidth(unsigned bits) {
|
||||
|
||||
Reference in New Issue
Block a user