Make Subzero opcode pointer constant
The static Opcode member variable of the template class which represents
instructions was not a constant pointer, which allowed to accidentally
change it.
Bug: b/192890685
Change-Id: Ife9a172ef69c3ba831e2512d877862496eed091b
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/55448
Kokoro-Result: kokoro <noreply+kokoro@google.com>
Tested-by:
Nicolas Capens <nicolascapens@google.com>
Reviewed-by:
Alexis Hétu <sugoi@google.com>
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment