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

Unified Diff: src/debug/mirrors.js

Issue 1968263002: Remove unused 'receiver' field from generators (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: weaken dcheck Created 4 years, 7 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/arm64/builtins-arm64.cc ('k') | src/ia32/builtins-ia32.cc » ('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 a2777abc1ffd153ca2519f91f533603505e9deb0..3f39f4a2cafdd9e1d071272af180e3a5e22cd7ae 100644
--- a/src/debug/mirrors.js
+++ b/src/debug/mirrors.js
@@ -1443,14 +1443,6 @@ GeneratorMirror.prototype.func = function() {
};
-GeneratorMirror.prototype.receiver = function() {
- if (!this.receiver_) {
- this.receiver_ = MakeMirror(%GeneratorGetReceiver(this.value_));
- }
- return this.receiver_;
-};
-
-
/**
* Base mirror object for properties.
* @param {ObjectMirror} mirror The mirror object having this property
@@ -2779,7 +2771,6 @@ JSONProtocolSerializer.prototype.serializeObject_ = function(mirror, content,
content.status = mirror.status();
content.func = this.serializeReference(mirror.func())
- content.receiver = this.serializeReference(mirror.receiver())
// If the generator is suspended, the content add line/column properties.
serializeLocationFields(mirror.sourceLocation(), content);
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698