Changeset 2213 for proto/Compiler


Ignore:
Timestamp:
Jun 5, 2012, 5:30:47 PM (7 years ago)
Author:
cameron
Message:

Use direct CarryArray? implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/pablo.py

    r2208 r2213  
    465465    local_carry_decl = mkCallStmt('LocalCarryDeclare', [ast.Name(local_carryvar, ast.Load()), ast.Num(carries)])
    466466    inner_while.body.insert(0, local_carry_decl)
    467     final_combine = mkCallStmt('carryQ.CarryCombine', [ast.Name( '(ICarryQueue *) &' + local_carryvar, ast.Load()), ast.Num(carry_base), ast.Num(carries)])
     467    final_combine = mkCallStmt('carryQ.CarryCombine', [ast.Attribute(ast.Name(local_carryvar, ast.Load()), 'cq', ast.Load()),ast.Num(carry_base), ast.Num(carries)])
    468468    inner_while.body.append(final_combine)
    469469    #CARRYSET
Note: See TracChangeset for help on using the changeset viewer.