History

Add tests for parametric polymorphism. Update debugger to show parametric type as '*'. - e.g. reverse(list of *):list of *

arr committed 9 years ago

Commit 3098fb81 parent e5f12523 files · +41 −5Browse files

Showing the changes to src/vm/execution_table.cpp (1 of 3 files). Show all

Unified · Split

src/vm/execution_table.cpp+1−1
@@ -1094,7 +1094,7 @@ namespace · 1093 unmodified lines
1094 EXEC_DECL(newcl) { _newc_(r, vm, intrinsic_type_desc::type<big_t>(), _mov_<big_t>); }1094 EXEC_DECL(newcl) { _newc_(r, vm, intrinsic_type_desc::type<big_t>(), _mov_<big_t>); }
1095 EXEC_DECL(newcp) { _newc_(r, vm, intrinsic_type_desc::type<pointer_t>(), _mov_<vm_alloc_t>); }1095 EXEC_DECL(newcp) { _newc_(r, vm, intrinsic_type_desc::type<pointer_t>(), _mov_<vm_alloc_t>); }
1096 1096
1097 EXEC_DECL(newcm) 1097 EXEC_DECL(newcm)
1098 {1098 {
1099 auto memory_size = vt_ref<word_t>(r.src); 1099 auto memory_size = vt_ref<word_t>(r.src);
1100 auto channel_data_type = type_descriptor_t::create(memory_size); 1100 auto channel_data_type = type_descriptor_t::create(memory_size);