Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e7f430a
WIP
jakobbotsch Jul 15, 2025
3b85c95
JIT: Preparatory refactoring to support multiple defs per single node
jakobbotsch Jul 15, 2025
fba620a
Mitigate some TP diffs
jakobbotsch Jul 16, 2025
3939f24
Nit
jakobbotsch Jul 16, 2025
2e151fe
Merge branch 'multiple-defs-per-node' into restore-sync-context-field
jakobbotsch Jul 16, 2025
5fec55f
WIP
jakobbotsch Jul 16, 2025
b9483e7
Attempt at jump threading optimization
jakobbotsch Jul 16, 2025
8301152
Drop jump threading opt for now
jakobbotsch Jul 16, 2025
4a88fe8
Run jit-format
jakobbotsch Jul 16, 2025
c2b3e88
Clean up
jakobbotsch Jul 17, 2025
f9e62e1
Fix SPMI
jakobbotsch Jul 17, 2025
41158a3
Merge branch 'main' of github.com:dotnet/runtime into restore-sync-co…
jakobbotsch Jul 17, 2025
576d138
Fix build
jakobbotsch Jul 17, 2025
39549be
JIT: Fix unique successors in `BBswtDesc` in runtime async
jakobbotsch Jul 17, 2025
a38902b
Clean up
jakobbotsch Jul 17, 2025
f91aa6a
Expand test
jakobbotsch Jul 17, 2025
c786545
Nit
jakobbotsch Jul 17, 2025
aa31bfb
Fix release build
jakobbotsch Jul 17, 2025
9e3a686
Fix dangling pointer bug
jakobbotsch Jul 17, 2025
c78ca39
Update JIT-EE GUID
jakobbotsch Jul 17, 2025
24cd099
Redisable runtime async
jakobbotsch Jul 17, 2025
f40c255
Require AsyncSuspendedIndicator to be present when HasSuspensionIndic…
jakobbotsch Jul 21, 2025
2c073ab
Update async comments
jakobbotsch Jul 21, 2025
0741517
Assert NumPosts
jakobbotsch Jul 21, 2025
8066afb
Add another test that we capture the sync context from before the call
jakobbotsch Jul 21, 2025
ddd7584
Use sync context from before call as continuation context
jakobbotsch Jul 21, 2025
ce2f834
Reset continuation context handling for tailcalls:
jakobbotsch Jul 21, 2025
0405154
Add some more comments
jakobbotsch Jul 23, 2025
b1329a7
Run jit-format
jakobbotsch Jul 23, 2025
6510e37
Make SyncContext parameter the first one
jakobbotsch Jul 23, 2025
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
Prev Previous commit
Next Next commit
Fix dangling pointer bug
  • Loading branch information
jakobbotsch committed Jul 17, 2025
commit 9e3a6863486cd5aec813ee911800208019571b69
3 changes: 3 additions & 0 deletions src/coreclr/jit/async.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2088,6 +2088,9 @@ void AsyncTransformation::CopyReturnValueOnResumption(GenTreeCall*
LIR::AsRange(storeResultBB).InsertAtEnd(LIR::SeqTree(m_comp, storeResultBase));

resultBase = m_comp->gtNewLclVarNode(resultBaseVar, TYP_REF);

// Can be reallocated by above call to GetResultBaseVar
resultLcl = m_comp->lvaGetDesc(callDefInfo.DefinitionNode);
}

assert(callDefInfo.DefinitionNode->OperIs(GT_STORE_LCL_VAR));
Expand Down
Loading