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

Side by Side Diff: test/mjsunit/compiler/regress-726554.js

Issue 2920193004: [turbofan] Improve representation selection for type guard. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 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
6
7 function h(a,b){
8 for(var i=0; i<a.length; i++) {h(a[i],b[i]); }
9 }
10
11 function g() {
12 h(arguments.length, 2);
13 }
14
15 function f() {
16 return g(1, 2);
17 }
18
19 b = [1,,];
20 b[1] = 3.5;
21
22 h(b, [1073741823, 2147483648, -12]);
23
24 f();
25 f();
26 %OptimizeFunctionOnNextCall(f);
27 f();
OLDNEW
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698