Skip to content
Unverified Commit a504656d authored by dan sinclair's avatar dan sinclair Committed by GitHub
Browse files

Remove std::deque in favour of std::vector. (#1755)

This CL removes the two deque's from ValidationState and converts them
into std::vectors. In order to maintain the stability of instructions we
walk over the binary and counter the instructions and functions in the
ValidationState constructor and reserve the required number of items in
the module_functions_ and ordered_instructions_ vectors.

Issue #1176.
parent fae987b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment