MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / getSemanticHash

Function getSemanticHash

src/simulate/simulate_fn_hash.cpp:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 };
109
110 uint64_t getSemanticHash ( SimNode * node, Context * context ) {
111 debug_hash("\n");
112 SimFnHashVisitor hashV(context);
113 node->visit(hashV);
114 debug_hash("\n");
115 return hashV.getHash();
116 }
117
118 uint64_t getFunctionHash ( Function * fun, SimNode * node, Context * context ) {
119 debug_hash("\n%s\n", fun->getMangledName().c_str());

Callers 2

getSemanticHashMethod · 0.85
WalkBlockMethod · 0.85

Calls 2

visitMethod · 0.45
getHashMethod · 0.45

Tested by

no test coverage detected