Index: src/compiler/mips/code-generator-mips.cc |
diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc |
index ffc0258ba035582c347f097c77e98a45e9ded722..148c52029dc4b7d7ed540e49bf9925686dbe0496 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -655,6 +655,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. |