diff --git a/src/ccc/dwarf_importer.cpp b/src/ccc/dwarf_importer.cpp index cae59df..edd38f0 100644 --- a/src/ccc/dwarf_importer.cpp +++ b/src/ccc/dwarf_importer.cpp @@ -115,7 +115,7 @@ Result SymbolTableImporter::import_compile_unit(const DIE& die) m_source_file->set_size(new_size); } - if(high_pc.valid() > m_source_file->address().value + m_source_file->size()) { + if (high_pc.address() > m_source_file->address().value + m_source_file->size()) { m_source_file->set_size(high_pc.address() - m_source_file->address().value); } }