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

Side by Side Diff: test/mjsunit/compiler/osr-typing-debug-change.js

Issue 2497973002: [debug-wrapper] Further extend the debug wrapper (Closed)
Patch Set: Address comments 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/mjsunit/compiler/debug-catch-prediction.js ('k') | test/mjsunit/debug-backtrace-text.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: --allow-natives-syntax --expose-debug-as debug
5 6
6 var Debug = debug.Debug; 7 var Debug = debug.Debug;
7 8
8 var changed = false; 9 var changed = false;
9 10
10 function listenerSetJToResult( 11 function listenerSetJToResult(
11 event, exec_state, event_data, data) { 12 event, exec_state, event_data, data) {
12 13
13 if (event == Debug.DebugEvent.Break) { 14 if (event == Debug.DebugEvent.Break) {
14 var scope = exec_state.frame(1).scope(0); 15 var scope = exec_state.frame(1).scope(0);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 return j; 110 return j;
110 } 111 }
111 112
112 var r4 = ChangeIntVarAndOsr(); 113 var r4 = ChangeIntVarAndOsr();
113 if (changed) { 114 if (changed) {
114 assertEquals(101, r4); 115 assertEquals(101, r4);
115 assertEquals(1, counter); 116 assertEquals(1, counter);
116 } else { 117 } else {
117 assertEquals(5, r4); 118 assertEquals(5, r4);
118 } 119 }
OLDNEW
« no previous file with comments | « test/mjsunit/compiler/debug-catch-prediction.js ('k') | test/mjsunit/debug-backtrace-text.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698