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

Unified Diff: src/debug/mirrors.js

Issue 1770383006: [debugger] Removed unused GetStepInPositions method (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed BreakLocation::FromCodeOffsetSameStatement Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/debug/debug.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/mirrors.js
diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js
index 787cc64649cb7ace1ba1b20bbe8ee5c9abe29362..be76f5873d029fd84199aa5ad4d898cc767a79d5 100644
--- a/src/debug/mirrors.js
+++ b/src/debug/mirrors.js
@@ -1801,11 +1801,6 @@ FrameDetails.prototype.scopeCount = function() {
};
-FrameDetails.prototype.stepInPositionsImpl = function() {
- return %GetStepInPositions(this.break_id_, this.frameId());
-};
-
-
/**
* Mirror object for stack frames.
* @param {number} break_id The break id in the VM for which this frame is
@@ -1985,29 +1980,6 @@ FrameMirror.prototype.allScopes = function(opt_ignore_nested_scopes) {
};
-FrameMirror.prototype.stepInPositions = function() {
- var script = this.func().script();
- var funcOffset = this.func().sourcePosition_();
-
- var stepInRaw = this.details_.stepInPositionsImpl();
- var result = [];
- if (stepInRaw) {
- for (var i = 0; i < stepInRaw.length; i++) {
- var posStruct = {};
- var offset = script.locationFromPosition(funcOffset + stepInRaw[i],
- true);
- serializeLocationFields(offset, posStruct);
- var item = {
- position: posStruct
- };
- result.push(item);
- }
- }
-
- return result;
-};
-
-
FrameMirror.prototype.evaluate = function(source, disable_break,
opt_context_object) {
return MakeMirror(%DebugEvaluate(this.break_id_,
« no previous file with comments | « src/debug/debug.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698