This repository has been archived by the owner on Sep 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Introducing Bytecode Interpreter * interpreter deactivated if not requested by command line * no supprt for OrderBy yet * Change Compile/Verify functions to void * throw an Exception in case of errors * Small changes from review on #1244 * Add explicit function calls, small changes * add template system to generate handler for explicit function calls * refactor InsertBytecodeFunction * add missingFP truct/extend instructions
- Loading branch information
1 parent
9cca1b7
commit a045cfc
Showing
33 changed files
with
5,889 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# - Try to find Libffi | ||
# | ||
# A Portable Foreign Function Interface Library (https://sourceware.org/libffi) | ||
# | ||
# Usage: | ||
# LIBFFI_INCLUDE_DIRS, location of header files | ||
# LIBFFI_LIBRARIES, location of library | ||
# LIBFFI_FOUND, indicates if libffi was found | ||
|
||
# Look for the header file. | ||
execute_process(COMMAND brew --prefix libffi OUTPUT_VARIABLE LIBFFI_BREW_PREFIX) | ||
|
||
find_library(LIBFFI_LIBRARY NAMES ffi libffi | ||
PATHS /usr /usr/local /opt/local | ||
PATH_SUFFIXES lib lib64 x86_64-linux-gnu lib/x86_64-linux-gnu | ||
) | ||
|
||
find_path(LIBFFI_INCLUDE_DIR ffi.h | ||
PATHS /usr /usr/local /opt/local /usr/include/ffi | ||
PATH_SUFFIXES include include/ffi include/x86_64-linux-gnu x86_64-linux-gnu | ||
HINT LIBFFI_BREW_PREFIX | ||
) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(LIBFFI DEFAULT_MSG LIBFFI_LIBRARY LIBFFI_INCLUDE_DIR) | ||
|
||
|
||
# Copy the results to the output variables. | ||
IF(LIBFFI_FOUND) | ||
SET(LIBFFI_LIBRARIES ${LIBFFI_LIBRARY}) | ||
SET(LIBFFI_INCLUDE_DIRS ${LIBFFI_INCLUDE_DIR}) | ||
ELSE(LIBFFI_FOUND) | ||
SET(LIBFFI_LIBRARIES) | ||
SET(LIBFFI_INCLUDE_DIRS) | ||
ENDIF(LIBFFI_FOUND) | ||
|
||
MARK_AS_ADVANCED(LIBFFI_INCLUDE_DIRS LIBFFI_LIBRARIES) | ||
|
||
message(STATUS "Found Libffi (include: ${LIBFFI_INCLUDE_DIRS}, library: ${LIBFFI_LIBRARIES})") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.