| 79 | } |
| 80 | |
| 81 | const NativeFunction* FunctionRegistry::LookupSignature( |
| 82 | const FunctionSignature& signature) const { |
| 83 | const auto got = pc_registry_map_.find(&signature); |
| 84 | return got == pc_registry_map_.end() ? nullptr : got->second; |
| 85 | } |
| 86 | |
| 87 | Status FunctionRegistry::Add(NativeFunction func) { |
| 88 | if (pc_registry_.size() == kMaxFunctionSignatures) { |