Index: test/mjsunit/regress/regress-crbug-523307.js |
diff --git a/test/mjsunit/regress/regress-filter-contexts.js b/test/mjsunit/regress/regress-crbug-523307.js |
similarity index 72% |
copy from test/mjsunit/regress/regress-filter-contexts.js |
copy to test/mjsunit/regress/regress-crbug-523307.js |
index d2abe0032548428324afd6675a7031bf53a5e56e..f2909675b2424c68c83fcf0b0f891467fcce851c 100644 |
--- a/test/mjsunit/regress/regress-filter-contexts.js |
+++ b/test/mjsunit/regress/regress-crbug-523307.js |
@@ -4,11 +4,13 @@ |
// Flags: --allow-natives-syntax |
-function f() { return f.x; } |
-f.__proto__ = null; |
-f.prototype = ""; |
+function f(x) { |
+ var c = x * x << 366; |
+ var a = c + c; |
+ return a; |
+} |
-f(); |
-f(); |
+f(1); |
+f(1); |
%OptimizeFunctionOnNextCall(f); |
-f(); |
+f(1); |