Index: test/mjsunit/compiler/eager-deopt-simple.js |
diff --git a/test/mjsunit/regress/regress-449291.js b/test/mjsunit/compiler/eager-deopt-simple.js |
similarity index 71% |
copy from test/mjsunit/regress/regress-449291.js |
copy to test/mjsunit/compiler/eager-deopt-simple.js |
index fb56027b67f3f176f1432c11b39075aec6cc8429..72ca317a50a7cb8656f61ac3b2479ae32300afbb 100644 |
--- a/test/mjsunit/regress/regress-449291.js |
+++ b/test/mjsunit/compiler/eager-deopt-simple.js |
@@ -4,16 +4,15 @@ |
// Flags: --allow-natives-syntax |
-a = {y:1.5}; |
-a.y = 1093445778; |
-b = a.y; |
-c = {y:{}}; |
+function g(a, b, c) { |
+ return a + b + c; |
+} |
function f() { |
- return {y: b}; |
+ return g(1, (%DeoptimizeNow(), 2), 3); |
} |
f(); |
f(); |
%OptimizeFunctionOnNextCall(f); |
-assertEquals(f().y, 1093445778); |
+assertEquals(6, f()); |