Index: src/runtime/runtime-object.cc |
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc |
index c83b247009dc892984ed7c166f79ef20207cc1c1..b2a736d7a5bb41e07532366ac815da3693bcbace 100644 |
--- a/src/runtime/runtime-object.cc |
+++ b/src/runtime/runtime-object.cc |
@@ -1400,8 +1400,9 @@ RUNTIME_FUNCTION(Runtime_LoadMutableDouble) { |
RUNTIME_ASSERT(field_index.outobject_array_index() < |
object->properties()->length()); |
} |
- return *JSObject::FastPropertyAt(object, Representation::Double(), |
- field_index); |
+ Handle<Object> raw_value(object->RawFastPropertyAt(field_index), isolate); |
+ RUNTIME_ASSERT(raw_value->IsMutableHeapNumber()); |
+ return *Object::WrapForRead(isolate, raw_value, Representation::Double()); |
} |