Index: test/mjsunit/object-seal.js |
diff --git a/test/mjsunit/object-seal.js b/test/mjsunit/object-seal.js |
index f31f0b7dd2649513ce1a153bb358e05c95eb6091..3afddb9d60ccbcdf273e349618a4e353724a4114 100644 |
--- a/test/mjsunit/object-seal.js |
+++ b/test/mjsunit/object-seal.js |
@@ -251,8 +251,7 @@ assertOptimized(shift_call); |
Object.seal(obj); |
assertThrows(function() { push_call(obj); }, TypeError); |
assertThrows(function() { shift_call(obj); }, TypeError); |
-assertOptimized(push_call); |
-// shift() doesn't have a custom call generator, so deopt will occur. |
+assertUnoptimized(push_call); |
assertUnoptimized(shift_call); |
assertDoesNotThrow(function() { push_call(objControl); }); |
assertDoesNotThrow(function() { shift_call(objControl); }); |