no message
This commit is contained in:
@@ -773,13 +773,13 @@ public class db_project_info extends DBObject {
|
||||
inline_root.add(node);
|
||||
//-
|
||||
for (FuncInfo decl2 : allFunctions.values()) {
|
||||
for (FuncCall call : decl2.calls) {
|
||||
for (FuncCall call : decl2.callsFrom) {
|
||||
if (call.funcName.equals(decl1.funcName)) {
|
||||
if (!decl1.own_calls.containsKey(call.file))
|
||||
decl1.own_calls.put(call.file, new Vector<>());
|
||||
if (!decl1.ownCalls.containsKey(call.file))
|
||||
decl1.ownCalls.put(call.file, new Vector<>());
|
||||
if (decl1.needToInline==1) call.Select(true);
|
||||
call.canBeInlined = (decl1.doNotInline==1)?0:1;
|
||||
decl1.own_calls.get(call.file).add(call);
|
||||
decl1.ownCalls.get(call.file).add(call);
|
||||
node.add(new DefaultMutableTreeNode(call));
|
||||
}
|
||||
}
|
||||
@@ -792,7 +792,7 @@ public class db_project_info extends DBObject {
|
||||
//особый случай.
|
||||
main_functionH = new FuncCallH(main_function);
|
||||
DefaultMutableTreeNode main_node = new DefaultMutableTreeNode(main_functionH);
|
||||
for (FuncCall call : main_function.calls) {
|
||||
for (FuncCall call : main_function.callsFrom) {
|
||||
Vector<String> chain = new Vector<>();
|
||||
chain.add(main_functionH.funcName);
|
||||
// UI.Info("start new chain");
|
||||
@@ -812,7 +812,7 @@ public class db_project_info extends DBObject {
|
||||
DefaultMutableTreeNode res = null;
|
||||
FuncInfo funcInfo = allFunctions.get(funcCall.funcName);
|
||||
res = new DefaultMutableTreeNode(funcCallH);
|
||||
for (FuncCall call : funcInfo.calls) {
|
||||
for (FuncCall call : funcInfo.callsFrom) {
|
||||
if (!chain.contains(call.funcName)) {
|
||||
DefaultMutableTreeNode node = BuildInlineGraph2_r(call, chain);
|
||||
if (node != null) {
|
||||
|
||||
Reference in New Issue
Block a user