diff options
| author | 2012-05-24 13:40:11 -0700 | |
|---|---|---|
| committer | 2012-05-24 14:11:24 -0700 | |
| commit | 58136caeec7cb677bb83c2eafd1f4bab5afd96c8 (patch) | |
| tree | 64216223683b2f20a2d2bc81fa0ee53dbbe5f5a8 /src/compiler/codegen/CompilerCodegen.h | |
| parent | 5d05c75cfb4b3de1d07459c35bb1bce102900762 (diff) | |
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
Diffstat (limited to 'src/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions