mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[JAEGER] Correct ic::BindName::disable() return. b=584587, r=dvander.
This commit is contained in:
parent
6e263ae356
commit
8082b01358
@ -1041,7 +1041,7 @@ class GetPropCompiler : public PICStubCompiler
|
|||||||
|
|
||||||
if (obj == holder && !pic.inlinePathPatched)
|
if (obj == holder && !pic.inlinePathPatched)
|
||||||
return patchInline(holder, sprop);
|
return patchInline(holder, sprop);
|
||||||
else
|
|
||||||
return generateStub(holder, sprop);
|
return generateStub(holder, sprop);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1361,7 +1361,7 @@ class GetElemCompiler : public PICStubCompiler
|
|||||||
|
|
||||||
if (obj == holder && !pic.inlinePathPatched)
|
if (obj == holder && !pic.inlinePathPatched)
|
||||||
return patchInline(holder, sprop);
|
return patchInline(holder, sprop);
|
||||||
else
|
|
||||||
return generateStub(holder, sprop);
|
return generateStub(holder, sprop);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1684,10 +1684,9 @@ class BindNameCompiler : public PICStubCompiler
|
|||||||
stub(JS_FUNC_TO_DATA_PTR(void *, stub))
|
stub(JS_FUNC_TO_DATA_PTR(void *, stub))
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
JSObject *disable(const char *reason)
|
bool disable(const char *reason)
|
||||||
{
|
{
|
||||||
PICStubCompiler::disable(reason, stub);
|
return PICStubCompiler::disable(reason, stub);
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void reset(ic::PICInfo &pic)
|
static void reset(ic::PICInfo &pic)
|
||||||
|
Loading…
Reference in New Issue
Block a user