Lines Matching refs:instance
520 FunctionInstance* instance = imageInfo->FunctionAtAddress(
522 if (instance != NULL && instance->SourceCodeState()
524 _code = instance->GetSourceCode();
573 FunctionInstance* instance = imageDebugInfo->MainFunction();
574 if (instance != NULL)
575 fMainFunction = instance;
705 FunctionInstance* instance = imageDebugInfo->FunctionAt(i); i++) {
707 Function* function = fFunctions->Lookup(instance);
710 function->AddInstance(instance);
711 instance->SetFunction(function);
727 function->AddInstance(instance);
728 instance->SetFunction(function);
731 // Insert after adding the instance. Otherwise the function
734 function->RemoveInstance(instance);
735 instance->SetFunction(NULL);
769 FunctionInstance* instance = imageDebugInfo->FunctionAt(i); i++) {
770 if (Function* function = instance->GetFunction()) {
775 // the instance, since otherwise the function cannot be compared
779 // The instance still has a reference.
782 function->RemoveInstance(instance);
783 instance->SetFunction(NULL);
784 // If this was the last instance, it will remove the last