B3::Value doesn't self-destruct virtually enough (Causes many leaks in LowerDFGToB3...
[WebKit-https.git] / Source / JavaScriptCore / b3 / B3Value.cpp
index 1c6d9bc..c028dad 100644 (file)
@@ -71,7 +71,7 @@ void Value::replaceWithIdentity(Value* value)
 
     RELEASE_ASSERT(type == value->type());
 
 
     RELEASE_ASSERT(type == value->type());
 
-    this->Value::~Value();
+    this->~Value();
 
     new (this) Value(Identity, type, origin, value);
 
 
     new (this) Value(Identity, type, origin, value);
 
@@ -85,7 +85,7 @@ void Value::replaceWithNop()
     Origin origin = m_origin;
     BasicBlock* owner = this->owner;
 
     Origin origin = m_origin;
     BasicBlock* owner = this->owner;
 
-    this->Value::~Value();
+    this->~Value();
 
     new (this) Value(Nop, Void, origin);
 
 
     new (this) Value(Nop, Void, origin);
 
@@ -105,7 +105,7 @@ void Value::replaceWithPhi()
     BasicBlock* owner = this->owner;
     Type type = m_type;
 
     BasicBlock* owner = this->owner;
     Type type = m_type;
 
-    this->Value::~Value();
+    this->~Value();
 
     new (this) Value(Phi, type, origin);
 
 
     new (this) Value(Phi, type, origin);