From 76ca76bb67fa052818be5dd238caebbef113001d Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Mon, 14 Oct 2013 00:39:13 -0700 Subject: [PATCH] Disabling hole filling in the SDB. This was required when the AOT CPU was built, but isn't needed now. --- src/xenia/cpu/sdb/symbol_database.cc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/xenia/cpu/sdb/symbol_database.cc b/src/xenia/cpu/sdb/symbol_database.cc index 1b9ff7211..c83d8a53f 100644 --- a/src/xenia/cpu/sdb/symbol_database.cc +++ b/src/xenia/cpu/sdb/symbol_database.cc @@ -632,15 +632,16 @@ bool SymbolDatabase::FillHoles() { } } + // TODO(benvanik): re-evaluate if this is worth it. bool any_functions_added = false; - for (std::vector::iterator it = holes.begin(); it != holes.end(); - ++it) { - FunctionSymbol* fn = GetOrInsertFunction(it->start_address); - if (!fn->end_address) { - fn->end_address = it->end_address; - any_functions_added = true; - } - } + //for (std::vector::iterator it = holes.begin(); it != holes.end(); + // ++it) { + // FunctionSymbol* fn = GetOrInsertFunction(it->start_address); + // if (!fn->end_address) { + // fn->end_address = it->end_address; + // any_functions_added = true; + // } + //} return any_functions_added; }