Non-functional: always return value from makeFpConstant().
Should fix #1308.
This commit is contained in:
parent
569dd84a72
commit
97e35420a6
@ -859,12 +859,14 @@ Id Builder::makeFpConstant(Id type, double d, bool specConstant)
|
||||
return makeFloatConstant(d, specConstant);
|
||||
case 64:
|
||||
return makeDoubleConstant(d, specConstant);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
assert(false);
|
||||
return NoResult;
|
||||
}
|
||||
|
||||
|
||||
Id Builder::findCompositeConstant(Op typeClass, const std::vector<Id>& comps)
|
||||
{
|
||||
Instruction* constant = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user