1 #include "reader/module.ih"
5 Store
* Reader::readStore() {
6 SHORTCHAR kind
= readSChar();
7 if (kind
== Store::NIL
) {
8 //std::cout << "NIL STORE" << std::endl;
10 } else if (kind
== Store::LINK
) {
11 //std::cout << "LINK STORE" << std::endl;
12 return readLinkStore();
13 } else if (kind
== Store::NEWLINK
) {
14 //std::cout << "NEWLINK STORE" << std::endl;
15 return readNewLinkStore();
16 } else if (kind
== Store::STORE
) {
17 //std::cout << "STORE STORE" << std::endl;
18 return readStoreOrElemStore(false);
19 } else if (kind
== Store::ELEM
) {
20 //std::cout << "ELEM STORE" << std::endl;
21 return readStoreOrElemStore(true);
23 //std::cout << std::hex << (unsigned int)kind << std::endl;