(Function fn)
| 361 | } |
| 362 | |
| 363 | public boolean addFunction(Function fn) { |
| 364 | // We use the db parameters map to persist native and IR functions. |
| 365 | boolean addToDbParams = |
| 366 | (fn.getBinaryType() == TFunctionBinaryType.NATIVE || |
| 367 | fn.getBinaryType() == TFunctionBinaryType.IR); |
| 368 | return addFunction(fn, addToDbParams); |
| 369 | } |
| 370 | |
| 371 | /** |
| 372 | * Registers the function fn to this database. If addToDbParams is true, |
no test coverage detected