diff options
Diffstat (limited to 'deps/v8/src/interface.cc')
-rw-r--r-- | deps/v8/src/interface.cc | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/deps/v8/src/interface.cc b/deps/v8/src/interface.cc index 7836110e5..e344b8615 100644 --- a/deps/v8/src/interface.cc +++ b/deps/v8/src/interface.cc @@ -79,7 +79,7 @@ void Interface::DoAdd( PrintF("%*sthis = ", Nesting::current(), ""); this->Print(Nesting::current()); PrintF("%*s%s : ", Nesting::current(), "", - (*static_cast<String**>(name))->ToAsciiArray()); + (*reinterpret_cast<String**>(name))->ToAsciiArray()); interface->Print(Nesting::current()); } #endif @@ -97,7 +97,7 @@ void Interface::DoAdd( #ifdef DEBUG Nesting nested; #endif - static_cast<Interface*>(p->value)->Unify(interface, ok); + reinterpret_cast<Interface*>(p->value)->Unify(interface, ok); } #ifdef DEBUG @@ -180,15 +180,6 @@ void Interface::DoUnify(Interface* that, bool* ok) { return; } - // Merge instance. - if (!that->instance_.is_null()) { - if (!this->instance_.is_null() && *this->instance_ != *that->instance_) { - *ok = false; - return; - } - this->instance_ = that->instance_; - } - // Merge interfaces. this->flags_ |= that->flags_; that->forward_ = this; |