diff options
| author | Gabriela Alexandra Moldovan <gabi_250@live.com> | 2019-02-20 16:37:52 +0000 |
|---|---|---|
| committer | Gabriela Alexandra Moldovan <gabi_250@live.com> | 2019-02-20 21:35:34 +0000 |
| commit | 36f18f2d3a2df4a2ce0925f438631b615e2ab4dc (patch) | |
| tree | 57284ed8c3a6b80777c140f94e14f3186f9be5d3 /src/rustllvm/RustWrapper.cpp | |
| parent | f66e4697ae286985ddefc53c3a047614568458bb (diff) | |
| download | rust-36f18f2d3a2df4a2ce0925f438631b615e2ab4dc.tar.gz rust-36f18f2d3a2df4a2ce0925f438631b615e2ab4dc.zip | |
Allow Self::Module to be mutated.
`codegen_allocator` and `write_metadata` mutate the underlying LLVM module. As such, it makes sense for these two functions to receive a mutable reference to the module (as opposed to an immutable one).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
