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

Side by Side Diff: test/mjsunit/regress/regress-crbug-349465-2.js

Issue 188703002: Fix for failing asserts in HBoundsCheck code generation on x64: use proper cmp operation width inst… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Flags: --allow-natives-syntax --debug-code
6
7 function __f_5() {
8 var __v_9 = {};
9 var __v_10 = [];
10 function __f_14(__v_26) {
11 if (__v_26 | 0 == __v_26) {
12 __v_26 = __v_26 | 0;
13 }
14 if (%_IsSmi(__v_26) && !__v_9[__v_26]) {
15 __v_10.push(__v_26);
16 }
17 }
18 function __f_10(__v_26) {
19 %OptimizeFunctionOnNextCall(__f_14);
20 __f_14(-__v_5);
21 }
22 var __v_5 = 10 * 1000 * 1000 * 1000;
23 for (var __v_6 = 1; __v_6 <= __v_5; __v_6 *= 10) {
24 for (var __v_8 = 0; __v_8 <= 9; __v_8++) {
25 for (var __v_4 = -1; __v_4 <= 1; __v_4++) {
26 __f_10(__v_6 * __v_8 + __v_4);
27 }
28 }
29 }
30 }
31 __f_5();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698