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

Unified Diff: test/debugger/debug/compiler/osr-typing-debug-change.js

Issue 2505363002: [debug-wrapper] Adapt tests, breakpoint.actual_location (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime-debug.cc ('k') | test/debugger/debug/debug-evaluate-locals.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/debugger/debug/compiler/osr-typing-debug-change.js
diff --git a/test/mjsunit/compiler/osr-typing-debug-change.js b/test/debugger/debug/compiler/osr-typing-debug-change.js
similarity index 90%
rename from test/mjsunit/compiler/osr-typing-debug-change.js
rename to test/debugger/debug/compiler/osr-typing-debug-change.js
index 03579c0ff0838568fc66460e843327a1d5267e9c..92eb8990367376c4736fef39d39d33453b05590d 100644
--- a/test/mjsunit/compiler/osr-typing-debug-change.js
+++ b/test/debugger/debug/compiler/osr-typing-debug-change.js
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --allow-natives-syntax --expose-debug-as debug
var Debug = debug.Debug;
@@ -80,15 +79,12 @@ if (changed) {
assertEquals(0.5, r3);
}
-var counter = 0;
-var o = { toString : function() { counter++; return 100; } };
-
function listenerSetJToObject(
event, exec_state, event_data, data) {
if (event == Debug.DebugEvent.Break) {
var scope = exec_state.frame(1).scope(0);
try {
- scope.setVariableValue("j", o);
+ scope.setVariableValue("j", 100);
changed = true;
} catch(e) {
changed = false;
@@ -113,7 +109,6 @@ function ChangeIntVarAndOsr() {
var r4 = ChangeIntVarAndOsr();
if (changed) {
assertEquals(101, r4);
- assertEquals(1, counter);
} else {
assertEquals(5, r4);
}
« no previous file with comments | « src/runtime/runtime-debug.cc ('k') | test/debugger/debug/debug-evaluate-locals.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698