diff options
Diffstat (limited to 'view/sharedcache/workflow/SharedCacheWorkflow.cpp')
| -rw-r--r-- | view/sharedcache/workflow/SharedCacheWorkflow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/view/sharedcache/workflow/SharedCacheWorkflow.cpp b/view/sharedcache/workflow/SharedCacheWorkflow.cpp index b364ea2f..766164b8 100644 --- a/view/sharedcache/workflow/SharedCacheWorkflow.cpp +++ b/view/sharedcache/workflow/SharedCacheWorkflow.cpp @@ -171,8 +171,7 @@ void AnalyzeStubFunction(Ref<Function> func, Ref<MediumLevelILFunction> mlil, Sh { // First load the stub island, if we _do_ load the stub island stop and reanalyze for constant propagation.' const auto islandPtr = expr.GetConstant<MLIL_CONST_PTR>(); - auto loaded = loadTarget(islandPtr); - if (loaded) + if (loadTarget(islandPtr)) return; // We have been promoted to the target pointer here! const auto targetPtr = islandPtr; @@ -190,7 +189,7 @@ void AnalyzeStubFunction(Ref<Function> func, Ref<MediumLevelILFunction> mlil, Sh { case MLIL_CONST_PTR: // NOTE: This runs every single function update. - func->SetAutoInlinedDuringAnalysis(true); + func->SetAutoInlinedDuringAnalysis(true); break; default: break; |
