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/bytecode/ArrayProfile.cpp | 1 + Source/JavaScriptCore/bytecode/PreciseJumpTargets.cpp | 1 + Source/JavaScriptCore/heap/CopyVisitor.cpp | 1 + Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp | 1 + Source/JavaScriptCore/runtime/JSCellInlines.h | 1 + Source/JavaScriptCore/runtime/StructureInlines.h | 1 + Source/JavaScriptCore/runtime/SymbolTable.cpp | 2 ++ 7 files changed, 8 insertions(+) (limited to 'Source/JavaScriptCore') diff --git a/Source/JavaScriptCore/bytecode/ArrayProfile.cpp b/Source/JavaScriptCore/bytecode/ArrayProfile.cpp index ae3c8f94a..7ea31da10 100644 --- a/Source/JavaScriptCore/bytecode/ArrayProfile.cpp +++ b/Source/JavaScriptCore/bytecode/ArrayProfile.cpp @@ -24,6 +24,7 @@ */ #include "config.h" +#include "JSCellInlines.h" #include "ArrayProfile.h" #include "CodeBlock.h" diff --git a/Source/JavaScriptCore/bytecode/PreciseJumpTargets.cpp b/Source/JavaScriptCore/bytecode/PreciseJumpTargets.cpp index 0cdf51a98..b789da104 100644 --- a/Source/JavaScriptCore/bytecode/PreciseJumpTargets.cpp +++ b/Source/JavaScriptCore/bytecode/PreciseJumpTargets.cpp @@ -24,6 +24,7 @@ */ #include "config.h" +#include "JSCellInlines.h" #include "PreciseJumpTargets.h" namespace JSC { diff --git a/Source/JavaScriptCore/heap/CopyVisitor.cpp b/Source/JavaScriptCore/heap/CopyVisitor.cpp index 281d4bd3b..2e2172f76 100644 --- a/Source/JavaScriptCore/heap/CopyVisitor.cpp +++ b/Source/JavaScriptCore/heap/CopyVisitor.cpp @@ -30,6 +30,7 @@ #include "CopyWorkList.h" #include "GCThreadSharedData.h" #include "JSCell.h" +#include "JSCellInlines.h" #include "JSObject.h" #include 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