Index: test/mjsunit/regress/regress-deopt-gcb.js |
diff --git a/test/mjsunit/regress/regress-deopt-gc.js b/test/mjsunit/regress/regress-deopt-gcb.js |
similarity index 98% |
copy from test/mjsunit/regress/regress-deopt-gc.js |
copy to test/mjsunit/regress/regress-deopt-gcb.js |
index a74e2c5ea44fa3eed0e05e3437ff440dfa71a74b..95bb450901c504062c49421c84d98b2d52a97d1e 100644 |
--- a/test/mjsunit/regress/regress-deopt-gc.js |
+++ b/test/mjsunit/regress/regress-deopt-gcb.js |
@@ -40,7 +40,7 @@ function opt_me() { |
function deopt() { |
// Make sure we don't inline this function |
- try { var a = 42; } catch(o) {}; |
+ %NeverOptimize(); |
%DeoptimizeFunction(opt_me); |
gc(); |
} |