| 492 | } |
| 493 | |
| 494 | const Constant* ConstantManager::GetDoubleConst(double val) { |
| 495 | Type* float_type = context()->get_type_mgr()->GetDoubleType(); |
| 496 | utils::FloatProxy<double> v(val); |
| 497 | const Constant* c = GetConstant(float_type, v.GetWords()); |
| 498 | return c; |
| 499 | } |
| 500 | |
| 501 | uint32_t ConstantManager::GetSIntConstId(int32_t val) { |
| 502 | Type* sint_type = context()->get_type_mgr()->GetSIntType(); |
no test coverage detected