Index: test/mjsunit/regress/regress-filter-contexts.js |
diff --git a/test/mjsunit/regress/regress-449291.js b/test/mjsunit/regress/regress-filter-contexts.js |
similarity index 67% |
copy from test/mjsunit/regress/regress-449291.js |
copy to test/mjsunit/regress/regress-filter-contexts.js |
index fb56027b67f3f176f1432c11b39075aec6cc8429..d2abe0032548428324afd6675a7031bf53a5e56e 100644 |
--- a/test/mjsunit/regress/regress-449291.js |
+++ b/test/mjsunit/regress/regress-filter-contexts.js |
@@ -4,16 +4,11 @@ |
// Flags: --allow-natives-syntax |
-a = {y:1.5}; |
-a.y = 1093445778; |
-b = a.y; |
-c = {y:{}}; |
- |
-function f() { |
- return {y: b}; |
-} |
+function f() { return f.x; } |
+f.__proto__ = null; |
+f.prototype = ""; |
f(); |
f(); |
%OptimizeFunctionOnNextCall(f); |
-assertEquals(f().y, 1093445778); |
+f(); |