mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 812906 - Statically initialize GetIntrinsicValueInfo in IM. r=nicolas.b.pierron
This commit is contained in:
parent
25f273c882
commit
f43a8c5bdf
@ -775,19 +775,19 @@ CodeGenerator::visitCallDOMNative(LCallDOMNative *call)
|
||||
return true;
|
||||
}
|
||||
|
||||
typedef bool (*GetIntrinsicValueFn)(JSContext *cx, HandlePropertyName, MutableHandleValue);
|
||||
static const VMFunction GetIntrinsicValueInfo =
|
||||
FunctionInfo<GetIntrinsicValueFn>(GetIntrinsicValue);
|
||||
|
||||
bool
|
||||
CodeGenerator::visitCallGetIntrinsicValue(LCallGetIntrinsicValue *lir)
|
||||
{
|
||||
typedef bool (*pf)(JSContext *cx, HandlePropertyName, MutableHandleValue);
|
||||
static const VMFunction Info = FunctionInfo<pf>(GetIntrinsicValue);
|
||||
|
||||
pushArg(ImmGCPtr(lir->mir()->name()));
|
||||
return callVM(Info, lir);
|
||||
return callVM(GetIntrinsicValueInfo, lir);
|
||||
}
|
||||
|
||||
typedef bool (*InvokeFunctionFn)(JSContext *, JSFunction *, uint32, Value *, Value *);
|
||||
static const VMFunction InvokeFunctionInfo =
|
||||
FunctionInfo<InvokeFunctionFn>(InvokeFunction);
|
||||
static const VMFunction InvokeFunctionInfo = FunctionInfo<InvokeFunctionFn>(InvokeFunction);
|
||||
|
||||
bool
|
||||
CodeGenerator::emitCallInvokeFunction(LInstruction *call, Register calleereg,
|
||||
|
Loading…
Reference in New Issue
Block a user