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

Side by Side Diff: test/debugger/debug/debug-evaluate-nested-let.js

Issue 2653753007: [tests] Cleanup tests that use assertOptimized()/assertUnoptimized(). (Closed)
Patch Set: Addressing comments Created 3 years, 11 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 | « test/debugger/debug/debug-compile-optimized.js ('k') | test/debugger/debug/debug-optimize.js » ('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 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 // Flags: --crankshaft
5 6
6 Debug = debug.Debug 7 Debug = debug.Debug
7 8
8 var exception = null; 9 var exception = null;
9 10
10 function f() { 11 function f() {
11 let a = 0; 12 let a = 0;
12 function g() { 13 function g() {
13 let a = 1; 14 let a = 1;
14 { 15 {
(...skipping 27 matching lines...) Expand all
42 print("Caught something. " + e + " " + e.stack); 43 print("Caught something. " + e + " " + e.stack);
43 }; 44 };
44 }; 45 };
45 46
46 Debug.setListener(listener); 47 Debug.setListener(listener);
47 48
48 f(); 49 f();
49 50
50 Debug.setListener(null); 51 Debug.setListener(null);
51 assertNull(exception); 52 assertNull(exception);
OLDNEW
« no previous file with comments | « test/debugger/debug/debug-compile-optimized.js ('k') | test/debugger/debug/debug-optimize.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698