aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Seaborn <mseaborn@chromium.org>2013-08-29 09:31:36 -0700
committerMark Seaborn <mseaborn@chromium.org>2013-08-29 09:31:36 -0700
commit013bcfcfcd04a3469429771e80997c02fdd03501 (patch)
tree527f0a9a9e34e5aa81b0500522c1e726079bc2e2 /include
parentba45e4b2c5051b7093a6d5ccd8a2d0a8ac53c45b (diff)
PNaCl bitcode: Remove handling of TYPE_CODE_OPAQUE
Opaque struct types should not appear in LLVM IR that passes the PNaCl ABI verifier. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3590 TEST=PNaCl toolchain trybots Review URL: https://codereview.chromium.org/23738002
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h
index 2f7bf31914..dcb3df3473 100644
--- a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h
+++ b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h
@@ -83,7 +83,7 @@ namespace naclbitc {
TYPE_CODE_FLOAT = 3, // FLOAT
TYPE_CODE_DOUBLE = 4, // DOUBLE
TYPE_CODE_LABEL = 5, // LABEL
- TYPE_CODE_OPAQUE = 6, // OPAQUE
+ TYPE_CODE_OPAQUE = 6, // Not used in PNaCl.
TYPE_CODE_INTEGER = 7, // INTEGER: [width]
TYPE_CODE_POINTER = 8, // POINTER: [pointee type]