fix regressions affecting 32-bit systems

This commit is contained in:
Joel Dice 2008-05-31 16:53:37 -06:00
parent 1450b12e5b
commit eacca98c3f
2 changed files with 3 additions and 4 deletions

View File

@ -5071,7 +5071,7 @@ compileThunks(MyThread* t, MyProcessor* p)
(throwArrayIndexOutOfBounds);
Assembler::Constant proc(&(aioobContext.promise));
a->apply(Jump, BytesPerWord, ConstantOperand, &proc);
a->apply(Call, BytesPerWord, ConstantOperand, &proc);
}
ThunkContext tableContext(t);

View File

@ -1743,8 +1743,8 @@ appendCombine(Context* c, BinaryOperation type, unsigned size, Value* first,
Stack* oldStack = c->state->stack;
::push(c, size, first);
::push(c, size, second);
::push(c, size, first);
Stack* argumentStack = c->state->stack;
c->state->stack = oldStack;
@ -2244,8 +2244,7 @@ class BoundsCheckEvent: public Event {
outOfBoundsPromise->offset = a->length();
}
ResolvedPromise handlerPromise(handler);
Assembler::Constant handlerConstant(&handlerPromise);
Assembler::Constant handlerConstant(resolved(c, handler));
a->apply(Call, BytesPerWord, ConstantOperand, &handlerConstant);
nextPromise->offset = a->length();