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

Unified Diff: test/mjsunit/es6/debug-step-into-constructor.js

Issue 1425293007: [crankshaft] Do not optimize ClassConstructor calls and apply. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: hope my magic works Created 5 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 | « test/mjsunit/es6/debug-break-default-constructor.js ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/debug-step-into-constructor.js
diff --git a/test/mjsunit/es6/debug-step-into-constructor.js b/test/mjsunit/es6/debug-step-into-constructor.js
index 66fc0b99d0ffcbf0d02724da76de3843c964858f..1e903256fd0a0b8ff9bfee270896731bcd19e833 100644
--- a/test/mjsunit/es6/debug-step-into-constructor.js
+++ b/test/mjsunit/es6/debug-step-into-constructor.js
@@ -14,7 +14,6 @@ function listener(event, execState, eventData, data) {
if (!done) {
execState.prepareStep(Debug.StepAction.StepInto);
var s = execState.frame().sourceLineText();
- print(s);
assertTrue(s.indexOf('// ' + stepCount + '.') !== -1);
stepCount++;
}
@@ -41,7 +40,7 @@ class Derived extends Base {}
var bp = Debug.setBreakPoint(Base, 0);
new Base();
- assertEquals(5, stepCount);
+ assertEquals(1, stepCount);
Debug.clearBreakPoint(bp);
})();
@@ -53,7 +52,7 @@ class Derived extends Base {}
var bp = Debug.setBreakPoint(Base, 0);
new Derived();
- assertEquals(5, stepCount);
+ assertEquals(1, stepCount);
Debug.clearBreakPoint(bp);
})();
@@ -69,7 +68,7 @@ class Derived extends Base {}
var bp = Debug.setBreakPoint(f, 0);
f();
- assertEquals(5, stepCount);
+ assertEquals(1, stepCount);
Debug.clearBreakPoint(bp);
})();
@@ -87,7 +86,7 @@ class Derived extends Base {}
var bp = Debug.setBreakPoint(f, 0);
f();
- assertEquals(5, stepCount);
+ assertEquals(1, stepCount);
Debug.clearBreakPoint(bp);
})();
@@ -105,7 +104,7 @@ class Derived extends Base {}
var bp = Debug.setBreakPoint(f, 0);
f();
- assertEquals(5, stepCount);
+ assertEquals(1, stepCount);
Debug.clearBreakPoint(bp);
})();
« no previous file with comments | « test/mjsunit/es6/debug-break-default-constructor.js ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698