Remove spvOpcodeIsObject().
authorDejan Mircevski <deki@google.com>
Fri, 22 Jan 2016 19:27:00 +0000 (14:27 -0500)
committerDavid Neto <dneto@google.com>
Wed, 27 Jan 2016 21:20:10 +0000 (16:20 -0500)
commita4342f3f442178e79e79a8c7bbbfba0c8ca851a7
treeb1fa13b4ea665b3f552fb8576f8f1acff4b75e14
parent61a627586b7f47d39b0e19caabc9bd880aa3832a
Remove spvOpcodeIsObject().

Also
- Add type_id to spv_id_info_t.
- Use spv_id_info_t::type_id instead of words[1].
  Triggered some asserts on tests, where the code incorrectly assumed
  words[1] had a type.  Remove the asserts and handle gracefully.
- Add tests for OpStore of a label, a void, and a function.
source/opcode.cpp
source/opcode.h
source/validate.cpp
source/validate.h
source/validate_id.cpp
test/ValidateID.cpp