Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index fa7f50ea094dd0fa7de99181a7fa4e6a11f938d2..c07a21f8638314fa16bbd93c5eada9e8530036b7 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -839,12 +839,24 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kX64And: |
ASSEMBLE_BINOP(andq); |
break; |
+ case kX64Cmp8: |
+ ASSEMBLE_COMPARE(cmpb); |
+ break; |
+ case kX64Cmp16: |
+ ASSEMBLE_COMPARE(cmpw); |
+ break; |
case kX64Cmp32: |
ASSEMBLE_COMPARE(cmpl); |
break; |
case kX64Cmp: |
ASSEMBLE_COMPARE(cmpq); |
break; |
+ case kX64Test8: |
+ ASSEMBLE_COMPARE(testb); |
+ break; |
+ case kX64Test16: |
+ ASSEMBLE_COMPARE(testw); |
+ break; |
case kX64Test32: |
ASSEMBLE_COMPARE(testl); |
break; |