Function lookup is slow - replacing with a faster test.

This commit is contained in:
Ben Vanik
2015-06-08 23:44:38 -07:00
parent 1a2b4a38e0
commit dbcdc5b543
3 changed files with 12 additions and 8 deletions

View File

@@ -65,6 +65,7 @@ class Processor {
FunctionInfo::BuiltinHandler handler, void* arg0,
void* arg1);
Function* QueryFunction(uint32_t address);
std::vector<Function*> FindFunctionsWithAddress(uint32_t address);
bool LookupFunctionInfo(uint32_t address, FunctionInfo** out_symbol_info);