@@ -207,7 +207,7 @@ impl<'simple_jit_backend> Backend for SimpleJITBackend {
|
|||||||
let size = init.size();
|
let size = init.size();
|
||||||
let storage = match writable {
|
let storage = match writable {
|
||||||
Writability::Readonly => self
|
Writability::Readonly => self
|
||||||
.writable_memory
|
.readonly_memory
|
||||||
.allocate(size)
|
.allocate(size)
|
||||||
.expect("TODO: handle OOM etc."),
|
.expect("TODO: handle OOM etc."),
|
||||||
Writability::Writable => self
|
Writability::Writable => self
|
||||||
|
|||||||
Reference in New Issue
Block a user