Bug 877287. r=h4writer, a=akeybl
☠☠ backed out by 40c9d5acd1b7 ☠ ☠
authorKannan Vijayan <kvijayan@mozilla.com>
Wed, 05 Jun 2013 16:42:23 -0400
changeset 142876 3d3302ae35552e3bbaa60c88e858b468713a6b9e
parent 142875 d2f19cdab655ebfc77871207c4a204df105897bd
child 142877 8fb828aae198ee807a074d76362a0693da28decb
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersh4writer, akeybl
bugs877287
milestone23.0a2
Bug 877287. r=h4writer, a=akeybl
js/src/ion/IonBuilder.cpp
--- a/js/src/ion/IonBuilder.cpp
+++ b/js/src/ion/IonBuilder.cpp
@@ -5202,16 +5202,18 @@ IonBuilder::jsop_initelem_array()
 static bool
 CanEffectlesslyCallLookupGenericOnObject(JSObject *obj)
 {
     while (obj) {
         if (!obj->isNative())
             return false;
         if (obj->getClass()->ops.lookupProperty)
             return false;
+        if (obj->getClass()->resolve != JS_ResolveStub)
+            return false;
         obj = obj->getProto();
     }
     return true;
 }
 
 bool
 IonBuilder::jsop_initprop(HandlePropertyName name)
 {