mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[JAEGER] Fixed uninit var warning.
This commit is contained in:
parent
91aa99b486
commit
6505f56119
@ -489,14 +489,20 @@ class GetPropCompiler : public PICStubCompiler
|
|||||||
ReturnAddressPtr retPtr(pic.slowPathStart.callAtOffset(pic.callReturn).executableAddress());
|
ReturnAddressPtr retPtr(pic.slowPathStart.callAtOffset(pic.callReturn).executableAddress());
|
||||||
|
|
||||||
VoidStubUInt32 stub;
|
VoidStubUInt32 stub;
|
||||||
if (pic.kind == ic::PICInfo::GET)
|
switch (pic.kind) {
|
||||||
|
case ic::PICInfo::GET:
|
||||||
stub = ic::GetProp;
|
stub = ic::GetProp;
|
||||||
else if (pic.kind == ic::PICInfo::CALL)
|
break;
|
||||||
|
case ic::PICInfo::CALL:
|
||||||
stub = ic::CallProp;
|
stub = ic::CallProp;
|
||||||
else if (pic.kind == ic::PICInfo::GETELEM)
|
break;
|
||||||
|
case ic::PICInfo::GETELEM:
|
||||||
stub = ic::GetElem;
|
stub = ic::GetElem;
|
||||||
else
|
break;
|
||||||
|
default:
|
||||||
JS_NOT_REACHED("invalid pic kind for GetPropCompiler::reset");
|
JS_NOT_REACHED("invalid pic kind for GetPropCompiler::reset");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
MacroAssemblerCodePtr target(JS_FUNC_TO_DATA_PTR(void *, stub));
|
MacroAssemblerCodePtr target(JS_FUNC_TO_DATA_PTR(void *, stub));
|
||||||
repatcher.relinkCallerToTrampoline(retPtr, target);
|
repatcher.relinkCallerToTrampoline(retPtr, target);
|
||||||
|
Loading…
Reference in New Issue
Block a user