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

Side by Side Diff: test/mjsunit/call-counts.js

Issue 1409533003: Remove bogus flags from call-counts.js test. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Also fix typo. Created 5 years, 2 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 | « no previous file | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Flags: --allow-natives-syntax --noalways-opt --no-vector-stores 5 // Flags: --allow-natives-syntax --noalways-opt
6 6
7 // We disable vector store ICs because slot indices change when this option 7 // We disable vector store ICs because slot indices change when this option
8 // is enabled. 8 // is enabled.
9 9
10 // Locations in the type feedback vector where call counts are maintained for 10 // Locations in the type feedback vector where call counts are maintained for
11 // the two calls made from bar(); 11 // the two calls made from bar();
12 12
13 (function() { 13 (function() {
14 const kFooCallExtraIndex = 5; 14 const kFooCallExtraIndex = 5;
15 const kArrayCallExtraIndex = 7; 15 const kArrayCallExtraIndex = 7;
(...skipping 21 matching lines...) Expand all
37 } 37 }
38 38
39 var a = [1, 2, 3]; 39 var a = [1, 2, 3];
40 bar(a); 40 bar(a);
41 assertEquals(10, GetCallCount(bar, kFooCallExtraIndex)); 41 assertEquals(10, GetCallCount(bar, kFooCallExtraIndex));
42 assertEquals(5, GetCallCount(bar, kArrayCallExtraIndex)); 42 assertEquals(5, GetCallCount(bar, kArrayCallExtraIndex));
43 43
44 %OptimizeFunctionOnNextCall(bar); 44 %OptimizeFunctionOnNextCall(bar);
45 bar(a); 45 bar(a);
46 })(); 46 })();
OLDNEW
« no previous file with comments | « no previous file | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698