Add load and store instructions.

Define a MemFlags class, currently holding a notrap and aligned flag.
This commit is contained in:
Jakob Stoklund Olesen
2017-04-11 09:54:55 -07:00
parent 46f0393417
commit 9d9807688c
12 changed files with 227 additions and 45 deletions

View File

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