[turbofan] Fix a test

The test relies on certain maps not dying but didn't ensure that.

Bug: v8:10783
Change-Id: I708f7fc027ee0bf5656be9bb4f29130f5b924597
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2340912
Reviewed-by: Marja Hölttä <marja@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Auto-Submit: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69282}
diff --git a/test/mjsunit/compiler/serializer-transition-propagation.js b/test/mjsunit/compiler/serializer-transition-propagation.js
index f9790cd..6a6da6f 100644
--- a/test/mjsunit/compiler/serializer-transition-propagation.js
+++ b/test/mjsunit/compiler/serializer-transition-propagation.js
@@ -41,11 +41,11 @@
 %PrepareFunctionForOptimization(foo);
 
 // Make 'this.x' access in C megamorhpic.
-new C;
-new D;
-new E;
-new F;
-new G;
+var c = new C;
+var d = new D;
+var e = new E;
+var f = new F;
+var g = new G;
 
 foo();
 foo();
diff --git a/test/mjsunit/mjsunit.status b/test/mjsunit/mjsunit.status
index 8d201bf..32efb64 100644
--- a/test/mjsunit/mjsunit.status
+++ b/test/mjsunit/mjsunit.status
@@ -77,9 +77,6 @@
   'wasm/shared-memory-worker-explicit-gc-stress': [PASS, SLOW],
   'wasm/shared-memory-worker-gc-stress': [PASS, SLOW],
 
-  # https://crbug.com/v8/10783
-  'compiler/serializer-transition-propagation': [PASS, FAIL],
-
   ##############################################################################
   # Tests where variants make no sense.
   'd8/enable-tracing': [PASS, NO_VARIANTS],