Commit 7a344ef2 authored by Simon Hausmann's avatar Simon Hausmann Committed by The Qt Project
Browse files

Fix dependency calculation for context and scope properties


We were incorrectly calculating writing to a context or scope property as a
dependency for an expression. We don't know whether a property is being written
only or also being read from at lookup time, but we can make that decision in
the isel then when generating the move instructions.

So initially context and scope properties end up in a candidate set first
and get promoted to real dependencies when they're being used in reading
moves.

Task-number: QTBUG-35210
Change-Id: Ia67057abafc2d611e1e6605327b4965ebe91cbed
Reviewed-by: default avatarLars Knoll <lars.knoll@digia.com>
parent 41aca0ce
No related merge requests found
Showing with 40 additions and 4 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment