From 8e736327d41ff7dc223b65b9b36e0addfb5f4a6d Mon Sep 17 00:00:00 2001 From: Mike Keesey Date: Fri, 22 Apr 2011 20:22:47 -0600 Subject: [PATCH] Updated powerpc build to disable stack overflow checks for now due to a problem we found with large enums. --- src/powerpc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/powerpc.cpp b/src/powerpc.cpp index e7e247dacb..36eb113914 100644 --- a/src/powerpc.cpp +++ b/src/powerpc.cpp @@ -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) {