Bug 1028990 - Never eliminate GetPropertyPolymorphic instructions. r=jandem, a=sledru
authorBrian Hackett <bhackett1024@gmail.com>
Thu, 17 Jul 2014 08:36:33 -0800
changeset 209222 c6f9f039615333de397220f867dbc5f0cb39f6af
parent 209221 65699dedf2f4845571429bc6e5e54099d83ce210
child 209223 f365749d72c9887111077fd1fb09b9953b69fff7
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem, sledru
bugs1028990
milestone32.0a2
Bug 1028990 - Never eliminate GetPropertyPolymorphic instructions. r=jandem, a=sledru
js/src/jit/MIR.h
--- a/js/src/jit/MIR.h
+++ b/js/src/jit/MIR.h
@@ -7350,16 +7350,17 @@ class MGetPropertyPolymorphic
     Vector<Entry, 4, IonAllocPolicy> shapes_;
     CompilerRootPropertyName name_;
 
     MGetPropertyPolymorphic(TempAllocator &alloc, MDefinition *obj, PropertyName *name)
       : MUnaryInstruction(obj),
         shapes_(alloc),
         name_(name)
     {
+        setGuard();
         setMovable();
         setResultType(MIRType_Value);
     }
 
     PropertyName *name() const {
         return name_;
     }