Non-functional: always return value from makeFpConstant().
Should fix #1308.
This commit is contained in:
parent
569dd84a72
commit
97e35420a6
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue