Fix for issue 1995.
authorLubomir Litchev <lubol@microsoft.com>
Tue, 10 Nov 2015 21:19:15 +0000 (13:19 -0800)
committerLubomir Litchev <lubol@microsoft.com>
Thu, 12 Nov 2015 06:26:46 +0000 (22:26 -0800)
commitfb9a1e937254736b6e81908532ab50cbc249a466
treeaaef62983940126664b49fc84b73bd6163ca1130
parent2f725f1c7c635bf093c1d9244c7f9c8775795c4b
Fix for issue 1995.

This changes containg a fix for Issue 1995.
When remorphing an argument that has been already completed (in case of
CSE rewriting for example, as in this case) the classification code was
not run properly and it is triggering an assertion. As the Issue 1995
states the assert failure is benign since the generated code is correct -
the change of registers used during completed argument classification is
not allowed and the code is not changing them.
This changes add the necessary code to properly classify and assign
registes for completed arguments remorphing, which complies with the expectations of the failing assert.
src/jit/compiler.h
src/jit/lowerxarch.cpp
src/jit/morph.cpp