Skip to content

Commit

Permalink
Updated powerpc build to disable stack overflow checks for now due to…
Browse files Browse the repository at this point in the history
… a problem we found with large enums.
  • Loading branch information
Mike Keesey committed Apr 23, 2011
1 parent d3581be commit 8e73632
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/powerpc.cpp
Expand Up @@ -2423,16 +2423,16 @@ class MyAssembler: public Assembler {
return arch_;
}

virtual void checkStackOverflow(uintptr_t handler,
unsigned stackLimitOffsetFromThread)
virtual void checkStackOverflow(uintptr_t /*handler*/,
unsigned /*stackLimitOffsetFromThread*/)
{
Register stack(StackRegister);
/*Register stack(StackRegister);
Memory stackLimit(ThreadRegister, stackLimitOffsetFromThread);
Constant handlerConstant
(new (c.zone->allocate(sizeof(ResolvedPromise)))
ResolvedPromise(handler));
branchRM(&c, JumpIfGreaterOrEqual, BytesPerWord, &stack, &stackLimit,
&handlerConstant);
&handlerConstant);*/
}

virtual void saveFrame(unsigned stackOffset, unsigned) {
Expand Down

0 comments on commit 8e73632

Please sign in to comment.