Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1288)

Unified Diff: test/mjsunit/regress/regress-412162.js

Issue 552243002: Handle non-object constants in HConstant::GetMonomorphicJSObjectMap. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/hydrogen-instructions.h ('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-412162.js
diff --git a/test/mjsunit/regress/regress-crbug-387636.js b/test/mjsunit/regress/regress-412162.js
similarity index 65%
copy from test/mjsunit/regress/regress-crbug-387636.js
copy to test/mjsunit/regress/regress-412162.js
index 1e50ace45a293c8561042f1a09c8fcd505b43dc2..6a7ad0c57fce5cd7b95062bafdccbc34e1dcdfab 100644
--- a/test/mjsunit/regress/regress-crbug-387636.js
+++ b/test/mjsunit/regress/regress-412162.js
@@ -4,11 +4,11 @@
// Flags: --allow-natives-syntax
-function f() {
- [].indexOf(0x40000000);
+function test() {
+ Math.abs(-NaN).toString();
}
-f();
-f();
-%OptimizeFunctionOnNextCall(f);
-f();
+test();
+test();
+%OptimizeFunctionOnNextCall(test);
+test();
« no previous file with comments | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698