Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| lld/trunk/wasm/Writer.cpp | ||
|---|---|---|
| 574–576 | auto It = TypeIndices.find(Sig);
if (It == TypeIndices.end()) {
error(...);
return 0;
}
return *It;is faster because it looks up the hash table only once. | |
auto It = TypeIndices.find(Sig); if (It == TypeIndices.end()) { error(...); return 0; } return *It;is faster because it looks up the hash table only once.