Changeset bff227f for src/GenPoly


Ignore:
Timestamp:
Jul 21, 2017, 3:57:11 PM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, 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, resolv-new, with_gc
Children:
9191a8e
Parents:
53a8e68
Message:

Refactor operator predicates into OperatorTable?.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Box.cc

    r53a8e68 rbff227f  
    5555#include "Common/UniqueName.h"
    5656#include "Common/utility.h"
     57
     58#include "CodeGen/OperatorTable.h"
    5759
    5860#include "InitTweak/InitTweak.h"
     
    567569                        // To compound the issue, the right side can be *x, etc. because of lvalue-returning functions
    568570                        if ( UntypedExpr * assign = dynamic_cast< UntypedExpr * >( commaExpr->get_arg1() ) ) {
    569                                 if ( InitTweak::isAssignment( InitTweak::getFunctionName( assign ) ) ) {
     571                                if ( CodeGen::isAssignment( InitTweak::getFunctionName( assign ) ) ) {
    570572                                        assert( assign->get_args().size() == 2 );
    571573                                        if ( ApplicationExpr * appExpr = dynamic_cast< ApplicationExpr * > ( assign->get_args().back() ) ) {
Note: See TracChangeset for help on using the changeset viewer.