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 28966253210c4df158d015e71c3d16f3022fb2a0..ac70a0c5ddab43dc6fdaaeea9d769c0de7f2be7e 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; |