From: Chris Lattner Date: Thu, 8 May 2003 02:41:11 +0000 (+0000) Subject: Add support for new va_arg instruction X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=c567567759bcff43f35bad81e4c3515d2a42f0d1 Add support for new va_arg instruction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6026 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/emacs/llvm-mode.el b/utils/emacs/llvm-mode.el index f72fbcb3f94..578257ab504 100644 --- a/utils/emacs/llvm-mode.el +++ b/utils/emacs/llvm-mode.el @@ -34,7 +34,7 @@ ;; Arithmetic and Logical Operators '("add\\|sub\\|mul\\|div\\|rem\\|and\\|or\\|xor\\|set\\(ne\\|eq\\|lt\\|gt\\|le\\|ge\\)" . font-lock-keyword-face) ;; Special instructions - '("phi\\|call\\|cast\\|shl\\|shr" . font-lock-keyword-face) + '("phi\\|call\\|cast\\|shl\\|shr\\|va_arg" . font-lock-keyword-face) ;; Control instructions '("ret\\|br\\|switch\\|invoke" . font-lock-keyword-face) ;; Memory operators diff --git a/utils/vim/llvm.vim b/utils/vim/llvm.vim index 578aeed7686..dfdc43e7c4a 100644 --- a/utils/vim/llvm.vim +++ b/utils/vim/llvm.vim @@ -20,7 +20,7 @@ syn keyword llvmStatement add sub mul div rem syn keyword llvmStatement and or xor syn keyword llvmStatement setne seteq setlt setgt setle setge -syn keyword llvmStatement phi call cast shl shr +syn keyword llvmStatement phi call cast shl shr va_arg syn keyword llvmStatement ret br switch invoke syn keyword llvmStatement malloc alloca free load store getelementptr