mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-01 12:03:08 +00:00
Fix Bug 600163 - JM: Assertion failure: checkedFreeRegs == freeRegs. This only hits on ARM at the moment because it is hidden by PICs enabled on other platforms. r=dmandelin.
This commit is contained in:
parent
247d141673
commit
31b2a21985
@ -1244,7 +1244,7 @@ FrameState::shimmy(uint32 n)
|
||||
{
|
||||
JS_ASSERT(sp - n >= spBase);
|
||||
int32 depth = 0 - int32(n);
|
||||
storeTop(&sp[depth - 1], true);
|
||||
storeTop(peek(depth - 1), true);
|
||||
popn(n);
|
||||
}
|
||||
|
||||
@ -1253,7 +1253,7 @@ FrameState::shift(int32 n)
|
||||
{
|
||||
JS_ASSERT(n < 0);
|
||||
JS_ASSERT(sp + n - 1 >= spBase);
|
||||
storeTop(&sp[n - 1], true);
|
||||
storeTop(peek(n - 1), true);
|
||||
pop();
|
||||
}
|
||||
|
||||
|
11
js/src/trace-test/tests/jaeger/bug600139.js
Normal file
11
js/src/trace-test/tests/jaeger/bug600139.js
Normal file
@ -0,0 +1,11 @@
|
||||
// |trace-test| error: ReferenceError
|
||||
// vim: set ts=4 sw=4 tw=99 et:
|
||||
function f(a, b, c) {
|
||||
if (!a.__SSi) {
|
||||
throw Components.returnCode = Cr.NS_ERROR_INVALID_ARG;
|
||||
}
|
||||
this.restoreWindow(a, b, c);
|
||||
eval();
|
||||
}
|
||||
dis(f);
|
||||
f(1, 2, 3);
|
Loading…
x
Reference in New Issue
Block a user