MCPcopy Create free account
hub / github.com/WebAssembly/wabt / FindDuplicates

Method FindDuplicates

src/binding-hash.cc:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace wabt {
25
26void BindingHash::FindDuplicates(DuplicateCallback callback) const {
27 if (size() > 0) {
28 ValueTypeVector duplicates;
29 CreateDuplicatesVector(&duplicates);
30 SortDuplicatesVectorByLocation(&duplicates);
31 CallCallbacks(duplicates, callback);
32 }
33}
34
35Index BindingHash::FindIndex(const Var& var) const {
36 if (var.is_name()) {

Callers 2

VisitFuncMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected