Index: src/scopeinfo.cc |
diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc |
index 4b079b990363fdf63eaccf755c45abf7fae33b5c..012744992fe783fa072249be7f7454de7699e7ca 100644 |
--- a/src/scopeinfo.cc |
+++ b/src/scopeinfo.cc |
@@ -317,8 +317,7 @@ bool ScopeInfo::LocalIsSynthetic(int var) { |
// with user declarations, the current temporaries like .generator_object and |
// .result start with a dot, so we can use that as a flag. It's a hack! |
Handle<String> name(LocalName(var)); |
- return (name->length() > 0 && name->Get(0) == '.') || |
- name->Equals(*GetIsolate()->factory()->this_string()); |
+ return name->length() > 0 && name->Get(0) == '.'; |
} |