Differential D9843 Diff 25838 head/lang/beignet/files/patch-backend_src_backend_gen__insn__selection.cpp
Changeset View
Changeset View
Standalone View
Standalone View
head/lang/beignet/files/patch-backend_src_backend_gen__insn__selection.cpp
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | 1 \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
Error: No word lists can be found for the language "en_US". | |||||
--- backend/src/backend/gen_insn_selection.cpp.orig 2017-01-20 10:40:51 UTC | |||||
+++ backend/src/backend/gen_insn_selection.cpp | |||||
@@ -2456,11 +2456,11 @@ namespace gbe | |||||
// Boiler plate to initialize the selection library at c++ pre-main | |||||
static SelectionLibrary *selLib = NULL; | |||||
+ __attribute__((destructor)) | |||||
static void destroySelectionLibrary(void) { GBE_DELETE(selLib); } | |||||
static struct SelectionLibraryInitializer { | |||||
SelectionLibraryInitializer(void) { | |||||
selLib = GBE_NEW_NO_ARG(SelectionLibrary); | |||||
- atexit(destroySelectionLibrary); | |||||
} | |||||
} selectionLibraryInitializer; | |||||