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

Side by Side Diff: test/debugger/regress/regress-5575-3.js

Issue 2494043002: [debugger,compiler] do not recompile already compiled inner functions. (Closed)
Patch Set: do not log Created 4 years, 1 month 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 | « test/debugger/regress/regress-5575-2.js ('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 2016 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 Debug = debug.Debug;
6
7 let n = 0;
8 function listener(event, exec_state, event_data, data) {
9 if (event == Debug.DebugEvent.Break) {
10 if (n++ == 0) {
11 Debug.setBreakPoint(main, 0, 0);
12 }
13 }
14 }
15
16 Debug.setListener(listener);
17
18 function main() {
19 function* boo() {
20 debugger;
21 yield;
22 }
23
24 var gen = boo();
25 gen.next();
26 gen.next();
27 }
28
29 main();
OLDNEW
« no previous file with comments | « test/debugger/regress/regress-5575-2.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698