about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorFlorent Monjalet <florent.monjalet@gmail.com>2016-03-13 14:26:06 +0100
committerFlorent Monjalet <florent.monjalet@gmail.com>2016-03-15 11:14:17 +0100
commit98a7703963a9cb5c1e0e4a381a3ce1025a2bf174 (patch)
tree41eef4b719acce59225e05adb6a88c7490a9b79c /test
parentc83c64899127073731ebc07434ebf2dead197342 (diff)
downloadmiasm-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.py2
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