OSDN Git Service

Jit: Fix for 2717275 First JIT bug reported by external developers
authorbuzbee <buzbee@google.com>
Wed, 26 May 2010 21:48:04 +0000 (14:48 -0700)
committerbuzbee <buzbee@google.com>
Wed, 26 May 2010 21:48:04 +0000 (14:48 -0700)
commit2b469f82df14749c67da43f073fd7a9b6b1ccd74
tree61cd92acac5b910c5e49043285ce0bffaa5726d2
parent720d1e962e248a30f81c1493081ff4c01e35c839
Jit: Fix for  2717275 First JIT bug reported by external developers

The JIT was incorrectly keeping a short value in a floating point
register rather than copying it to a core register before storing.
There was an assert to catch this case, but asserts don't fire in
production builds.

The fix is safe and simple - just exclude this case from the "optimization".

Change-Id: I38f1865da11ef3f78213f84967d4737e066b9c68
vm/compiler/codegen/arm/Thumb2/Factory.c