mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Fix ARM build.
This commit is contained in:
parent
56597a8412
commit
104b645161
@ -138,6 +138,11 @@ class IonExitFooterFrame
|
||||
inline const VMFunction *function() const {
|
||||
return function_;
|
||||
}
|
||||
|
||||
// This should only be called for function()->outParam == Type_Handle
|
||||
Value *outVp() {
|
||||
return reinterpret_cast<Value *>(reinterpret_cast<char *>(this) - sizeof(Value));
|
||||
}
|
||||
};
|
||||
|
||||
class IonOsrFrameLayout : public IonJSFrameLayout
|
||||
|
@ -634,7 +634,8 @@ IonCompartment::generateVMWrapper(JSContext *cx, const VMFunction &f)
|
||||
break;
|
||||
|
||||
case Type_Handle:
|
||||
outReg = regs.takeAny();
|
||||
outReg = r4;
|
||||
regs.take(outReg);
|
||||
masm.Push(UndefinedValue());
|
||||
masm.ma_mov(sp, outReg);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user