mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +00:00
Revert "Minor adjustment to usage of the ClosureClassRepresentation interface."
This reverts commit 85f37133f9
.
BUG=
Review-Url: https://codereview.chromium.org/2946843002 .
This commit is contained in:
parent
85f37133f9
commit
0ee0717cc3
|
@ -128,11 +128,12 @@ class RuntimeTypeGenerator {
|
|||
if (!method.isAbstract) {
|
||||
ClosureRepresentationInfo closureData =
|
||||
_closureDataLookup.getClosureRepresentationInfo(method);
|
||||
if (closureData != null && closureData.isClosure) {
|
||||
if (closureData != null) {
|
||||
ClosureFieldElement thisLocal = closureData.thisFieldEntity;
|
||||
assert(thisLocal != null);
|
||||
jsAst.Name thisName = _namer.instanceFieldPropertyName(thisLocal);
|
||||
thisAccess = js('this.#', thisName);
|
||||
if (thisLocal != null) {
|
||||
jsAst.Name thisName = _namer.instanceFieldPropertyName(thisLocal);
|
||||
thisAccess = js('this.#', thisName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue