Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 6ce8e0dd54a3dd4396e665b35ff56c9e520cd7fe..17fc81227ff6e7865c9f4c468eaa15d560b609f0 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -12788,6 +12788,7 @@ void Oddball::Initialize(Isolate* isolate, Handle<Oddball> oddball, |
isolate->factory()->InternalizeUtf8String(to_string); |
Handle<String> internalized_type_of = |
isolate->factory()->InternalizeUtf8String(type_of); |
+ oddball->set_to_number_raw(to_number->Number()); |
oddball->set_to_boolean(isolate->heap()->ToBoolean(to_boolean)); |
oddball->set_to_number(*to_number); |
oddball->set_to_string(*internalized_to_string); |