Index: src/runtime/runtime-literals.cc |
diff --git a/src/runtime/runtime-literals.cc b/src/runtime/runtime-literals.cc |
index 9b1b2b220be9addf00c012bed6ed1afb7a7cfa7e..113193835d9852765363f1fb529ea657c8bb39f8 100644 |
--- a/src/runtime/runtime-literals.cc |
+++ b/src/runtime/runtime-literals.cc |
@@ -424,10 +424,8 @@ RUNTIME_FUNCTION(Runtime_StoreArrayLiteralElement) { |
? FAST_HOLEY_ELEMENTS |
: FAST_ELEMENTS; |
JSObject::TransitionElementsKind(object, transitioned_kind); |
- ElementsKind boilerplate_elements_kind = |
- boilerplate_object->GetElementsKind(); |
- if (IsMoreGeneralElementsKindTransition(boilerplate_elements_kind, |
- transitioned_kind)) { |
+ if (IsMoreGeneralElementsKindTransition( |
+ boilerplate_object->GetElementsKind(), transitioned_kind)) { |
JSObject::TransitionElementsKind(boilerplate_object, transitioned_kind); |
} |
} |