Limit the use of spvCheck and spvCheckReturn to validator.
authorLei Zhang <antiagainst@google.com>
Fri, 11 Sep 2015 18:31:27 +0000 (14:31 -0400)
committerDavid Neto <dneto@google.com>
Mon, 26 Oct 2015 16:55:33 +0000 (12:55 -0400)
commit40056703632a700ba354190c558534c7d984fcbd
tree98ae362c4e33ffe1f217b18a2ee5806a1c4976ec
parent7114ffea0615e4d3b30d1e57c7bbc41e8bf9da6c
Limit the use of spvCheck and spvCheckReturn to validator.

spvCheck is indeed just an if-statement. Defining such a macro
doesn't help much.
12 files changed:
include/libspirv/libspirv.h
source/binary.cpp
source/diagnostic.cpp
source/ext_inst.cpp
source/opcode.cpp
source/operand.cpp
source/text.cpp
source/validate.cpp
source/validate_id.cpp
tools/as/as.cpp
tools/dis/dis.cpp
tools/val/val.cpp