Commit 97e35420 by John Kessenich

Non-functional: always return value from makeFpConstant().

Should fix #1308.
parent 569dd84a
...@@ -859,12 +859,14 @@ Id Builder::makeFpConstant(Id type, double d, bool specConstant) ...@@ -859,12 +859,14 @@ Id Builder::makeFpConstant(Id type, double d, bool specConstant)
return makeFloatConstant(d, specConstant); return makeFloatConstant(d, specConstant);
case 64: case 64:
return makeDoubleConstant(d, specConstant); return makeDoubleConstant(d, specConstant);
default:
break;
} }
assert(false); assert(false);
return NoResult;
} }
Id Builder::findCompositeConstant(Op typeClass, const std::vector<Id>& comps) Id Builder::findCompositeConstant(Op typeClass, const std::vector<Id>& comps)
{ {
Instruction* constant = 0; Instruction* constant = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment