Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 0ddd11b4dded3edda74db5093d79c73a4f576648..e7e0e7f76adcf7fe3c1d0967f4d59176644558e1 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -1336,7 +1336,6 @@ class DictionaryElementsAccessor |
if (length <= Smi::kMaxValue) { |
array->set_length(Smi::FromInt(length)); |
} else { |
- Isolate* isolate = array->GetIsolate(); |
Handle<Object> length_obj = isolate->factory()->NewNumberFromUint(length); |
array->set_length(*length_obj); |
} |