Ignore:
Timestamp:
Mar 30, 2016, 4:42:52 PM (3 years ago)
Author:
nmedfort
Message:

More work on symbol table; unexpected bug with 4KiB-one page tests observed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/kernel.h

    r4992 r4995  
    4949        inline disable_implicit_conversion(std::nullptr_t) = delete;
    5050        inline disable_implicit_conversion(unsigned) = delete;
    51         operator T() { return _value; }
    52         T operator -> () { return _value; }
     51        operator T() const { return _value; }
     52        T operator-> () const { return _value; }
     53        T get() const { return _value; }
    5354    private:
    5455        T const  _value;
     
    162163
    163164protected:
     165
     166    llvm::Type * packDataTypes(const std::vector<llvm::Type *> & types);
    164167
    165168    llvm::Value * getInputStream(llvm::Value * const instance, const unsigned index, const unsigned streamOffset);
Note: See TracChangeset for help on using the changeset viewer.