Index: src/compiler/instruction.h |
diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h |
index b5aea707d2e3ac21ff6f5f9db52faa06e22d9157..1139f6ebbbd6048576176f9298add7847031c421 100644 |
--- a/src/compiler/instruction.h |
+++ b/src/compiler/instruction.h |
@@ -1344,7 +1344,9 @@ class InstructionSequence final : public ZoneObject { |
bool IsReference(int virtual_register) const { |
return GetRepresentation(virtual_register) == |
- MachineRepresentation::kTagged; |
+ MachineRepresentation::kTagged || |
+ GetRepresentation(virtual_register) == |
+ MachineRepresentation::kTaggedPointer; |
} |
bool IsFP(int virtual_register) const { |
return IsFloatingPoint(GetRepresentation(virtual_register)); |