Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 489236f1cc895f8caf2a2ae75c999c076291ad1a..8359aa33529aed900efafe6391099a0568be8067 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -5099,7 +5099,7 @@ Object* Oddball::Initialize(const char* to_string, Object* to_number) { |
bool SharedFunctionInfo::HasSourceCode() { |
return !script()->IsUndefined() && |
- !Script::cast(script())->source()->IsUndefined(); |
+ !reinterpret_cast<Script*>(script())->source()->IsUndefined(); |
} |