mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
fix PowerPC build
This commit is contained in:
parent
768fc7cf7d
commit
0bd6822ed7
@ -24,12 +24,12 @@
|
||||
# define GLOBAL(x) x
|
||||
#endif
|
||||
|
||||
#define THREAD_STACK 2152
|
||||
#define THREAD_CONTINUATION 2156
|
||||
#define THREAD_STACK 2144
|
||||
#define THREAD_CONTINUATION 2148
|
||||
#define THREAD_EXCEPTION 44
|
||||
#define THREAD_EXCEPTION_STACK_ADJUSTMENT 2160
|
||||
#define THREAD_EXCEPTION_OFFSET 2164
|
||||
#define THREAD_EXCEPTION_HANDLER 2168
|
||||
#define THREAD_EXCEPTION_STACK_ADJUSTMENT 2152
|
||||
#define THREAD_EXCEPTION_OFFSET 2156
|
||||
#define THREAD_EXCEPTION_HANDLER 2160
|
||||
|
||||
#define CONTINUATION_NEXT 4
|
||||
#define CONTINUATION_ADDRESS 16
|
||||
|
@ -2662,6 +2662,12 @@ makeNew64(Thread* t, object class_)
|
||||
return reinterpret_cast<uintptr_t>(makeNew(t, class_));
|
||||
}
|
||||
|
||||
uint64_t
|
||||
getJClass64(Thread* t, object class_)
|
||||
{
|
||||
return reinterpret_cast<uintptr_t>(getJClass(t, class_));
|
||||
}
|
||||
|
||||
void
|
||||
gcIfNecessary(MyThread* t)
|
||||
{
|
||||
@ -4401,7 +4407,7 @@ compile(MyThread* t, Frame* initialFrame, unsigned ip,
|
||||
frame->pushObject
|
||||
(c->call
|
||||
(c->constant
|
||||
(getThunk(t, getJClassThunk), Compiler::AddressType),
|
||||
(getThunk(t, getJClass64Thunk), Compiler::AddressType),
|
||||
0,
|
||||
frame->trace(0, 0),
|
||||
BytesPerWord,
|
||||
|
@ -48,5 +48,5 @@ THUNK(instanceOf64)
|
||||
THUNK(makeNewGeneral64)
|
||||
THUNK(makeNew64)
|
||||
THUNK(set)
|
||||
THUNK(getJClass)
|
||||
THUNK(getJClass64)
|
||||
THUNK(gcIfNecessary)
|
||||
|
Loading…
Reference in New Issue
Block a user