mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:27:39 +00:00
[cfe/ffi] Remove dead code
TEST=tests/ffi Change-Id: Idf2a81d186393aa507ef66c162cd9f080b9b534d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/201404 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
parent
784812418c
commit
939960ca0c
|
@ -568,7 +568,6 @@ class _FfiDefinitionTransformer extends FfiTransformer {
|
|||
final sizeAnnotations = _getArraySizeAnnotations(m).toList();
|
||||
if (sizeAnnotations.length == 1) {
|
||||
final arrayDimensions = sizeAnnotations.single;
|
||||
arrayDimensions.length;
|
||||
if (this.arrayDimensions(dartType) == arrayDimensions.length) {
|
||||
type = NativeTypeCfe(this, dartType,
|
||||
compoundCache: compoundCache, arrayDimensions: arrayDimensions);
|
||||
|
|
Loading…
Reference in a new issue