diff libinterp/corefcn/jit-typeinfo.h @ 18555:5b49430a5b30 draft

Fully uint16 type support
author LYH <lyh.kernel@gmail.com>
date Thu, 26 Sep 2013 19:14:08 +0800
parents bb937947ceb3
children 5a5a67799338
line wrap: on
line diff
--- a/libinterp/corefcn/jit-typeinfo.h	Thu Sep 26 19:14:08 2013 +0800
+++ b/libinterp/corefcn/jit-typeinfo.h	Thu Sep 26 19:14:08 2013 +0800
@@ -794,8 +794,12 @@
 
   void create_int (size_t nbits);
 
+  void create_uint (size_t nbits);
+
   jit_type *intN (size_t nbits) const;
 
+  jit_type *uintN (size_t nbits) const;
+
   static jit_typeinfo *instance;
 
   llvm::Module *module;
@@ -821,6 +825,7 @@
   jit_type *complex;
   jit_type *unknown_function;
   std::map<size_t, jit_type *> ints;
+  std::map<size_t, jit_type *> uints;
   std::map<std::string, jit_type *> builtins;
 
   llvm::StructType *complex_ret;