summaryrefslogtreecommitdiff
path: root/js/src/jsobjinlines.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jsobjinlines.h')
-rw-r--r--js/src/jsobjinlines.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/jsobjinlines.h b/js/src/jsobjinlines.h
index 8a55cd435..07eeff655 100644
--- a/js/src/jsobjinlines.h
+++ b/js/src/jsobjinlines.h
@@ -585,11 +585,11 @@ HasNoToPrimitiveMethodPure(JSObject* obj, JSContext* cx)
{
jsid id = SYMBOL_TO_JSID(cx->wellKnownSymbols().toPrimitive);
JSObject* pobj;
- Shape* shape;
- if (!LookupPropertyPure(cx, obj, id, &pobj, &shape))
+ PropertyResult prop;
+ if (!LookupPropertyPure(cx, obj, id, &pobj, &prop))
return false;
- return !shape;
+ return !prop;
}
/* ES6 draft rev 28 (2014 Oct 14) 7.1.14 */