Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index b122cbf9553af9bf8b2f7e4d07f4510e9d65352a..35128ee5e83176e583ee2497ae0d22b729d7bf0a 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -664,6 +664,11 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
case kArchDebugBreak: |
__ stop("kArchDebugBreak"); |
break; |
+ case kArchComment: { |
+ Address comment_string = i.InputExternalReference(0).address(); |
+ __ RecordComment(reinterpret_cast<const char*>(comment_string)); |
+ break; |
+ } |
case kArchNop: |
case kArchThrowTerminator: |
// don't emit code for nops. |