From 332de746f32edbb3dfc1cd4b39d8c815fd47b28e Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Tue, 15 Oct 2013 16:48:14 +0200 Subject: Fix undefined reference linker errors with MinGW Make sure the inline methods are defined whereever referenced. This fixes 'undefined reference' errors when linking with MinGW-builds 4.8.2 32 bit posix dwarf rev2. Task-number: QTBUG-34083 Change-Id: Iadc7300634780741be9d97bc889290cd113181e1 Reviewed-by: Allan Sandfeld Jensen --- Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp | 1 + Source/JavaScriptCore/runtime/JSCellInlines.h | 1 + Source/JavaScriptCore/runtime/StructureInlines.h | 1 + Source/JavaScriptCore/runtime/SymbolTable.cpp | 2 ++ 4 files changed, 5 insertions(+) (limited to 'Source/JavaScriptCore/runtime') diff --git a/Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp b/Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp index 1577ed57a..f4ba3e98c 100644 --- a/Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp +++ b/Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp @@ -24,6 +24,7 @@ */ #include "config.h" +#include "JSCellInlines.h" #include "FunctionExecutableDump.h" namespace JSC { diff --git a/Source/JavaScriptCore/runtime/JSCellInlines.h b/Source/JavaScriptCore/runtime/JSCellInlines.h index 5312cae35..1b2d13ada 100644 --- a/Source/JavaScriptCore/runtime/JSCellInlines.h +++ b/Source/JavaScriptCore/runtime/JSCellInlines.h @@ -32,6 +32,7 @@ #include "JSObject.h" #include "JSString.h" #include "Structure.h" +#include "StructureInlines.h" namespace JSC { diff --git a/Source/JavaScriptCore/runtime/StructureInlines.h b/Source/JavaScriptCore/runtime/StructureInlines.h index 75ca40dd7..8407ca791 100644 --- a/Source/JavaScriptCore/runtime/StructureInlines.h +++ b/Source/JavaScriptCore/runtime/StructureInlines.h @@ -26,6 +26,7 @@ #ifndef StructureInlines_h #define StructureInlines_h +#include "JSGlobalObject.h" #include "PropertyMapHashTable.h" #include "Structure.h" diff --git a/Source/JavaScriptCore/runtime/SymbolTable.cpp b/Source/JavaScriptCore/runtime/SymbolTable.cpp index 8c5a00b03..f70fb4e5b 100644 --- a/Source/JavaScriptCore/runtime/SymbolTable.cpp +++ b/Source/JavaScriptCore/runtime/SymbolTable.cpp @@ -27,6 +27,8 @@ */ #include "config.h" +#include "JSDestructibleObject.h" +#include "JSCellInlines.h" #include "SymbolTable.h" namespace JSC { -- cgit v1.2.1