/src/wrappers/llvm/library/values/llvm_global_context.e

http://github.com/tybor/Liberty · Specman e · 29 lines · 10 code · 3 blank · 16 comment · 0 complexity · 4791ffeea1038271ce4a1b17fafdd12d MD5 · raw file

  1. class LLVM_GLOBAL_CONTEXT
  2. -- The global context of LowLevelVirtualMachine singleton.
  3. inherit LLVM_CONTEXT undefine copy, is_equal redefine default_create end
  4. insert SINGLETON redefine default_create end
  5. create {ANY} default_create
  6. feature {ANY}
  7. default_create
  8. do
  9. handle:=llvmget_global_context
  10. end
  11. end -- class LLVM_GLOBAL_CONTEXT
  12. -- Copyright (C) 2009-2017: Paolo Redaelli
  13. -- This file is part of LLVM wrappers for Liberty Eiffel.
  14. --
  15. -- This library is free software: you can redistribute it and/or modify
  16. -- it under the terms of the GNU Lesser General Public License as published by
  17. -- the Free Software Foundation, version 3 of the License.
  18. --
  19. -- Liberty Eiffel is distributed in the hope that it will be useful,
  20. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  21. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  22. -- GNU General Public License for more details.
  23. --
  24. -- You should have received a copy of the GNU General Public License
  25. -- along with Liberty Eiffel. If not, see <http://www.gnu.org/licenses/>.
  26. --