diff --git a/src/coreclr/jit/helperexpansion.cpp b/src/coreclr/jit/helperexpansion.cpp
index 5a07d84be7f11f..3bf37b93798e93 100644
--- a/src/coreclr/jit/helperexpansion.cpp
+++ b/src/coreclr/jit/helperexpansion.cpp
@@ -1504,15 +1504,8 @@ bool Compiler::fgExpandStaticInitForCall(BasicBlock** pBlock, Statement* stmt, G
// Clear gtInitClsHnd as a mark that we've already visited this call
call->gtInitClsHnd = NO_CLASS_HANDLE;
- // Update the IL offsets of the blocks to match the split.
-
- // prevBb->bbCodeOffs remains the same
- block->bbCodeOffsEnd = prevBb->bbCodeOffsEnd;
-
- IL_OFFSET splitPointILOffset = fgFindBlockILOffset(block);
-
- prevBb->bbCodeOffsEnd = max(prevBb->bbCodeOffs, splitPointILOffset);
- block->bbCodeOffs = min(splitPointILOffset, block->bbCodeOffsEnd);
+ // The blocks and statements have been modified enough to make the ending offset invalid.
+ block->bbCodeOffsEnd = BAD_IL_OFFSET;
return true;
}
diff --git a/src/tests/JIT/Stress/ABI/pinvokes_d.csproj b/src/tests/JIT/Stress/ABI/pinvokes_d.csproj
index 0fa967a0c43511..734e0a53fdd348 100644
--- a/src/tests/JIT/Stress/ABI/pinvokes_d.csproj
+++ b/src/tests/JIT/Stress/ABI/pinvokes_d.csproj
@@ -10,9 +10,6 @@
True
true
true
-
-
- true
Full
diff --git a/src/tests/JIT/Stress/ABI/pinvokes_do.csproj b/src/tests/JIT/Stress/ABI/pinvokes_do.csproj
index f471e30b30f03c..309cb73d7b11e1 100644
--- a/src/tests/JIT/Stress/ABI/pinvokes_do.csproj
+++ b/src/tests/JIT/Stress/ABI/pinvokes_do.csproj
@@ -10,9 +10,6 @@
True
true
true
-
-
- true
Full
diff --git a/src/tests/JIT/Stress/ABI/stubs_do.csproj b/src/tests/JIT/Stress/ABI/stubs_do.csproj
index 38c8f167d1a268..074d268462d20b 100644
--- a/src/tests/JIT/Stress/ABI/stubs_do.csproj
+++ b/src/tests/JIT/Stress/ABI/stubs_do.csproj
@@ -10,9 +10,6 @@
True
true
true
-
-
- true
Full
diff --git a/src/tests/JIT/Stress/ABI/tailcalls_d.csproj b/src/tests/JIT/Stress/ABI/tailcalls_d.csproj
index 9b916ec6156432..f4a41e649c4bcd 100644
--- a/src/tests/JIT/Stress/ABI/tailcalls_d.csproj
+++ b/src/tests/JIT/Stress/ABI/tailcalls_d.csproj
@@ -10,9 +10,6 @@
True
true
true
-
-
- true
Full
diff --git a/src/tests/JIT/Stress/ABI/tailcalls_do.csproj b/src/tests/JIT/Stress/ABI/tailcalls_do.csproj
index 5a71a5843a2210..c295fce88b56d3 100644
--- a/src/tests/JIT/Stress/ABI/tailcalls_do.csproj
+++ b/src/tests/JIT/Stress/ABI/tailcalls_do.csproj
@@ -10,9 +10,6 @@
True
true
true
-
-
- true
Full