Index: src/ic/accessor-assembler.cc |
diff --git a/src/ic/accessor-assembler.cc b/src/ic/accessor-assembler.cc |
index 707ecff5e1b136abe62084abc6abf314a98b1fa3..6a27045f1228311a235692e01b87386898a36c09 100644 |
--- a/src/ic/accessor-assembler.cc |
+++ b/src/ic/accessor-assembler.cc |
@@ -1301,8 +1301,6 @@ |
void AccessorAssemblerImpl::KeyedLoadICGeneric(const LoadICParameters* p) { |
Variable var_index(this, MachineType::PointerRepresentation()); |
- Variable var_unique(this, MachineRepresentation::kTagged); |
- var_unique.Bind(p->name); // Dummy initialization. |
Variable var_details(this, MachineRepresentation::kWord32); |
Variable var_value(this, MachineRepresentation::kTagged); |
Label if_index(this), if_unique_name(this), if_element_hole(this), |
@@ -1319,8 +1317,8 @@ |
Int32Constant(LAST_CUSTOM_ELEMENTS_RECEIVER)), |
&slow); |
- TryToName(p->name, &if_index, &var_index, &if_unique_name, &var_unique, |
- &slow); |
+ Node* key = p->name; |
+ TryToName(key, &if_index, &var_index, &if_unique_name, &slow); |
Bind(&if_index); |
{ |
@@ -1369,7 +1367,6 @@ |
Bind(&if_unique_name); |
{ |
Comment("key is unique name"); |
- Node* key = var_unique.value(); |
// Check if the receiver has fast or slow properties. |
properties = LoadProperties(receiver); |
Node* properties_map = LoadMap(properties); |
@@ -1428,7 +1425,6 @@ |
// We checked for LAST_CUSTOM_ELEMENTS_RECEIVER before, which rules out |
// seeing global objects here (which would need special handling). |
- Node* key = var_unique.value(); |
Variable var_name_index(this, MachineType::PointerRepresentation()); |
Label dictionary_found(this, &var_name_index); |
NameDictionaryLookup<NameDictionary>(properties, key, &dictionary_found, |