Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 5efaaa13d49c43b890ce45ebedb047d820c999ed..c77f0ef607e32d97cd7189dbed5c308efaeee75f 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -14524,8 +14524,8 @@ RUNTIME_FUNCTION(Runtime_LoadMutableDouble) { |
object->properties()->length()); |
} |
Handle<Object> raw_value(object->RawFastPropertyAt(field_index), isolate); |
- RUNTIME_ASSERT(raw_value->IsNumber() || raw_value->IsUninitialized()); |
- return *Object::NewStorageFor(isolate, raw_value, Representation::Double()); |
+ RUNTIME_ASSERT(raw_value->IsMutableHeapNumber()); |
+ return *Object::WrapForRead(isolate, raw_value, Representation::Double()); |
} |