Sets the fields in the module's header to the given parameters.
| 51 | |
| 52 | // Sets the fields in the module's header to the given parameters. |
| 53 | void SetModuleHeader(uint32_t magic, uint32_t version, uint32_t generator, |
| 54 | uint32_t bound, uint32_t reserved) { |
| 55 | module_->SetHeader({magic, version, generator, bound, reserved}); |
| 56 | } |
| 57 | // Adds an instruction to the module. Returns true if no error occurs. This |
| 58 | // method will properly capture and store the data provided in |inst| so that |
| 59 | // |inst| is no longer needed after returning. |
no test coverage detected