aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Bitcode
diff options
context:
space:
mode:
authorMark Seaborn <mseaborn@chromium.org>2013-06-21 14:13:48 -0700
committerMark Seaborn <mseaborn@chromium.org>2013-06-21 14:13:48 -0700
commit7001e7af4b74a6a5f5ddc445975d657d443ef2cd (patch)
tree1e372e458e2aac522d0292c7f2af85e1d1d80acf /include/llvm/Bitcode
parent9c2f4c47506e6dcd05aceb197f22d1662fbbaa88 (diff)
PNaCl wire format: Update comments for function attribute removal
I missed updating the comments about the bitcode format in NaClLLVMBitCodes.h in my previous change. Note that the comment for FUNC_CODE_INST_CALL was out of date before: it was missing "cc" (calling conventions). BUG=https://code.google.com/p/nativeclient/issues/detail?id=3506 TEST=none Review URL: https://codereview.chromium.org/17516004
Diffstat (limited to 'include/llvm/Bitcode')
-rw-r--r--include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h
index 49c23469b9..f8fa4da40f 100644
--- a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h
+++ b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h
@@ -62,8 +62,7 @@ namespace naclbitc {
// linkage, alignment, section, visibility, threadlocal]
MODULE_CODE_GLOBALVAR = 7,
- // FUNCTION: [type, callingconv, isproto, linkage, paramattrs, alignment,
- // section, visibility, gc, unnamed_addr]
+ // FUNCTION: [type, callingconv, isproto, linkage]
MODULE_CODE_FUNCTION = 8,
// ALIAS: [alias type, aliasee val#, linkage, visibility]
@@ -326,7 +325,7 @@ namespace naclbitc {
// 32 is unused.
FUNC_CODE_DEBUG_LOC_AGAIN = 33, // DEBUG_LOC_AGAIN
- FUNC_CODE_INST_CALL = 34, // CALL: [attr, fnty, fnid, args...]
+ FUNC_CODE_INST_CALL = 34, // CALL: [cc, fnty, fnid, args...]
FUNC_CODE_DEBUG_LOC = 35, // DEBUG_LOC: [Line,Col,ScopeVal, IAVal]
FUNC_CODE_INST_FENCE = 36, // FENCE: [ordering, synchscope]