mirror of
https://github.com/corda/corda.git
synced 2025-02-02 09:18:13 +00:00
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
This commit is contained in:
commit
470e27d13c
@ -31,7 +31,11 @@
|
|||||||
|
|
||||||
#if (defined __i386__) || (defined __POWERPC__) || (defined __arm__)
|
#if (defined __i386__) || (defined __POWERPC__) || (defined __arm__)
|
||||||
# define LD "ld"
|
# define LD "ld"
|
||||||
|
# ifdef __MINGW32__
|
||||||
|
# define LLD "I64d"
|
||||||
|
# else
|
||||||
# define LLD "lld"
|
# define LLD "lld"
|
||||||
|
# endif
|
||||||
# ifdef __APPLE__
|
# ifdef __APPLE__
|
||||||
# define ULD "lu"
|
# define ULD "lu"
|
||||||
# define LX "lx"
|
# define LX "lx"
|
||||||
|
@ -189,8 +189,10 @@ compareIpToMethodBounds(Thread* t, intptr_t ip, object method)
|
|||||||
intptr_t start = methodCompiled(t, method);
|
intptr_t start = methodCompiled(t, method);
|
||||||
|
|
||||||
if (DebugMethodTree) {
|
if (DebugMethodTree) {
|
||||||
fprintf(stderr, "find 0x%"LX" in (0x%"LX",0x%"LX")\n", ip, start,
|
fprintf(stderr, "find %p in (%p,%p)\n",
|
||||||
start + compiledSize(start));
|
reinterpret_cast<void*>(ip),
|
||||||
|
reinterpret_cast<void*>(start),
|
||||||
|
reinterpret_cast<void*>(start + compiledSize(start)));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ip < start) {
|
if (ip < start) {
|
||||||
|
@ -895,7 +895,7 @@ moveRR(Context* c, unsigned aSize, Assembler::Register* a,
|
|||||||
case 4:
|
case 4:
|
||||||
if (bSize == 8) {
|
if (bSize == 8) {
|
||||||
if (BytesPerWord == 8) {
|
if (BytesPerWord == 8) {
|
||||||
alwaysRex(c, aSize, b, a);
|
alwaysRex(c, bSize, b, a);
|
||||||
opcode(c, 0x63);
|
opcode(c, 0x63);
|
||||||
modrm(c, 0xc0, a, b);
|
modrm(c, 0xc0, a, b);
|
||||||
} else {
|
} else {
|
||||||
|
@ -35,7 +35,13 @@ public class Longs {
|
|||||||
return a - (a % b);
|
return a - (a % b);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static int negativeOne() {
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
expect(((long) negativeOne()) == -1);
|
||||||
|
|
||||||
{ long foo = 25214903884L;
|
{ long foo = 25214903884L;
|
||||||
int radix = 10;
|
int radix = 10;
|
||||||
expect(foo > 0);
|
expect(foo > 0);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
log=build/log.txt
|
log=build/log.txt
|
||||||
vg="nice valgrind --leak-check=full --num-callers=32 \
|
vg="nice valgrind --leak-check=full --num-callers=32 \
|
||||||
@ -28,7 +28,7 @@ for test in ${tests}; do
|
|||||||
exit 1;;
|
exit 1;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if (( ${?} == 0 )); then
|
if [ "${?}" = "0" ]; then
|
||||||
echo "success"
|
echo "success"
|
||||||
else
|
else
|
||||||
echo "fail"
|
echo "fail"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user