Refactored dynamic and static state out of text processing.
authorAndrew Woloszyn <awoloszyn@google.com>
Thu, 24 Sep 2015 14:26:51 +0000 (10:26 -0400)
committerDavid Neto <dneto@google.com>
Mon, 26 Oct 2015 16:55:33 +0000 (12:55 -0400)
commit71fc05587bc0288de2c183b246e722eb4f740964
tree6d97a76ff0ab73c87ecee918298535e4d4e33343
parent50babb2d00f4a71b37629b4847781e1c109f2a43
Refactored dynamic and static state out of text processing.

This reduces the number of arguments required to be passed
to every single function. This is in preparation for adding
id tracking.
15 files changed:
CMakeLists.txt
source/binary.cpp
source/binary.h
source/diagnostic.cpp
source/diagnostic.h
source/operand.h
source/text.cpp
source/text.h
source/text_handler.cpp [new file with mode: 0644]
source/text_handler.h [new file with mode: 0644]
test/TextAdvance.cpp
test/TextStartsNewInst.cpp
test/TextToBinary.cpp
test/TextWordGet.cpp
test/UnitSPIRV.h