Ignore:
Timestamp:
Nov 18, 2016, 1:46:55 PM (2 years ago)
Author:
nmedfort
Message:

Merged PabloFunction? and PabloKernel? classes. Updated projects where necessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/symbol_generator.cpp

    r5202 r5217  
    88#include <pablo/pe_string.h>
    99#include <pablo/pe_integer.h>
     10#include <IDISA/idisa_builder.h>
    1011
    1112namespace pablo {
     
    2829}
    2930
    30 Integer * SymbolGenerator::getInteger(const integer_t value) {
     31Integer * SymbolGenerator::getInteger(const integer_t value, IDISA::IDISA_Builder * builder) {
    3132    auto f = mIntegerMap.find(value);
    3233    Integer * result;
    3334    if (f == mIntegerMap.end()) {
    34         result = new Integer(value);
     35        result = new Integer(value, builder->getSizeTy());
    3536        assert (result->value() == value);
    3637        mIntegerMap.insert(std::make_pair(value, result));
Note: See TracChangeset for help on using the changeset viewer.