Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h

Issue 22819015: PNaCl bitcode: Remove support for TYPE_CODE_FUNCTION_OLD (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- NaClLLVMBitCodes.h ---------------------------------------*- C++ -*-===// 1 //===- NaClLLVMBitCodes.h ---------------------------------------*- C++ -*-===//
2 // Enum values for the NaCl bitcode wire format 2 // Enum values for the NaCl bitcode wire format
3 // 3 //
4 // The LLVM Compiler Infrastructure 4 // The LLVM Compiler Infrastructure
5 // 5 //
6 // This file is distributed under the University of Illinois Open Source 6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details. 7 // License. See LICENSE.TXT for details.
8 // 8 //
9 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===//
10 // 10 //
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 // Type Codes 81 // Type Codes
82 TYPE_CODE_VOID = 2, // VOID 82 TYPE_CODE_VOID = 2, // VOID
83 TYPE_CODE_FLOAT = 3, // FLOAT 83 TYPE_CODE_FLOAT = 3, // FLOAT
84 TYPE_CODE_DOUBLE = 4, // DOUBLE 84 TYPE_CODE_DOUBLE = 4, // DOUBLE
85 TYPE_CODE_LABEL = 5, // LABEL 85 TYPE_CODE_LABEL = 5, // LABEL
86 TYPE_CODE_OPAQUE = 6, // OPAQUE 86 TYPE_CODE_OPAQUE = 6, // OPAQUE
87 TYPE_CODE_INTEGER = 7, // INTEGER: [width] 87 TYPE_CODE_INTEGER = 7, // INTEGER: [width]
88 TYPE_CODE_POINTER = 8, // POINTER: [pointee type] 88 TYPE_CODE_POINTER = 8, // POINTER: [pointee type]
89 89
90 TYPE_CODE_FUNCTION_OLD = 9, // FUNCTION: [vararg, attrid, retty, 90 TYPE_CODE_FUNCTION_OLD = 9, // Not used in PNaCl.
91 // paramty x N]
92 91
93 TYPE_CODE_HALF = 10, // HALF 92 TYPE_CODE_HALF = 10, // HALF
94 93
95 TYPE_CODE_ARRAY = 11, // ARRAY: [numelts, eltty] 94 TYPE_CODE_ARRAY = 11, // ARRAY: [numelts, eltty]
96 TYPE_CODE_VECTOR = 12, // VECTOR: [numelts, eltty] 95 TYPE_CODE_VECTOR = 12, // VECTOR: [numelts, eltty]
97 96
98 // These are not with the other floating point types because they're 97 // These are not with the other floating point types because they're
99 // a late addition, and putting them in the right place breaks 98 // a late addition, and putting them in the right place breaks
100 // binary compatibility. 99 // binary compatibility.
101 TYPE_CODE_X86_FP80 = 13, // X86 LONG DOUBLE 100 TYPE_CODE_X86_FP80 = 13, // X86 LONG DOUBLE
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 FUNC_CODE_INST_FORWARDTYPEREF = 43 // TYPE: [opval, ty] 322 FUNC_CODE_INST_FORWARDTYPEREF = 43 // TYPE: [opval, ty]
324 }; 323 };
325 324
326 enum NaClUseListCodes { 325 enum NaClUseListCodes {
327 USELIST_CODE_ENTRY = 1 // USELIST_CODE_ENTRY: TBD. 326 USELIST_CODE_ENTRY = 1 // USELIST_CODE_ENTRY: TBD.
328 }; 327 };
329 } // End naclbitc namespace 328 } // End naclbitc namespace
330 } // End llvm namespace 329 } // End llvm namespace
331 330
332 #endif 331 #endif
OLDNEW
« no previous file with comments | « no previous file | lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698