B3 should be able to compile a program with ChillDiv
[WebKit-https.git] / Source / JavaScriptCore / b3 / B3ControlValue.h
index f0d4d5b..24b82c0 100644 (file)
@@ -64,6 +64,8 @@ public:
     const SuccessorList& successors() const { return m_successors; }
     SuccessorList& successors() { return m_successors; }
 
+    bool replaceSuccessor(BasicBlock* from, BasicBlock* to);
+
     const FrequentedBlock& taken() const
     {
         ASSERT(opcode() == Jump || opcode() == Branch);
@@ -85,7 +87,7 @@ public:
         return successor(1);
     }
 
-    void convertToJump(const FrequentedBlock& destination);
+    void convertToJump(BasicBlock* destination);
 
 protected:
     JS_EXPORT_PRIVATE void dumpMeta(CommaPrinter&, PrintStream&) const override;