Skip to content

Commit 2a10d88

Browse files
committed
fix: Fix warnings
1 parent 9b733f2 commit 2a10d88

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

include/klee/Module/KModule.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,7 @@ class KModule {
352352
/// @param forceSourceOutput true if assembly.ll should be created
353353
///
354354
// FIXME: ihandler should not be here
355-
void manifest(InterpreterHandler *ih, Interpreter::GuidanceKind guidance,
356-
bool forceSourceOutput);
355+
void manifest(InterpreterHandler *ih, bool forceSourceOutput);
357356

358357
/// Link the provided modules together as one KLEE module.
359358
///

lib/Core/Executor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,8 +681,7 @@ llvm::Module *Executor::setModule(
681681
// 4.) Manifest the module
682682
std::swap(kmodule->mainModuleFunctions, mainModuleFunctions);
683683
std::swap(kmodule->mainModuleGlobals, mainModuleGlobals);
684-
kmodule->manifest(interpreterHandler, interpreterOpts.Guidance,
685-
StatsTracker::useStatistics());
684+
kmodule->manifest(interpreterHandler, StatsTracker::useStatistics());
686685

687686
kmodule->origInstructions = origInstructions;
688687

lib/Module/KModule.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,7 @@ buildInstructionToLineMap(const llvm::Module &m,
265265
return a.getMapping();
266266
}
267267

268-
void KModule::manifest(InterpreterHandler *ih,
269-
Interpreter::GuidanceKind guidance,
270-
bool forceSourceOutput) {
268+
void KModule::manifest(InterpreterHandler *ih, bool forceSourceOutput) {
271269

272270
if (OutputModule) {
273271
std::unique_ptr<llvm::raw_fd_ostream> f(ih->openOutputFile("final.bc"));

0 commit comments

Comments
 (0)