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

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

Issue 197803005: Check that constant is an integer before getting its value in HGraphBuilder::MatchRotateRight. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: remove redundant check Created 6 years, 9 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.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-351263.js
diff --git a/test/mjsunit/recursive-store-opt.js b/test/mjsunit/regress/regress-351263.js
similarity index 90%
copy from test/mjsunit/recursive-store-opt.js
copy to test/mjsunit/regress/regress-351263.js
index fb2649248dbabc642f864f671d0ce2273ad44bd7..28edbcdb624b2af5c3d0f3241c57e96ecdb06c29 100644
--- a/test/mjsunit/recursive-store-opt.js
+++ b/test/mjsunit/regress/regress-351263.js
@@ -27,15 +27,11 @@
// Flags: --allow-natives-syntax
-function g() {
- this.x = this;
+var __v_12 = {};
+function __f_30(x, sa) {
+ return (x >>> sa) | (x << (__v_12 - sa));
}
-
-function f() {
- return new g();
-}
-
-f();
-f();
-%OptimizeFunctionOnNextCall(f);
-f();
+__f_30(1.4, 1);
+__f_30(1.4, 1);
+%OptimizeFunctionOnNextCall(__f_30);
+__f_30(1.4, 1);
« no previous file with comments | « src/hydrogen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698