| 53 | } |
| 54 | |
| 55 | spv_result_t Function::RegisterFunctionParameter(uint32_t parameter_id, |
| 56 | uint32_t type_id) { |
| 57 | assert(current_block_ == nullptr && |
| 58 | "RegisterFunctionParameter can only be called when parsing the binary " |
| 59 | "outside of a block"); |
| 60 | // TODO(umar): Validate function parameter type order and count |
| 61 | // TODO(umar): Use these variables to validate parameter type |
| 62 | (void)parameter_id; |
| 63 | (void)type_id; |
| 64 | return SPV_SUCCESS; |
| 65 | } |
| 66 | |
| 67 | spv_result_t Function::RegisterLoopMerge(uint32_t merge_id, |
| 68 | uint32_t continue_id) { |
no outgoing calls
no test coverage detected