Add heap_load, heap_store, and heap_addr instructions.

These are used when lowering WebAssembly sandbox code.
This commit is contained in:
Jakob Stoklund Olesen
2017-04-10 15:03:10 -07:00
parent ca12a683ac
commit b5237b6a4a
9 changed files with 110 additions and 46 deletions

View File

@@ -269,7 +269,9 @@ impl<'a> Verifier<'a> {
&ExtractLane { .. } |
&IntCompare { .. } |
&IntCompareImm { .. } |
&FloatCompare { .. } => {}
&FloatCompare { .. } |
&HeapLoad { .. } |
&HeapStore { .. } => {}
}
Ok(())