systemc-compiler icon indicating copy to clipboard operation
systemc-compiler copied to clipboard

Record copy constructor not supported yet

Open mikhailmoiseev opened this issue 2 years ago • 1 comments

mikhailmoiseev avatar May 26 '22 17:05 mikhailmoiseev

  1. No record variable used in generated code, see record_member_array_method3.cpp and record_return_method.cpp and record_member_array_cthread.cpp
  2. No local record declaration

Record copy requires fill UseDef for all fields, use getZeroIndexAllFields()

See record_member_array_copy.cpp::loc_rec_rec_meth() and a few other methods there. See also record_assign_concat_ctrhead.cpp::record_assign3() -- just need to add v into Use. See also record_reg_ctrhead1.cpp and record_array_unknown_cthread.cpp.

mikhailmoiseev avatar May 26 '22 17:05 mikhailmoiseev

No inner record supported

mikhailmoiseev avatar Dec 30 '22 19:12 mikhailmoiseev