Specify the signedness of 'char' in HFA testcases (#4680)
authorJonghyun Park <parjong@gmail.com>
Fri, 29 Apr 2016 21:27:47 +0000 (06:27 +0900)
committerJan Kotas <jkotas@microsoft.com>
Fri, 29 Apr 2016 21:27:47 +0000 (14:27 -0700)
commitd7a09f7dd6578abeca118c07bb23fd17c470ccbf
treebf98649c813705f0e8d5c9f5ab01f9390c1fe04e
parent23d0b7a74a67094c070af3477d06677bf19173d0
Specify the signedness of 'char' in HFA testcases (#4680)

In C#, sbyte always represents 8-bit signed interger.

However, the signedness of char in C is undefined, and the default
signedness of char in ARM is unsigned.

The native code for HFA test does not specify the signedness of char,
and thus the native code assumes that it is unsigned, but the managed
code assumes that it is signed, which leads to unittest failure in ARM.

This commit specifies the signedness of 'char' in order to fix #4639.
tests/src/JIT/jit64/hfa/main/dll/hfa_native.cpp
tests/src/JIT/jit64/hfa/main/dll/hfa_native.h