mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
Updated powerpc build to disable stack overflow checks for now due to a problem we found with large enums.
This commit is contained in:
parent
d3581be38e
commit
8e736327d4
@ -2423,16 +2423,16 @@ class MyAssembler: public Assembler {
|
|||||||
return arch_;
|
return arch_;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void checkStackOverflow(uintptr_t handler,
|
virtual void checkStackOverflow(uintptr_t /*handler*/,
|
||||||
unsigned stackLimitOffsetFromThread)
|
unsigned /*stackLimitOffsetFromThread*/)
|
||||||
{
|
{
|
||||||
Register stack(StackRegister);
|
/*Register stack(StackRegister);
|
||||||
Memory stackLimit(ThreadRegister, stackLimitOffsetFromThread);
|
Memory stackLimit(ThreadRegister, stackLimitOffsetFromThread);
|
||||||
Constant handlerConstant
|
Constant handlerConstant
|
||||||
(new (c.zone->allocate(sizeof(ResolvedPromise)))
|
(new (c.zone->allocate(sizeof(ResolvedPromise)))
|
||||||
ResolvedPromise(handler));
|
ResolvedPromise(handler));
|
||||||
branchRM(&c, JumpIfGreaterOrEqual, BytesPerWord, &stack, &stackLimit,
|
branchRM(&c, JumpIfGreaterOrEqual, BytesPerWord, &stack, &stackLimit,
|
||||||
&handlerConstant);
|
&handlerConstant);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void saveFrame(unsigned stackOffset, unsigned) {
|
virtual void saveFrame(unsigned stackOffset, unsigned) {
|
||||||
|
Loading…
Reference in New Issue
Block a user