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 326247 8b9d08e61f231e3bfcbf1faf78add773585b126b
parent 326246 5d7bbfed978a2e0aceff2bbdd8c8d72f5137081d
child 326248 93d727dc3fb472708069ff569f730cf7de1acc0a
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersh4writer, ritu
bugs1271037
milestone47.0
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: