Ignore:
Timestamp:
May 31, 2017, 4:25:33 PM (2 years ago)
Author:
nmedfort
Message:

Initial attempt to improve debugging capabilities with compilation stack traces on error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pe_scanthru.h

    r5329 r5486  
    1212namespace pablo {
    1313
    14 class ScanThru : public Statement {
     14class ScanThru : public CarryProducingStatement {
    1515    friend class PabloBlock;
    1616public:
     
    3131protected:
    3232    ScanThru(PabloAST * from, PabloAST * thru, const String * name, Allocator & allocator)
    33     : Statement(ClassTypeId::ScanThru, from->getType(), {from, thru}, name, allocator) {
     33    : CarryProducingStatement(ClassTypeId::ScanThru, from->getType(), {from, thru}, name, allocator) {
    3434
    3535    }
    3636};
    3737
    38 class ScanTo : public Statement {
     38class ScanTo : public CarryProducingStatement {
    3939    friend class PabloBlock;
    4040public:
     
    5555protected:
    5656    ScanTo(PabloAST * from, PabloAST * to, const String * name, Allocator & allocator)
    57     : Statement(ClassTypeId::ScanTo, from->getType(), {from, to}, name, allocator) {
     57    : CarryProducingStatement(ClassTypeId::ScanTo, from->getType(), {from, to}, name, allocator) {
    5858
    5959    }
    6060};
    6161
    62 class AdvanceThenScanThru : public Statement {
     62class AdvanceThenScanThru : public CarryProducingStatement {
    6363    friend class PabloBlock;
    6464public:
     
    7979protected:
    8080    AdvanceThenScanThru(PabloAST * from, PabloAST * thru, const String * name, Allocator & allocator)
    81     : Statement(ClassTypeId::AdvanceThenScanThru, from->getType(), {from, thru}, name, allocator) {
     81    : CarryProducingStatement(ClassTypeId::AdvanceThenScanThru, from->getType(), {from, thru}, name, allocator) {
    8282
    8383    }
    8484};
    8585
    86 class AdvanceThenScanTo : public Statement {
     86class AdvanceThenScanTo : public CarryProducingStatement {
    8787    friend class PabloBlock;
    8888public:
     
    103103protected:
    104104    AdvanceThenScanTo(PabloAST * from, PabloAST * to, const String * name, Allocator & allocator)
    105     : Statement(ClassTypeId::AdvanceThenScanTo, from->getType(), {from, to}, name, allocator) {
     105    : CarryProducingStatement(ClassTypeId::AdvanceThenScanTo, from->getType(), {from, to}, name, allocator) {
    106106
    107107    }
Note: See TracChangeset for help on using the changeset viewer.