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

Side by Side Diff: test/mjsunit/ignition/dead-code-source-position.js

Issue 1668863002: [interpreter] source positions should not be emitted for dead code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 var o = function() {}; 5 // Flags: --ignition-filter=f
rmcilroy 2016/02/04 15:06:39 nit - no need for --ignition-filter=f
Yang 2016/02/05 12:21:31 Done.
6
6 function f() { 7 function f() {
7 var lit = { __proto__: o }; 8 for (f(x) in []) { f(new f()) }
8 o instanceof RegExp;
9 } 9 }
10
10 f(); 11 f();
OLDNEW
« src/interpreter/source-position-table.cc ('K') | « src/interpreter/source-position-table.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698