Chromium Code Reviews

Unified Diff: test/mjsunit/regress/regress-crbug-387627.js

Issue 345463005: Harden %FunctionBindArguments wrt optimized code cache. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: test case Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/compiler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-387627.js
diff --git a/test/mjsunit/regress/regress-crbug-380512.js b/test/mjsunit/regress/regress-crbug-387627.js
similarity index 80%
copy from test/mjsunit/regress/regress-crbug-380512.js
copy to test/mjsunit/regress/regress-crbug-387627.js
index af78ba7183abebad0178de169592c276f95f03c7..5c6389b5f1f341d4a22a9bd3060627da62ce4635 100644
--- a/test/mjsunit/regress/regress-crbug-380512.js
+++ b/test/mjsunit/regress/regress-crbug-387627.js
@@ -4,7 +4,8 @@
// Flags: --allow-natives-syntax
-function f() { [].lastIndexOf(42); }
+function f() {}
+%FunctionBindArguments(f, {}, undefined, 1);
f();
f();
« no previous file with comments | « src/compiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine