summaryrefslogtreecommitdiff
path: root/deps/v8/src/mirror-debugger.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/mirror-debugger.js')
-rw-r--r--deps/v8/src/mirror-debugger.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/deps/v8/src/mirror-debugger.js b/deps/v8/src/mirror-debugger.js
index 7f1a05aed..a5331a014 100644
--- a/deps/v8/src/mirror-debugger.js
+++ b/deps/v8/src/mirror-debugger.js
@@ -1844,14 +1844,10 @@ function ScopeDetails(frame, fun, index) {
frame.details_.frameId(),
frame.details_.inlinedFrameIndex(),
index);
- this.frame_id_ = frame.details_.frameId();
- this.inlined_frame_id_ = frame.details_.inlinedFrameIndex();
} else {
this.details_ = %GetFunctionScopeDetails(fun.value(), index);
- this.fun_value_ = fun.value();
this.break_id_ = undefined;
}
- this.index_ = index;
}
@@ -1871,22 +1867,6 @@ ScopeDetails.prototype.object = function() {
};
-ScopeDetails.prototype.setVariableValueImpl = function(name, new_value) {
- var raw_res;
- if (!IS_UNDEFINED(this.break_id_)) {
- %CheckExecutionState(this.break_id_);
- raw_res = %SetScopeVariableValue(this.break_id_, this.frame_id_,
- this.inlined_frame_id_, this.index_, name, new_value);
- } else {
- raw_res = %SetScopeVariableValue(this.fun_value_, null, null, this.index_,
- name, new_value);
- }
- if (!raw_res) {
- throw new Error("Failed to set variable value");
- }
-};
-
-
/**
* Mirror object for scope of frame or function. Either frame or function must
* be specified.
@@ -1934,11 +1914,6 @@ ScopeMirror.prototype.scopeObject = function() {
};
-ScopeMirror.prototype.setVariableValue = function(name, new_value) {
- this.details_.setVariableValueImpl(name, new_value);
-};
-
-
/**
* Mirror object for script source.
* @param {Script} script The script object