Differences From Artifact [435c3c61df]:
- File bs/builtins/types/runtime/typecheck.cpp — part of check-in [d9414ddc6f] at 2023-03-28 19:44:45 on branch trunk — Get rid of the TCRINFOS macro, use std::source_location instead to remove some noise (user: zlodo size: 5262)
To Artifact [4e00304050]:
- File bs/builtins/types/runtime/typecheck.cpp — part of check-in [9722f7aa3f] at 2023-08-13 18:04:13 on branch trunk — It turns out cmake hadn't, in fact, failed me for the last time: migrating back from meson to cmake (user: zlodo size: 5264)
| ︙ | ︙ | |||
70 71 72 73 74 75 76 |
auto rttype = FromValue< IntegerType >( *rttypeVal );
assert( rttype );
APSInt valToLoad;
if( rttype->m_signed )
{
| | | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
auto rttype = FromValue< IntegerType >( *rttypeVal );
assert( rttype );
APSInt valToLoad;
if( rttype->m_signed )
{
if( ct.getSignificantBits() > rttype->m_numBits )
return nullopt;
valToLoad = ct.sext( rttype->m_numBits );
valToLoad.setIsSigned( true );
}
else
{
|
| ︙ | ︙ |