From 54cdeee3da6bed3359d3d25ffda75462263ec29f Mon Sep 17 00:00:00 2001 From: whh8b <whh8b@git.zephyr-software.com> Date: Fri, 10 Mar 2017 21:27:02 +0000 Subject: [PATCH] Make 'no target for call' error message more explicit. Former-commit-id: bbf79f75f320637b5c5350d6f29f2022def74867 --- libIRDB/src/core/fileir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libIRDB/src/core/fileir.cpp b/libIRDB/src/core/fileir.cpp index a0d783016..d3876071e 100644 --- a/libIRDB/src/core/fileir.cpp +++ b/libIRDB/src/core/fileir.cpp @@ -609,7 +609,7 @@ void FileIR_t::WriteToDB() // in the IRDB, or have an associated "old" instruction. // without these bits of information, the new instruction can't possibly execute correctly. // and we won't have the information necessary to emit spri. - cerr << "offending instruction:" << ((Instruction_t*)insnp)->getDisassembly() << " comment: " << ((Instruction_t*)insnp)->GetComment() << endl; + cerr << "Call must have a target; offending instruction:" << ((Instruction_t*)insnp)->getDisassembly() << " comment: " << ((Instruction_t*)insnp)->GetComment() << endl; assert(0); abort(); } -- GitLab