Index: src/builtins/builtins-object.cc |
diff --git a/src/builtins/builtins-object.cc b/src/builtins/builtins-object.cc |
index c422145a51801214090e87c74e73d63a32f2850c..918eb7ef5c4119518449137a2beff7d458afc4b4 100644 |
--- a/src/builtins/builtins-object.cc |
+++ b/src/builtins/builtins-object.cc |
@@ -35,7 +35,7 @@ void Builtins::Generate_ObjectHasOwnProperty(CodeStubAssembler* assembler) { |
Node* map = assembler->LoadMap(object); |
Node* instance_type = assembler->LoadMapInstanceType(map); |
- Variable var_index(assembler, MachineRepresentation::kWord32); |
+ Variable var_index(assembler, MachineType::PointerRepresentation()); |
Label keyisindex(assembler), if_iskeyunique(assembler); |
assembler->TryToName(key, &keyisindex, &var_index, &if_iskeyunique, |