OSDN Git Service

Subzero: Add newlines for bundle lock/unlock textual asm.
authorJim Stichnoth <stichnot@chromium.org>
Fri, 27 Nov 2015 22:22:02 +0000 (14:22 -0800)
committerJim Stichnoth <stichnot@chromium.org>
Fri, 27 Nov 2015 22:22:02 +0000 (14:22 -0800)
BUG= none
R=sehr@chromium.org

Review URL: https://codereview.chromium.org/1479873002 .

src/IceInst.cpp

index bd68e68..2946296 100644 (file)
@@ -857,6 +857,7 @@ void InstBundleLock::emit(const Cfg *Func) const {
     Str << "\talign_to_end";
     break;
   }
+  Str << "\n";
 }
 
 void InstBundleLock::dump(const Cfg *Func) const {
@@ -878,6 +879,7 @@ void InstBundleUnlock::emit(const Cfg *Func) const {
     return;
   Ostream &Str = Func->getContext()->getStrEmit();
   Str << "\t.bundle_unlock";
+  Str << "\n";
 }
 
 void InstBundleUnlock::dump(const Cfg *Func) const {