| 239 | } |
| 240 | |
| 241 | void OpBase_UpdateConsume |
| 242 | ( |
| 243 | OpBase *op, |
| 244 | fpConsume consume |
| 245 | ) { |
| 246 | ASSERT(op != NULL); |
| 247 | // if Operation is profiled, update profiled function |
| 248 | // otherwise update consume function |
| 249 | if(op->profile != NULL) op->profile = consume; |
| 250 | else op->consume = consume; |
| 251 | } |
| 252 | |
| 253 | // updates the plan of an operation |
| 254 | void OpBase_BindOpToPlan |
no outgoing calls
no test coverage detected