From 59d1c96d92ebdbbc31a4062ec68ab6bec486d2d6 Mon Sep 17 00:00:00 2001 From: Brian Hackett Date: Fri, 18 Oct 2013 11:01:51 -0600 Subject: [PATCH] Bug 928268 - Avoid bogus assert, r=jandem. --- js/src/jsinfer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsinfer.cpp b/js/src/jsinfer.cpp index 8ab4429ba70..388db282297 100644 --- a/js/src/jsinfer.cpp +++ b/js/src/jsinfer.cpp @@ -792,7 +792,7 @@ TypeObjectKey::clasp() TaggedProto TypeObjectKey::proto() { - return isTypeObject() ? asTypeObject()->proto : asSingleObject()->getProto(); + return isTypeObject() ? TaggedProto(asTypeObject()->proto) : asSingleObject()->getTaggedProto(); } JSObject *