From 853592a6853025a249d4e34db5a79143768a41b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 16 May 2018 04:35:40 -0700 Subject: [PATCH] Bug 1461791 - Part 1: Create shape table for intrinsic lookups. r=jandem --- js/src/vm/GlobalObject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/vm/GlobalObject.h b/js/src/vm/GlobalObject.h index 0b241db296c9..558f7d40c60b 100644 --- a/js/src/vm/GlobalObject.h +++ b/js/src/vm/GlobalObject.h @@ -691,7 +691,7 @@ class GlobalObject : public NativeObject if (!holder) return false; - if (Shape* shape = holder->lookupPure(name)) { + if (Shape* shape = holder->lookup(cx, name)) { vp.set(holder->getSlot(shape->slot())); *exists = true; } else {