Changeset 1696


Ignore:
Timestamp:
Nov 18, 2011, 8:34:38 PM (8 years ago)
Author:
ksherdy
Message:

Updated CarryCombine? interface to support multiple carry queue subclass implementations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/pablo.py

    r1571 r1696  
    328328    local_carry_decl = mkCallStmt('LocalCarryDeclare', [ast.Name(local_carryvar, ast.Load()), ast.Num(carries)])
    329329    inner_while.body.insert(0, local_carry_decl)
    330     final_combine = mkCallStmt('carryQ.CarryCombine', [ast.Name(local_carryvar + '.array()', ast.Load()), ast.Num(carry_base), ast.Num(carries)])
     330    final_combine = mkCallStmt('carryQ.CarryCombine', [ast.Name( '(ICarryQueue *) &' + local_carryvar, ast.Load()), ast.Num(carry_base), ast.Num(carries)])
    331331    inner_while.body.append(final_combine)
    332332    #CARRYSET
Note: See TracChangeset for help on using the changeset viewer.