Bug 1271037 - Fix numOperands of RRegExpMatcher, and RRegExpTester. r=h4writer, a=ritu
authorTooru Fujisawa <arai_a@mac.com>
Wed, 11 May 2016 02:41:50 +0900
changeset 332841 901b6248af7d34012dc519cef40ec38c034f1c39
parent 332840 584c4d11538d9b1124c212906ec8e5b7d7254a19
child 332842 fca62ad9c45ca847ac004a2b16807a63763e5c29
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersh4writer, ritu
bugs1271037
milestone48.0a2
Bug 1271037 - Fix numOperands of RRegExpMatcher, and RRegExpTester. r=h4writer, a=ritu
js/src/jit/Recover.h
--- a/js/src/jit/Recover.h
+++ b/js/src/jit/Recover.h
@@ -560,29 +560,29 @@ class RStringSplit final : public RInstr
 };
 
 class RRegExpMatcher final : public RInstruction
 {
   public:
     RINSTRUCTION_HEADER_(RegExpMatcher)
 
     virtual uint32_t numOperands() const {
-        return 5;
+        return 4;
     }
 
     bool recover(JSContext* cx, SnapshotIterator& iter) const;
 };
 
 class RRegExpTester final : public RInstruction
 {
   public:
     RINSTRUCTION_HEADER_(RegExpTester)
 
     virtual uint32_t numOperands() const {
-        return 5;
+        return 4;
     }
 
     bool recover(JSContext* cx, SnapshotIterator& iter) const;
 };
 
 class RRegExpReplace final : public RInstruction
 {
   public: