From: JF Bastien Date: Mon, 27 Jul 2015 22:40:31 +0000 (+0000) Subject: WebAssembly: more MCAsmInfo nits. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=3f7b9111968b23064ee2546eb1f77bbb6f926924 WebAssembly: more MCAsmInfo nits. Summary: As suggested by sunfish. Subscribers: jfb, llvm-commits, sunfish Differential Revision: http://reviews.llvm.org/D11544 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243339 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp b/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp index 5a54b3a24c8..c3ab48fd405 100644 --- a/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp +++ b/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp @@ -27,16 +27,12 @@ WebAssemblyMCAsmInfo::WebAssemblyMCAsmInfo(const Triple &T) { // TODO: What should MaxInstLength be? - // WebAssembly's text format uses s-expressions to represent its AST, - // LISP-style comments are therefore suitable. + // The s-expression format of WebAssembly uses LISP-style comments. CommentString = ";"; PrivateGlobalPrefix = ""; PrivateLabelPrefix = ""; - InlineAsmStart = ";APP\n"; - InlineAsmEnd = ";NO_APP\n"; - UseDataRegionDirectives = true; Data8bitsDirective = "\t.int8\t";