diff options
author | Karl Schimpf <kschimpf@google.com> | 2013-05-02 07:32:29 -0700 |
---|---|---|
committer | Karl Schimpf <kschimpf@google.com> | 2013-05-02 07:32:29 -0700 |
commit | 7ecb66dd080ef1291bd166475c87e2f6b4a1d1a8 (patch) | |
tree | a3ab39e7882e37bf7e80762fe61c364f8b5b1f08 /include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h | |
parent | b56422fc69d6837b9aa50b984c750e294740193d (diff) |
Copy BitCodes.h to NaCl/NaClBitCodes.h
Create NaCl specific version of BitCodes.h so that we can custimize it
for the PNaCl wire format. Moves enums to namespace naclbitc. Renames
classes using NaCl prefix. Fixes references so that files compiles.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3405
R=jvoung@chromium.org
Review URL: https://codereview.chromium.org/14682013
Diffstat (limited to 'include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h')
-rw-r--r-- | include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h index a8ebe8b8f6..bf31c5bea3 100644 --- a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h +++ b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h @@ -19,16 +19,14 @@ #ifndef LLVM_BITCODE_NACL_NACLLLVMBITCODES_H #define LLVM_BITCODE_NACL_NACLLLVMBITCODES_H -// TODO(kschimpf) Make a NaCl version of BitCodes.h, so that block id's -// and abbreviations can be modified. -#include "llvm/Bitcode/BitCodes.h" +#include "llvm/Bitcode/NaCl/NaClBitCodes.h" namespace llvm { namespace naclbitc { // The only top-level block type defined is for a module. enum NaClBlockIDs { // Blocks - MODULE_BLOCK_ID = bitc::FIRST_APPLICATION_BLOCKID, + MODULE_BLOCK_ID = FIRST_APPLICATION_BLOCKID, // Module sub-block id's. PARAMATTR_BLOCK_ID, |