Ignore:
Timestamp:
Apr 23, 2018, 3:04:15 PM (5 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
Children:
9d5fb67
Parents:
da7fe39
git-author:
Rob Schluntz <rschlunt@…> (04/23/18 15:02:59)
git-committer:
Rob Schluntz <rschlunt@…> (04/23/18 15:04:15)
Message:

Update condition for adding cast to address-of-reference, update debug prints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/InitTweak.cc

    rda7fe39 r57acae0  
    520520
    521521        ApplicationExpr * createBitwiseAssignment( Expression * dst, Expression * src ) {
    522                 std::cerr << "=== createBitwiseAssignment ===" << std::endl;
    523                 std::cerr << "== dst: " << dst << std::endl;
    524                 std::cerr << "== src: " << src << std::endl;
    525 
    526522                static FunctionDecl * assign = nullptr;
    527523                if ( ! assign ) {
     
    544540                        // src = new CastExpr( src, new ReferenceType( noQualifiers, src->result->stripReferences()->clone() ) );
    545541                }
    546                 std::cerr << "============= endl : " << std::endl;
    547                 std::cerr << "-- dst: " << dst << std::endl;
    548                 std::cerr << "-- src: " << src << std::endl;
    549542                return new ApplicationExpr( VariableExpr::functionPointer( assign ), { dst, src } );
    550543        }
Note: See TracChangeset for help on using the changeset viewer.