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

Side by Side Diff: test/mjsunit/ignition/tracing.js

Issue 1844023003: [interpreter] Fix stale DCHECK in tracing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix a memory leak and add test. Created 4 years, 8 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/runtime/runtime-interpreter.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 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are
4 // met:
5 //
6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided
11 // with the distribution.
12 // * Neither the name of Google Inc. nor the names of its
13 // contributors may be used to endorse or promote products derived
14 // from this software without specific prior written permission.
15 //
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28 // Flags: --trace-ignition
29
30 // Test tracing doesn't crash or leak. Not explicitly pattern matching.
31 function f() {
32 var values = [];
33 var x = 10000000;
34 var y = x + 1;
35 var _aa;
36 var _ab;
37 var _ac;
38 var _ad;
39 var _ae;
40 var _af;
41 var _ag;
42 var _ah;
43 var _ai;
44 var _aj;
45 var _ak;
46 var _al;
47 var _am;
48 var _an;
49 var _ao;
50 var _ap;
51 var _ba;
52 var _bb;
53 var _bc;
54 var _bd;
55 var _be;
56 var _bf;
57 var _bg;
58 var _bh;
59 var _bi;
60 var _bj;
61 var _bk;
62 var _bl;
63 var _bm;
64 var _bn;
65 var _bo;
66 var _bp;
67 var _ca;
68 var _cb;
69 var _cc;
70 var _cd;
71 var _ce;
72 var _cf;
73 var _cg;
74 var _ch;
75 var _ci;
76 var _cj;
77 var _ck;
78 var _cl;
79 var _cm;
80 var _cn;
81 var _co;
82 var _cp;
83 var _da;
84 var _db;
85 var _dc;
86 var _dd;
87 var _de;
88 var _df;
89 var _dg;
90 var _dh;
91 var _di;
92 var _dj;
93 var _dk;
94 var _dl;
95 var _dm;
96 var _dn;
97 var _do;
98 var _dp;
99 var _ea;
100 var _eb;
101 var _ec;
102 var _ed;
103 var _ee;
104 var _ef;
105 var _eg;
106 var _eh;
107 var _ei;
108 var _ej;
109 var _ek;
110 var _el;
111 var _em;
112 var _en;
113 var _eo;
114 var _ep;
115 var _fa;
116 var _fb;
117 var _fc;
118 var _fd;
119 var _fe;
120 var _ff;
121 var _fg;
122 var _fh;
123 var _fi;
124 var _fj;
125 var _fk;
126 var _fl;
127 var _fm;
128 var _fn;
129 var _fo;
130 var _fp;
131 var _ga;
132 var _gb;
133 var _gc;
134 var _gd;
135 var _ge;
136 var _gf;
137 var _gg;
138 var _gh;
139 var _gi;
140 var _gj;
141 var _gk;
142 var _gl;
143 var _gm;
144 var _gn;
145 var _go;
146 var _gp;
147 var _ha;
148 var _hb;
149 var _hc;
150 var _hd;
151 var _he;
152 var _hf;
153 var _hg;
154 var _hh;
155 var _hi;
156 var _hj;
157 var _hk;
158 var _hl;
159 var _hm;
160 var _hn;
161 var _ho;
162 var _hp;
163 var _ia;
164 var _ib;
165 var _ic;
166 var _id;
167 var _ie;
168 var _if;
169 var _ig;
170 var _ih;
171 var _ii;
172 var _ij;
173 var _ik;
174 var _il;
175 var _im;
176 var _in;
177 var _io;
178 var _ip;
179 var _ja;
180 var _jb;
181 var _jc;
182 var _jd;
183 var _je;
184 var _jf;
185 var _jg;
186 var _jh;
187 var _ji;
188 var _jj;
189 var _jk;
190 var _jl;
191 var _jm;
192 var _jn;
193 var _jo;
194 var _jp;
195 var _ka;
196 var _kb;
197 var _kc;
198 var _kd;
199 var _ke;
200 var _kf;
201 var _kg;
202 var _kh;
203 var _ki;
204 var _kj;
205 var _kk;
206 var _kl;
207 var _km;
208 var _kn;
209 var _ko;
210 var _kp;
211 var _la;
212 var _lb;
213 var _lc;
214 var _ld;
215 var _le;
216 var _lf;
217 var _lg;
218 var _lh;
219 var _li;
220 var _lj;
221 var _lk;
222 var _ll;
223 var _lm;
224 var _ln;
225 var _lo;
226 var _lp;
227 var _ma;
228 var _mb;
229 var _mc;
230 var _md;
231 var _me;
232 var _mf;
233 var _mg;
234 var _mh;
235 var _mi;
236 var _mj;
237 var _mk;
238 var _ml;
239 var _mm;
240 var _mn;
241 var _mo;
242 var _mp;
243 var _na;
244 var _nb;
245 var _nc;
246 var _nd;
247 var _ne;
248 var _nf;
249 var _ng;
250 var _nh;
251 var _ni;
252 var _nj;
253 var _nk;
254 var _nl;
255 var _nm;
256 var _nn;
257 var _no;
258 var _np;
259 var _oa;
260 var _ob;
261 var _oc;
262 var _od;
263 var _oe;
264 var _of;
265 var _og;
266 var _oh;
267 var _oi;
268 var _oj;
269 var _ok;
270 var _ol;
271 var _om;
272 var _on;
273 var _oo;
274 var _op;
275 var _pa;
276 var _pb;
277 var _pc;
278 var _pd;
279 var _pe;
280 var _pf;
281 var _pg;
282 var _ph;
283 var _pi;
284 var _pj;
285 var _pk;
286 var _pl;
287 var _pm;
288 var _pn;
289 var _po;
290 var _pp;
291 var _qa;
292 var _qb;
293 var _qc;
294 var _qd;
295 var _qe;
296 var _qf;
297 var _qg;
298 var _qh;
299 var _qi;
300 var _qj;
301 var _qk;
302 var _ql;
303 var _qm;
304 var _qn;
305 var _qo;
306 var _qp;
307 var _ra;
308 var _rb;
309 var _rc;
310 var _rd;
311 var _re;
312 var _rf;
313 var _rg;
314 var _rh;
315 var _ri;
316 var _rj;
317 var _rk;
318 var _rl;
319 var _rm;
320 var _rn;
321 var _ro;
322 var _rp = 287; values[_rp] = _rp;
323 };
324
325 f();
OLDNEW
« no previous file with comments | « src/runtime/runtime-interpreter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698