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 0e239bae1194253b66c536001efeca2640ead089..d76d1dc232fa32cf2fb9023ec5b9d92ae77b83c5 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -759,6 +759,11 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
case kArchTableSwitch: |
AssembleArchTableSwitch(instr); |
break; |
+ case kArchComment: { |
+ Address comment_string = i.InputExternalReference(0).address(); |
+ __ RecordComment(reinterpret_cast<const char*>(comment_string)); |
+ break; |
+ } |
case kArchDebugBreak: |
__ int3(); |
break; |