diff options
| author | Florent Monjalet <florent.monjalet@gmail.com> | 2016-03-13 14:26:06 +0100 |
|---|---|---|
| committer | Florent Monjalet <florent.monjalet@gmail.com> | 2016-03-15 11:14:17 +0100 |
| commit | 98a7703963a9cb5c1e0e4a381a3ce1025a2bf174 (patch) | |
| tree | 41eef4b719acce59225e05adb6a88c7490a9b79c /test | |
| parent | c83c64899127073731ebc07434ebf2dead197342 (diff) | |
| download | miasm-98a7703963a9cb5c1e0e4a381a3ce1025a2bf174.tar.gz miasm-98a7703963a9cb5c1e0e4a381a3ce1025a2bf174.zip | |
Types: Ptr.dst_type is now a Type rather than a MemType
Makes for a more coherent API
Diffstat (limited to 'test')
| -rw-r--r-- | test/core/test_types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/test_types.py b/test/core/test_types.py index 09de1f71..f6e5cb13 100644 --- a/test/core/test_types.py +++ b/test/core/test_types.py @@ -108,7 +108,7 @@ assert other == other2 # But same value ## Same stuff for Ptr to MemField alloc_addr = my_heap.vm_alloc(jitter.vm, mstruct.get_type().get_field_type("i") - .dst_type.sizeof()) + .dst_type.size) mstruct.i = alloc_addr mstruct.i.deref.val = 8 assert mstruct.i.deref.val == 8 |