Created
April 26, 2019 22:52
-
-
Save vasslitvinov/d4d6dcf57543d3df9270976dc4e7130c to your computer and use it in GitHub Desktop.
generated code for _do_destroy()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ChapelArray.chpl:1120 */ | |
/* 968993 */ static void _do_destroy(_domain_DefaultRectangularDom_1_int64_t_F * this11 /* 968997 */ , | |
int64_t _ln /* 1440483 */ , | |
int32_t _fn /* 1440485 */ ) { | |
/* 969251 */ DefaultRectangularDom_1_int64_t_F coerce_tmp = NULL; | |
/* 969062 */ _tuple_2_BaseDom_BaseDist call_tmp67; | |
/* 1193980 */ _tuple_2_BaseDom_BaseDist ret_tmp; | |
/* 1420423 */ BaseDom tmp_x1 = NULL; | |
/* 1420425 */ BaseDist tmp_x2 = NULL; | |
/* 969104 */ BaseDist distToFree = NULL; | |
/* 1312315 */ chpl_bool call_tmp68; | |
/* 969127 */ BaseDist call_tmp69 = NULL; | |
/* 1312325 */ chpl_bool call_tmp70; | |
/* 1312345 */ chpl_bool call_tmp71; | |
if (! (this11)->_unowned) { | |
/* 969255 */ coerce_tmp = (this11)->_instance; | |
/* 969070 */ remove3(((BaseDom)(coerce_tmp)), &ret_tmp, _ln, _fn); | |
/* 1193983 */ call_tmp67 = ret_tmp; | |
/* 1420431 */ tmp_x1 = (&call_tmp67)->x1; | |
/* 1420436 */ tmp_x2 = (&call_tmp67)->x2; | |
/* 969106 */ distToFree = ((BaseDist)(nil)); | |
/* 1312317 */ call_tmp68 = (((object)(tmp_x2)) != nil); | |
/* 969140 */ if (call_tmp68) /* 969126 */ { | |
/* 969129 */ call_tmp69 = remove2(tmp_x2, _ln, _fn); | |
/* 1410017 */ distToFree = call_tmp69; | |
} | |
/* 1312327 */ call_tmp70 = (((object)(tmp_x1)) != nil); | |
/* 969169 */ if (call_tmp70) /* 969157 */ { | |
/* 969166 */ _delete_dom(coerce_tmp, _ln, _fn); | |
} | |
/* 1312347 */ call_tmp71 = (((object)(distToFree)) != nil); | |
/* 969206 */ if (call_tmp71) /* 969186 */ { | |
/* 969203 */ _delete_dist(distToFree, _ln, _fn); | |
} | |
} | |
/* 969208 */ return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment