executor: use the size of the opcode arg to get multiplier
authorWim Taymans <wtaymans@redhat.com>
Fri, 19 Sep 2014 10:23:44 +0000 (12:23 +0200)
committerWim Taymans <wtaymans@redhat.com>
Fri, 19 Sep 2014 10:23:44 +0000 (12:23 +0200)
commit2ae41b98a35405dbfd35209e7d68428be77a2e62
tree192e4ab71a25a0d0f25afc5682707097f367458a
parent106dacc2620126dedb99d2b981ba2e5a7d4591f9
executor: use the size of the opcode arg to get multiplier

When loading a constant, select the multiplier based on the size of the
opcode argument. This is safer because we have existing code that declares
the constants of the wrong size.
orc/orcexecutor.c