Revert "Updated powerpc build to disable stack overflow checks for now due to a problem we found with large enums."

This reverts commit 8e736327d41ff7dc223b65b9b36e0addfb5f4a6d.
This commit is contained in:
Joel Dice 2011-06-03 17:36:47 -06:00
parent 50a699a08f
commit 9356ade4fd

View File

@ -2439,16 +2439,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) {