Changeset 4167


Ignore:
Timestamp:
Sep 13, 2014, 3:19:55 AM (5 years ago)
Author:
ksherdy
Message:

Updated b2k controller.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/s2k/trunk/framework/src/toolchain/b2k/transformer/visitors/B2K2B2K/B2K2B2KController.java

    r4022 r4167  
    1010import toolchain.b2k.lang.builtin.AbstractB2KBuiltinsEncoder;
    1111import toolchain.b2k.transformer.visitors.B2K2B2K.TranslateUnaryMinusToIntegerConstants;
     12import toolchain.b2k.transformer.visitors.B2K2B2K.ExpandToThreeAddressForm;
    1213
    1314public class B2K2B2KController {
     
    3334        public static ASTNode accept(ASTNode ASTree, AbstractB2KBuiltinsEncoder encoder) {
    3435        ASTNode decoratedTree = ASTree.deepCopy();
     36       
     37        decoratedTree = ExpandToThreeAddressForm.apply(decoratedTree); // KH: needs work
    3538       
    3639        decoratedTree = TranslateUnaryMinusToIntegerConstants.apply(decoratedTree);
Note: See TracChangeset for help on using the changeset viewer.