mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Don't explicitly unbox before GetPropertyCache (bug 799907, r=djvj).
This commit is contained in:
parent
5aa8fc064a
commit
9b18baec73
@ -5944,13 +5944,9 @@ IonBuilder::jsop_getprop(HandlePropertyName name)
|
||||
|
||||
ins = load;
|
||||
} else if (obj->type() == MIRType_Value && unaryTypes.inTypes->objectOrSentinel()) {
|
||||
// Fallibly unwrap the object and IC the result.
|
||||
MUnbox *unbox = MUnbox::New(obj, MIRType_Object, MUnbox::Fallible);
|
||||
current->add(unbox);
|
||||
|
||||
spew("GETPROP is object-or-sentinel");
|
||||
|
||||
MGetPropertyCache *load = MGetPropertyCache::New(unbox, name);
|
||||
MGetPropertyCache *load = MGetPropertyCache::New(obj, name);
|
||||
load->setResultType(rvalType);
|
||||
if (accessGetter)
|
||||
load->setAllowGetters();
|
||||
|
Loading…
Reference in New Issue
Block a user