Split out eval_opencl_assign
authorTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:27:57 +0000 (07:27 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:28:09 +0000 (07:28 -0700)
commit3634f66996bef21692e4343d5271c4c7e5fe5f52
tree0372f5bac9502f666f629bcbaf88ef3c6f1f8d66
parent5e80600ed0e929faaeac205dbf0d4e7f9b2842cb
Split out eval_opencl_assign

This splits BINOP_ASSIGN into a new function for future use.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

* opencl-lang.c (eval_opencl_assign): New function.
(evaluate_subexp_opencl): Use it.
gdb/ChangeLog
gdb/opencl-lang.c