Index: src/arm64/lithium-arm64.cc |
diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc |
index 6dccc5ffaa86218b80176f94843d5d8c3cd63fc9..4bed135bca576a259a4e137bde030afdfd3d2c0c 100644 |
--- a/src/arm64/lithium-arm64.cc |
+++ b/src/arm64/lithium-arm64.cc |
@@ -2562,7 +2562,9 @@ LInstruction* LChunkBuilder::DoCheckMapValue(HCheckMapValue* instr) { |
LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
LOperand* object = UseRegisterAtStart(instr->object()); |
LOperand* index = UseRegister(instr->index()); |
- return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
+ LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); |
+ LInstruction* result = DefineSameAsFirst(load); |
+ return AssignPointerMap(result); |
} |