Bug 1028990 - Never eliminate GetPropertyPolymorphic instructions, r=jandem.
authorBrian Hackett <bhackett1024@gmail.com>
Thu, 17 Jul 2014 08:36:33 -0800
changeset 216653 b10531b4a946a5f7e8000da44c046e02e2b0dcac
parent 216652 a459b02a9ca472fa10299b5cb6c0456fe492c78a
child 216654 027f3828d0ab77915c613653f077ed83371538f9
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1028990
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1028990 - Never eliminate GetPropertyPolymorphic instructions, r=jandem.
js/src/jit/MIR.h
--- a/js/src/jit/MIR.h
+++ b/js/src/jit/MIR.h
@@ -7546,16 +7546,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_;
     }