From 2c70addcf2fe0bdb14fbb53cea79cb96ed81b6e7 Mon Sep 17 00:00:00 2001 From: "zhengxing.li" Date: Mon, 20 Jun 2016 22:56:00 -0700 Subject: [PATCH] X87: [turbofan] Add comments to CodeAssembler. port 40b5c1d41f7da58411d5538f26cc736d2f40abe0(r36842) original commit message: BUG= Review-Url: https://codereview.chromium.org/2080873003 Cr-Commit-Position: refs/heads/master@{#37124} --- src/compiler/x87/code-generator-x87.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc index e862dc5a68..dd8be23772 100644 --- a/src/compiler/x87/code-generator-x87.cc +++ b/src/compiler/x87/code-generator-x87.cc @@ -606,6 +606,11 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( case kArchTableSwitch: AssembleArchTableSwitch(instr); break; + case kArchComment: { + Address comment_string = i.InputExternalReference(0).address(); + __ RecordComment(reinterpret_cast(comment_string)); + break; + } case kArchDebugBreak: __ int3(); break;