Skip to content

[CP] Please cherry pick change e4942db83e2ad147de8710c0c96629f676fc91e3 (Avoid speculative conversion in ffi Pointer.asTypedList) #48301

Description

@a-siva

commit(s) to merge: e4942db

merge instructions: clean merge

What is the issue: Flutter AOT precompiler crash using isar package

What is the fix: This change fixes the type incompatibility by loading value with LoadUntagged and then converting it with ConvertUntaggedToUnboxed(kUnboxedIntPtr)

Why cherrypick: The issue was reported by Flutter user and it manifests as a crash in the AOT compiler when building a flutter app

Risk: low (has rolled into top of tree Flutter without any issues).

Link to original issue(s): flutter/flutter#97301

/cc @mit-mit @whesse @athomas @vsmenon @devoncarew

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).cherry-pick-approvedLabel for approved cherrypick requestmerge-to-betamerge-to-stable

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions