B3::Value doesn't self-destruct virtually enough (Causes many leaks in LowerDFGToB3...
[WebKit-https.git] / Source / JavaScriptCore / b3 / B3ControlValue.cpp
index 2dd9f94..cbf474a 100644 (file)
@@ -57,7 +57,7 @@ void ControlValue::convertToJump(BasicBlock* destination)
     Origin origin = this->origin();
     BasicBlock* owner = this->owner;
 
-    this->ControlValue::~ControlValue();
+    this->~ControlValue();
 
     new (this) ControlValue(Jump, origin, FrequentedBlock(destination));
 
@@ -71,7 +71,7 @@ void ControlValue::convertToOops()
     Origin origin = this->origin();
     BasicBlock* owner = this->owner;
 
-    this->ControlValue::~ControlValue();
+    this->~ControlValue();
 
     new (this) ControlValue(Oops, origin);