Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler/passes/convert-typed-uast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,7 @@ void TConverter::createMainFunctions() {
chpl_gen_main->insertAtTail(new CallExpr(PRIM_SET_DYNAMIC_END_COUNT, endCount));
}

chpl_gen_main->insertAtTail(new CallExpr("chpl_rt_preUserCodeHook"));
chpl_gen_main->insertAtTail(new CallExpr("chpl_preUserCodeSync"));

// We have to initialize the main module explicitly.
// It will initialize all the modules it uses, recursively.
Expand Down
2 changes: 1 addition & 1 deletion modules/internal/ChapelProgramEntrypoints.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ module ChapelProgramEntrypoints {
chpl_task_callMain(p2);

// @dlongnecke-cray, 11/16/2020
// TODO: Call chpl_rt_preUserCodeHook() here for Locale[0]?
// TODO: Call chpl_preUserCodeSync() here for Locale[0]?
initTaskDynamicEndCount();

// Now that module initialization is done, set the flag to 'true'.
Expand Down