diff options
author | Karl Schimpf <kschimpf@google.com> | 2013-08-28 14:34:19 -0700 |
---|---|---|
committer | Karl Schimpf <kschimpf@google.com> | 2013-08-28 14:34:19 -0700 |
commit | 493d4ab9edba2be18c916d80aaa100a0e51e1f51 (patch) | |
tree | 0fe55c21475362e19e6aec0404633f26c89f314e /include | |
parent | 117111856d5cca5a0286792180ad9e241ea4d701 (diff) |
Handle pointer conversions for call instructions.
This also should complete the changes associated with removing pointer cast
instructions from the PNaCl bitcode file.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3544
R=dschuff@chromium.org, jvoung@chromium.org
Review URL: https://codereview.chromium.org/23482002
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h index ebe5a972e5..8361a17642 100644 --- a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h +++ b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h @@ -309,8 +309,8 @@ namespace naclbitc { // 32 is unused. FUNC_CODE_DEBUG_LOC_AGAIN = 33, // Not used in PNaCl. - FUNC_CODE_INST_CALL = 34, // CALL: [cc, fnid, args...] - + FUNC_CODE_INST_CALL = 34, // CALL: [cc, fnid, args...] + // See FUNC_CODE_INST_CALL_INDIRECT below. FUNC_CODE_DEBUG_LOC = 35, // Not used in PNaCl. FUNC_CODE_INST_FENCE = 36, // Not used in PNaCl. FUNC_CODE_INST_CMPXCHG = 37, // Not used in PNaCl. @@ -319,7 +319,9 @@ namespace naclbitc { FUNC_CODE_INST_LANDINGPAD = 40, // Not used in PNaCl. FUNC_CODE_INST_LOADATOMIC = 41, // Not used in PNaCl. FUNC_CODE_INST_STOREATOMIC = 42, // Not used in PNaCl. - FUNC_CODE_INST_FORWARDTYPEREF = 43 // TYPE: [opval, ty] + FUNC_CODE_INST_FORWARDTYPEREF = 43, // TYPE: [opval, ty] + // PNaCl version 2: CALL_INDIRECT: [cc, fnid, fnty, args...] + FUNC_CODE_INST_CALL_INDIRECT = 44 }; enum NaClUseListCodes { |