Fix the jni compiler's handling of byte and short return values in x86.

gcc uses byte/short operations to populate return values of these types,
so the sign extension is lost. The jni compiler needs to manually sign
extend the values again since they're treated like words in the system.

With this change, all the run_test tests are working.

Change-Id: If691087ebd79b0d608e44ff8273ed25d46dd6b4a
8 files changed
tree: 64216223683b2f20a2d2bc81fa0ee53dbbe5f5a8
  1. .gitignore
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/