Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 792b6d9843e6166799278518f99c4adde22c61b7..906f7feef6bb30f5bf9f3787e568f1b7f9405a30 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -8105,7 +8105,7 @@ void SharedFunctionInfo::DetachInitialMap() { |
// constructor is called. The countdown will continue and (possibly after |
// several more GCs) CompleteInobjectSlackTracking will eventually be called. |
Heap* heap = map->GetHeap(); |
- set_initial_map(heap->raw_unchecked_undefined_value()); |
+ set_initial_map(heap->undefined_value()); |
Builtins* builtins = heap->isolate()->builtins(); |
ASSERT_EQ(builtins->builtin(Builtins::kJSConstructStubCountdown), |
*RawField(this, kConstructStubOffset)); |