Index: src/compiler/x64/instruction-selector-x64.cc |
diff --git a/src/compiler/x64/instruction-selector-x64.cc b/src/compiler/x64/instruction-selector-x64.cc |
index fca630fc6d6e1fcbf1a91e4218f1f50b7b50b55b..56cf1818af7508490e5083c601f58b2beba3f2b1 100644 |
--- a/src/compiler/x64/instruction-selector-x64.cc |
+++ b/src/compiler/x64/instruction-selector-x64.cc |
@@ -61,7 +61,9 @@ class X64OperandGenerator final : public OperandGenerator { |
case kX64Cmp: |
case kX64Test: |
return rep == MachineRepresentation::kWord64 || |
- rep == MachineRepresentation::kTagged; |
+ rep == MachineRepresentation::kTagged || |
+ rep == MachineRepresentation::kTaggedSigned || |
+ rep == MachineRepresentation::kTaggedPointer; |
Jarin
2016/09/21 06:49:55
IsAnyTagged(rep) ?
Benedikt Meurer
2016/09/21 06:50:10
Done.
|
case kX64Cmp32: |
case kX64Test32: |
return rep == MachineRepresentation::kWord32; |