Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index d18a158c44d0442eb42ec67c5bea514031c15b48..15406e2b452f28d8c19dd5f365d6d14baf5235cb 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -1236,7 +1236,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_DisableAccessChecks) { |
if (needs_access_checks) { |
// Copy map so it won't interfere constructor's initial map. |
Object* new_map; |
- { MaybeObject* maybe_new_map = old_map->CopyDropTransitions(); |
+ { MaybeObject* maybe_new_map = old_map->CopyDropTransitions(false); |
if (!maybe_new_map->ToObject(&new_map)) return maybe_new_map; |
} |
@@ -1254,7 +1254,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_EnableAccessChecks) { |
if (!old_map->is_access_check_needed()) { |
// Copy map so it won't interfere constructor's initial map. |
Object* new_map; |
- { MaybeObject* maybe_new_map = old_map->CopyDropTransitions(); |
+ { MaybeObject* maybe_new_map = old_map->CopyDropTransitions(false); |
if (!maybe_new_map->ToObject(&new_map)) return maybe_new_map; |
} |
@@ -10239,7 +10239,6 @@ static MaybeObject* DebugLookupResultValue(Heap* heap, |
} |
case INTERCEPTOR: |
case MAP_TRANSITION: |
- case ELEMENTS_TRANSITION: |
case CONSTANT_TRANSITION: |
case NULL_DESCRIPTOR: |
return heap->undefined_value(); |