diff options
author | Jim Laskey <jlaskey@mac.com> | 2007-02-06 18:19:44 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2007-02-06 18:19:44 +0000 |
commit | 81a21eae3ee49cf090013559565b77f1c23d1e7c (patch) | |
tree | 45520842d5737b47c2ac88db6f4b84e3f5a8cbef | |
parent | 251e3c6f6f73b1132709f07a3ad4e3046c22e3ed (diff) | |
download | llvm-81a21eae3ee49cf090013559565b77f1c23d1e7c.tar.gz llvm-81a21eae3ee49cf090013559565b77f1c23d1e7c.tar.bz2 llvm-81a21eae3ee49cf090013559565b77f1c23d1e7c.tar.xz |
Deemed too cute to live.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33964 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Intrinsics.td | 4 | ||||
-rw-r--r-- | utils/TableGen/FileLexer.l | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td index bda4a927bb..126205a5b5 100644 --- a/include/llvm/Intrinsics.td +++ b/include/llvm/Intrinsics.td @@ -88,7 +88,7 @@ def llvm_v4i32_ty : LLVMPackedType<v4i32, 4, llvm_i32_ty>; // 4 x i32 def llvm_v4f32_ty : LLVMPackedType<v4f32, 4, llvm_float_ty>; // 4 x float def llvm_v2f64_ty : LLVMPackedType<v2f64, 2, llvm_double_ty>;// 2 x double -def ... : LLVMType<isVoid, "...">; // vararg +def llvm_vararg_ty : LLVMType<isVoid, "...">; // vararg //===----------------------------------------------------------------------===// // Intrinsic Definitions. @@ -222,7 +222,7 @@ def int_dbg_declare : Intrinsic<[llvm_void_ty, llvm_ptr_ty, //===------------------ Exception Handling Intrinsics----------------------===// // def int_eh_exception : Intrinsic<[llvm_ptr_ty]>; -def int_eh_handlers : Intrinsic<[llvm_ptr_ty, llvm_ptr_ty, ...]>; +def int_eh_handlers : Intrinsic<[llvm_ptr_ty, llvm_ptr_ty, llvm_vararg_ty]>; //===----------------------------------------------------------------------===// // Target-specific intrinsics diff --git a/utils/TableGen/FileLexer.l b/utils/TableGen/FileLexer.l index fa89b8ba04..cc6825f5e0 100644 --- a/utils/TableGen/FileLexer.l +++ b/utils/TableGen/FileLexer.l @@ -176,7 +176,7 @@ using namespace llvm; Comment \/\/.* -Identifier [a-zA-Z_][0-9a-zA-Z_]*|\.\.\. +Identifier [a-zA-Z_][0-9a-zA-Z_]* Integer [-+]?[0-9]+|0x[0-9a-fA-F]+|0b[01]+ CodeFragment \[\{([^}]+|\}[^\]])*\}\] StringVal \"[^"]*\" |