Changeset 3773 in CLRX


Ignore:
Timestamp:
Feb 12, 2018, 8:39:30 PM (15 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Asm: Try later evaluate expressions while setting symbol value as resolving symbols and targets (setSymbol method).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/Assembler.cpp

    r3772 r3773  
    14311431                {
    14321432                    // standard mode
    1433                     if (!expr->evaluate(*this, value, sectionId))
     1433                    AsmTryStatus evalStatus = expr->tryEvaluate(*this, value, sectionId,
     1434                                        withSectionDiffs());
     1435                    if (evalStatus == AsmTryStatus::FAILED)
    14341436                    {
    14351437                        // if failed
    14361438                        delete occurrence.expression; // delete expression
    14371439                        good = false;
     1440                        continue;
     1441                    }
     1442                    else if (evalStatus == AsmTryStatus::TRY_LATER)
     1443                    {   // try later if can not be evaluated
     1444                        unevalExpressions.push_back(occurrence.expression);
     1445                        // but still good
    14381446                        continue;
    14391447                    }
Note: See TracChangeset for help on using the changeset viewer.