Title: [128771] trunk/Source
Revision
128771
Author
[email protected]
Date
2012-09-17 10:02:18 -0700 (Mon, 17 Sep 2012)

Log Message

Added MSVC project changes to enable building the llint.
https://bugs.webkit.org/show_bug.cgi?id=96175.

Reviewed by Geoff Garen.

This only adds the ability to build the llint, but currently, only the
C++ backend is supported. By default, the Windows port will remain
running with the baseline JIT.  The llint will not be enabled.

Source/_javascript_Core: 

* _javascript_Core.vcproj/_javascript_Core.sln:
* _javascript_Core.vcproj/_javascript_Core/_javascript_Core.vcproj:
* _javascript_Core.vcproj/LLIntAssembly: Added.
* _javascript_Core.vcproj/LLIntAssembly/LLIntAssembly.make: Added.
* _javascript_Core.vcproj/LLIntAssembly/LLIntAssembly.vcproj: Added.
* _javascript_Core.vcproj/LLIntAssembly/build-LLIntAssembly.sh: Added.
* _javascript_Core.vcproj/LLIntDesiredOffsets: Added.
* _javascript_Core.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.make: Added.
* _javascript_Core.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.vcproj: Added.
* _javascript_Core.vcproj/LLIntDesiredOffsets/build-LLIntDesiredOffsets.sh: Added.
* _javascript_Core.vcproj/LLIntOffsetsExtractor: Added.
* _javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractor.vcproj: Added.
* _javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorCommon.vsprops: Added.
* _javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorDebug.vsprops: Added.
* _javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorRelease.vsprops: Added.

Source/WebKit/win: 

* WebKit.vcproj/WebKit.sln:

Modified Paths

Added Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (128770 => 128771)


--- trunk/Source/_javascript_Core/ChangeLog	2012-09-17 16:35:48 UTC (rev 128770)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-09-17 17:02:18 UTC (rev 128771)
@@ -1,3 +1,30 @@
+2012-09-16  Mark Lam  <[email protected]>
+
+        Added MSVC project changes to enable building the llint.
+        https://bugs.webkit.org/show_bug.cgi?id=96175.
+
+        Reviewed by Geoff Garen.
+
+        This only adds the ability to build the llint, but currently, only the
+        C++ backend is supported. By default, the Windows port will remain
+        running with the baseline JIT.  The llint will not be enabled.
+
+        * _javascript_Core.vcproj/_javascript_Core.sln:
+        * _javascript_Core.vcproj/_javascript_Core/_javascript_Core.vcproj:
+        * _javascript_Core.vcproj/LLIntAssembly: Added.
+        * _javascript_Core.vcproj/LLIntAssembly/LLIntAssembly.make: Added.
+        * _javascript_Core.vcproj/LLIntAssembly/LLIntAssembly.vcproj: Added.
+        * _javascript_Core.vcproj/LLIntAssembly/build-LLIntAssembly.sh: Added.
+        * _javascript_Core.vcproj/LLIntDesiredOffsets: Added.
+        * _javascript_Core.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.make: Added.
+        * _javascript_Core.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.vcproj: Added.
+        * _javascript_Core.vcproj/LLIntDesiredOffsets/build-LLIntDesiredOffsets.sh: Added.
+        * _javascript_Core.vcproj/LLIntOffsetsExtractor: Added.
+        * _javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractor.vcproj: Added.
+        * _javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorCommon.vsprops: Added.
+        * _javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorDebug.vsprops: Added.
+        * _javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorRelease.vsprops: Added.
+
 2012-09-16  Filip Pizlo  <[email protected]>
 
         JSObject.cpp and JSArray.cpp have inconsistent tests for the invalid array index case

Modified: trunk/Source/_javascript_Core/_javascript_Core.vcproj/_javascript_Core/_javascript_Core.vcproj (128770 => 128771)


--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/_javascript_Core/_javascript_Core.vcproj	2012-09-17 16:35:48 UTC (rev 128770)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/_javascript_Core/_javascript_Core.vcproj	2012-09-17 17:02:18 UTC (rev 128771)
@@ -961,15 +961,15 @@
 				RelativePath="..\..\runtime\JSString.h"
 				>
 			</File>
-                        <File
-                                RelativePath="..\..\runtime\JSStringJoiner.cpp"
-                                >
-                        </File>
-                        <File
-                                RelativePath="..\..\runtime\JSStringJoiner.h"
-                                >
-                        </File>
 			<File
+				RelativePath="..\..\runtime\JSStringJoiner.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\runtime\JSStringJoiner.h"
+				>
+			</File>
+			<File
 				RelativePath="..\..\runtime\JSSymbolTableObject.cpp"
 				>
 			</File>
@@ -2018,9 +2018,73 @@
 			Name="llint"
 			>
 			<File
+				RelativePath="..\..\llint\LLIntCLoop.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LLIntCLoop.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LLIntCommon.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LLIntData.cpp"
+				>
+			</File>
+			<File
 				RelativePath="..\..\llint\LLIntData.h"
 				>
 			</File>
+			<File
+				RelativePath="..\..\llint\LLIntEntrypoints.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LLIntEntrypoints.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LLIntExceptions.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LLIntExceptions.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LLIntOfflineAsmConfig.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LLIntOpcode.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LLIntSlowPaths.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LLIntSlowPaths.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LLIntThunks.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LLIntThunks.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LowLevelInterpreter.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\llint\LowLevelInterpreter.h"
+				>
+			</File>
 		</Filter>
 		<Filter
 			Name="disassembler"

Modified: trunk/Source/_javascript_Core/_javascript_Core.vcproj/_javascript_Core.sln (128770 => 128771)


--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/_javascript_Core.sln	2012-09-17 16:35:48 UTC (rev 128770)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/_javascript_Core.sln	2012-09-17 17:02:18 UTC (rev 128771)
@@ -4,6 +4,9 @@
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_javascript_Core", "_javascript_Core\_javascript_Core.vcproj", "{011D10F1-B656-4A1B-A0C3-3842F02122C5}"
 	ProjectSection(ProjectDependencies) = postProject
 		{4FF5BA11-59EC-4C24-8F52-F235C2E7D43A} = {4FF5BA11-59EC-4C24-8F52-F235C2E7D43A}
+		{9221744B-5715-4F56-9590-42F7AB23DD8B} = {9221744B-5715-4F56-9590-42F7AB23DD8B}
+		{D595E3F6-24F2-4C60-935C-95D50C6B3E96} = {D595E3F6-24F2-4C60-935C-95D50C6B3E96}
+		{877150A0-41B3-4730-9D98-1B8298098B14} = {877150A0-41B3-4730-9D98-1B8298098B14}
 	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "jsc", "jsc\jsc.vcproj", "{C59E5129-B453-49B7-A52B-1E104715F76E}"
@@ -28,6 +31,30 @@
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WTFGenerated", "..\..\WTF\WTF.vcproj\WTFGenerated.vcproj", "{5AE5F5E4-782D-4F63-B4D7-3977B52B9950}"
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LLIntDesiredOffsets", "LLIntDesiredOffsets\LLIntDesiredOffsets.vcproj", "{877150A0-41B3-4730-9D98-1B8298098B14}"
+	ProjectSection(ProjectDependencies) = postProject
+		{5AE5F5E4-782D-4F63-B4D7-3977B52B9950} = {5AE5F5E4-782D-4F63-B4D7-3977B52B9950}
+		{AA8A5A85-592B-4357-BC60-E0E91E026AF6} = {AA8A5A85-592B-4357-BC60-E0E91E026AF6}
+		{4FF5BA11-59EC-4C24-8F52-F235C2E7D43A} = {4FF5BA11-59EC-4C24-8F52-F235C2E7D43A}
+	EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LLIntOffsetsExtractor", "LLIntOffsetsExtractor\LLIntOffsetsExtractor.vcproj", "{D595E3F6-24F2-4C60-935C-95D50C6B3E96}"
+	ProjectSection(ProjectDependencies) = postProject
+		{4FF5BA11-59EC-4C24-8F52-F235C2E7D43A} = {4FF5BA11-59EC-4C24-8F52-F235C2E7D43A}
+		{AA8A5A85-592B-4357-BC60-E0E91E026AF6} = {AA8A5A85-592B-4357-BC60-E0E91E026AF6}
+		{877150A0-41B3-4730-9D98-1B8298098B14} = {877150A0-41B3-4730-9D98-1B8298098B14}
+		{5AE5F5E4-782D-4F63-B4D7-3977B52B9950} = {5AE5F5E4-782D-4F63-B4D7-3977B52B9950}
+	EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LLIntAssembly", "LLIntAssembly\LLIntAssembly.vcproj", "{9221744B-5715-4F56-9590-42F7AB23DD8B}"
+	ProjectSection(ProjectDependencies) = postProject
+		{D595E3F6-24F2-4C60-935C-95D50C6B3E96} = {D595E3F6-24F2-4C60-935C-95D50C6B3E96}
+		{5AE5F5E4-782D-4F63-B4D7-3977B52B9950} = {5AE5F5E4-782D-4F63-B4D7-3977B52B9950}
+		{877150A0-41B3-4730-9D98-1B8298098B14} = {877150A0-41B3-4730-9D98-1B8298098B14}
+		{AA8A5A85-592B-4357-BC60-E0E91E026AF6} = {AA8A5A85-592B-4357-BC60-E0E91E026AF6}
+		{4FF5BA11-59EC-4C24-8F52-F235C2E7D43A} = {4FF5BA11-59EC-4C24-8F52-F235C2E7D43A}
+	EndProjectSection
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug_All|Win32 = Debug_All|Win32

Added: trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntAssembly/LLIntAssembly.make (0 => 128771)


--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntAssembly/LLIntAssembly.make	                        (rev 0)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntAssembly/LLIntAssembly.make	2012-09-17 17:02:18 UTC (rev 128771)
@@ -0,0 +1,9 @@
+all:
+    touch "%ConfigurationBuildDir%\buildfailed"
+    bash build-LLIntAssembly.sh "%ConfigurationBuildDir%" "$(WEBKITLIBRARIESDIR)"
+    -del "%ConfigurationBuildDir%\buildfailed"
+
+clean:
+    -del "%ConfigurationBuildDir%\buildfailed"
+    -del /s /q "%ConfigurationBuildDir%\obj\LLIntOffsetsExtractor\LLIntOffsetsExtractor.exe"
+    -del /s /q "%ConfigurationBuildDir%\obj\_javascript_Core\DerivedSources\LLIntAssembly.h"

Added: trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntAssembly/LLIntAssembly.vcproj (0 => 128771)


--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntAssembly/LLIntAssembly.vcproj	                        (rev 0)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntAssembly/LLIntAssembly.vcproj	2012-09-17 17:02:18 UTC (rev 128771)
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="8.00"
+	Name="LLIntAssembly"
+	ProjectGUID="{9221744B-5715-4F56-9590-42F7AB23DD8B}"
+	RootNamespace="LLIntAssembly"
+	Keyword="MakeFileProj"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationBuildDir)\obj\$(ProjectName)"
+			ConfigurationType="0"
+			>
+			<Tool
+				Name="VCNMakeTool"
+				BuildCommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;&#x0D;&#x0A;set CONFIGURATIONBUILDDIR=$(WebKitOutputDir)\$(ConfigurationName)&#x0D;&#x0A;set PRODUCTION=$(PRODUCTION)&#x0D;&#x0A;nmake /nologo -f LLIntAssembly.make"
+				ReBuildCommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;&#x0D;&#x0A;set CONFIGURATIONBUILDDIR=$(WebKitOutputDir)\$(ConfigurationName)&#x0D;&#x0A;set PRODUCTION=$(PRODUCTION)&#x0D;&#x0A;nmake /nologo -f LLIntAssembly.make clean&#x0D;&#x0A;nmake -f LLIntAssembly.make"
+				CleanCommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;&#x0D;&#x0A;set CONFIGURATIONBUILDDIR=$(WebKitOutputDir)\$(ConfigurationName)&#x0D;&#x0A;set PRODUCTION=$(PRODUCTION)&#x0D;&#x0A;nmake /nologo -f LLIntAssembly.make clean"
+				Output="LLIntAssembly.h"
+				PreprocessorDefinitions=""
+				IncludeSearchPath=""
+				ForcedIncludes=""
+				AssemblySearchPath=""
+				ForcedUsingAssemblies=""
+				CompileAsManaged=""
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationBuildDir)\obj\$(ProjectName)"
+			ConfigurationType="0"
+			>
+			<Tool
+				Name="VCNMakeTool"
+				BuildCommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;&#x0D;&#x0A;set CONFIGURATIONBUILDDIR=$(WebKitOutputDir)\$(ConfigurationName)&#x0D;&#x0A;set PRODUCTION=$(PRODUCTION)&#x0D;&#x0A;nmake /nologo -f LLIntAssembly.make"
+				ReBuildCommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;&#x0D;&#x0A;set CONFIGURATIONBUILDDIR=$(WebKitOutputDir)\$(ConfigurationName)&#x0D;&#x0A;set PRODUCTION=$(PRODUCTION)&#x0D;&#x0A;nmake /nologo -f LLIntAssembly.make clean&#x0D;&#x0A;nmake -f LLIntAssembly.make"
+				CleanCommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;&#x0D;&#x0A;set CONFIGURATIONBUILDDIR=$(WebKitOutputDir)\$(ConfigurationName)&#x0D;&#x0A;set PRODUCTION=$(PRODUCTION)&#x0D;&#x0A;nmake /nologo -f LLIntAssembly.make clean"
+				Output="LLIntAssembly.h"
+				PreprocessorDefinitions=""
+				IncludeSearchPath=""
+				ForcedIncludes=""
+				AssemblySearchPath=""
+				ForcedUsingAssemblies=""
+				CompileAsManaged=""
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<File
+			RelativePath=".\build-LLIntAssembly.sh"
+			>
+		</File>
+		<File
+			RelativePath=".\LLIntAssembly.make"
+			>
+		</File>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>

Added: trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntAssembly/build-LLIntAssembly.sh (0 => 128771)


--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntAssembly/build-LLIntAssembly.sh	                        (rev 0)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntAssembly/build-LLIntAssembly.sh	2012-09-17 17:02:18 UTC (rev 128771)
@@ -0,0 +1,26 @@
+#!/usr/bin/bash
+
+SRCROOT="`pwd`/../.."
+SRCROOT=`realpath "$SRCROOT"`
+# Do a little dance to get the path into 8.3 form to make it safe for gnu make
+# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
+SRCROOT=`cygpath -m -s "$SRCROOT"`
+SRCROOT=`cygpath -u "$SRCROOT"`
+export SRCROOT
+
+XDSTROOT="$1"
+export XDSTROOT
+# Do a little dance to get the path into 8.3 form to make it safe for gnu make
+# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
+XDSTROOT=`cygpath -m -s "$XDSTROOT"`
+XDSTROOT=`cygpath -u "$XDSTROOT"`
+export XDSTROOT
+
+export BUILT_PRODUCTS_DIR="$XDSTROOT/obj"
+
+cd "${BUILT_PRODUCTS_DIR}/_javascript_Core/DerivedSources"
+
+##############################################################################
+# Step 3: Build LLIntOffsetsExtractor
+
+/usr/bin/env ruby "${SRCROOT}/offlineasm/asm.rb" "${SRCROOT}/llint/LowLevelInterpreter.asm" "${BUILT_PRODUCTS_DIR}/LLIntOffsetsExtractor/LLIntOffsetsExtractor.exe" "LLIntAssembly.h" || exit 1
Property changes on: trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntAssembly/build-LLIntAssembly.sh
___________________________________________________________________

Added: svn:executable

Added: trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.make (0 => 128771)


--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.make	                        (rev 0)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.make	2012-09-17 17:02:18 UTC (rev 128771)
@@ -0,0 +1,9 @@
+all:
+    touch "%ConfigurationBuildDir%\buildfailed"
+    bash build-LLIntDesiredOffsets.sh "%ConfigurationBuildDir%" "$(WEBKITLIBRARIESDIR)"
+
+    -del "%ConfigurationBuildDir%\buildfailed"
+
+clean:
+    -del "%ConfigurationBuildDir%\buildfailed"
+    -del /s /q "%ConfigurationBuildDir%\obj\_javascript_Core\DerivedSources\LLIntDesiredOffsets.h"

Added: trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.vcproj (0 => 128771)


--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.vcproj	                        (rev 0)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.vcproj	2012-09-17 17:02:18 UTC (rev 128771)
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="8.00"
+	Name="LLIntDesiredOffsets"
+	ProjectGUID="{877150A0-41B3-4730-9D98-1B8298098B14}"
+	RootNamespace="LLIntDesiredOffsets"
+	Keyword="MakeFileProj"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(ConfigurationBuildDir)\obj\$(ProjectName)"
+			IntermediateDirectory="$(ConfigurationBuildDir)\obj\$(ProjectName)"
+			ConfigurationType="0"
+			>
+			<Tool
+				Name="VCNMakeTool"
+				BuildCommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;&#x0D;&#x0A;set CONFIGURATIONBUILDDIR=$(WebKitOutputDir)\$(ConfigurationName)&#x0D;&#x0A;set PRODUCTION=$(PRODUCTION)&#x0D;&#x0A;nmake /nologo -f LLIntDesiredOffsets.make"
+				ReBuildCommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;&#x0D;&#x0A;set CONFIGURATIONBUILDDIR=$(WebKitOutputDir)\$(ConfigurationName)&#x0D;&#x0A;set PRODUCTION=$(PRODUCTION)&#x0D;&#x0A;nmake /nologo -f LLIntDesiredOffsets.make clean&#x0D;&#x0A;nmake -f LLIntDesiredOffsets.make"
+				CleanCommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;&#x0D;&#x0A;set CONFIGURATIONBUILDDIR=$(WebKitOutputDir)\$(ConfigurationName)&#x0D;&#x0A;set PRODUCTION=$(PRODUCTION)&#x0D;&#x0A;nmake /nologo -f LLIntDesiredOffsets.make clean"
+				Output="LLIntDesiredOffsets.h"
+				PreprocessorDefinitions=""
+				IncludeSearchPath=""
+				ForcedIncludes=""
+				AssemblySearchPath=""
+				ForcedUsingAssemblies=""
+				CompileAsManaged=""
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(ConfigurationBuildDir)\obj\$(ProjectName)"
+			IntermediateDirectory="$(ConfigurationBuildDir)\obj\$(ProjectName)"
+			ConfigurationType="0"
+			>
+			<Tool
+				Name="VCNMakeTool"
+				BuildCommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;&#x0D;&#x0A;set CONFIGURATIONBUILDDIR=$(WebKitOutputDir)\$(ConfigurationName)&#x0D;&#x0A;set PRODUCTION=$(PRODUCTION)&#x0D;&#x0A;nmake /nologo -f LLIntDesiredOffsets.make"
+				ReBuildCommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;&#x0D;&#x0A;set CONFIGURATIONBUILDDIR=$(WebKitOutputDir)\$(ConfigurationName)&#x0D;&#x0A;set PRODUCTION=$(PRODUCTION)&#x0D;&#x0A;nmake /nologo -f LLIntDesiredOffsets.make clean&#x0D;&#x0A;nmake -f LLIntDesiredOffsets.make"
+				CleanCommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;&#x0D;&#x0A;set CONFIGURATIONBUILDDIR=$(WebKitOutputDir)\$(ConfigurationName)&#x0D;&#x0A;set PRODUCTION=$(PRODUCTION)&#x0D;&#x0A;nmake /nologo -f LLIntDesiredOffsets.make clean"
+				Output="LLIntDesiredOffsets.h"
+				PreprocessorDefinitions=""
+				IncludeSearchPath=""
+				ForcedIncludes=""
+				AssemblySearchPath=""
+				ForcedUsingAssemblies=""
+				CompileAsManaged=""
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<File
+			RelativePath=".\build-LLIntDesiredOffsets.sh"
+			>
+		</File>
+		<File
+			RelativePath=".\LLIntDesiredOffsets.make"
+			>
+		</File>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>

Added: trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntDesiredOffsets/build-LLIntDesiredOffsets.sh (0 => 128771)


--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntDesiredOffsets/build-LLIntDesiredOffsets.sh	                        (rev 0)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntDesiredOffsets/build-LLIntDesiredOffsets.sh	2012-09-17 17:02:18 UTC (rev 128771)
@@ -0,0 +1,25 @@
+#!/usr/bin/bash
+
+SRCROOT="`pwd`/../.."
+SRCROOT=`realpath "$SRCROOT"`
+# Do a little dance to get the path into 8.3 form to make it safe for gnu make
+# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
+SRCROOT=`cygpath -m -s "$SRCROOT"`
+SRCROOT=`cygpath -u "$SRCROOT"`
+export SRCROOT
+
+XDSTROOT="$1"
+export XDSTROOT
+# Do a little dance to get the path into 8.3 form to make it safe for gnu make
+# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
+XDSTROOT=`cygpath -m -s "$XDSTROOT"`
+XDSTROOT=`cygpath -u "$XDSTROOT"`
+export XDSTROOT
+
+export BUILT_PRODUCTS_DIR="$XDSTROOT/obj/_javascript_Core/DerivedSources"
+
+##############################################################################
+# Step 1: Generate LLIntDesiredOffsets.h
+mkdir -p "${BUILT_PRODUCTS_DIR}"
+
+/usr/bin/env ruby "${SRCROOT}/offlineasm/generate_offset_extractor.rb" "${SRCROOT}/llint/LowLevelInterpreter.asm" "${BUILT_PRODUCTS_DIR}/LLIntDesiredOffsets.h"
Property changes on: trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntDesiredOffsets/build-LLIntDesiredOffsets.sh
___________________________________________________________________

Added: svn:executable

Added: trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractor.vcproj (0 => 128771)


--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractor.vcproj	                        (rev 0)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractor.vcproj	2012-09-17 17:02:18 UTC (rev 128771)
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="8.00"
+	Name="LLIntOffsetsExtractor"
+	ProjectGUID="{D595E3F6-24F2-4C60-935C-95D50C6B3E96}"
+	RootNamespace="LLIntOffsetsExtractor"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(ConfigurationBuildDir)\obj\LLIntOffsetsExtractor"
+			IntermediateDirectory="$(ConfigurationBuildDir)\obj\$(ProjectName)"
+			ConfigurationType="1"
+			InheritedPropertySheets=".\LLIntOffsetsExtractorDebug.vsprops"
+			CharacterSet="1"
+			WholeProgramOptimization="0"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCWebDeploymentTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(ConfigurationBuildDir)\obj\LLIntOffsetsExtractor"
+			IntermediateDirectory="$(ConfigurationBuildDir)\obj\$(ProjectName)"
+			ConfigurationType="1"
+			InheritedPropertySheets=".\LLIntOffsetsExtractorRelease.vsprops"
+			CharacterSet="1"
+			WholeProgramOptimization="0"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCWebDeploymentTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<File
+			RelativePath="..\..\llint\LLIntOffsetsExtractor.cpp"
+			>
+		</File>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>

Added: trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorCommon.vsprops (0 => 128771)


--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorCommon.vsprops	                        (rev 0)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorCommon.vsprops	2012-09-17 17:02:18 UTC (rev 128771)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+	ProjectType="Visual C++"
+	Version="8.00"
+	Name="LLIntOffsetsExtractorCommon"
+	>
+	<Tool
+		Name="VCCLCompilerTool"
+		AdditionalIncludeDirectories="&quot;$(ConfigurationBuildDir)\include&quot;;&quot;$(ConfigurationBuildDir)\include\private&quot;;&quot;$(ConfigurationBuildDir)\include\private\_javascript_Core&quot;;&quot;$(ConfigurationBuildDir)\obj\_javascript_Core\DerivedSources\&quot;;../../;&quot;../../os-win32/&quot;;../../assembler/;../../API/;../../parser/;../../heap/;../../runtime/;../../VM/;../../bytecode/;../../interpreter/;../../wtf/;../../debugger/;../../bytecompiler/;../../profiler;../../jit/;&quot;$(WebKitLibrariesDir)\include\pthreads&quot;;&quot;$(WebKitLibrariesDir)\include&quot;"
+		PreprocessorDefinitions="__STD_C"
+		ForcedIncludeFiles="ICUVersion.h"
+		ForcedUsingFiles=""
+	/>
+	<Tool
+		Name="VCLinkerTool"
+		AdditionalDependencies="libicuin$(LibraryConfigSuffix).lib libicuuc$(LibraryConfigSuffix).lib pthreadVC2$(LibraryConfigSuffix).lib winmm.lib pthreadVC2$(LibraryConfigSuffix).lib user32.lib WTF$(WebKitConfigSuffix).lib"
+		AdditionalLibraryDirectories="&quot;$(IntDir)\lib&quot;"
+		SubSystem="1"
+	/>
+</VisualStudioPropertySheet>

Added: trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorDebug.vsprops (0 => 128771)


--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorDebug.vsprops	                        (rev 0)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorDebug.vsprops	2012-09-17 17:02:18 UTC (rev 128771)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+	ProjectType="Visual C++"
+	Version="8.00"
+	Name="LLIntOffsetsExtractorDebug"
+	InheritedPropertySheets="$(WebKitVSPropsRedirectionDir)..\..\..\..\WebKitLibraries\win\tools\vsprops\common.vsprops;$(WebKitVSPropsRedirectionDir)..\..\..\..\WebKitLibraries\win\tools\vsprops\debug.vsprops;.\LLIntOffsetsExtractorCommon.vsprops"
+	>
+</VisualStudioPropertySheet>

Added: trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorRelease.vsprops (0 => 128771)


--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorRelease.vsprops	                        (rev 0)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorRelease.vsprops	2012-09-17 17:02:18 UTC (rev 128771)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioPropertySheet
+	ProjectType="Visual C++"
+	Version="8.00"
+	Name="LLIntOffsetsExtractorRelease"
+	InheritedPropertySheets="$(WebKitVSPropsRedirectionDir)..\..\..\..\WebKitLibraries\win\tools\vsprops\common.vsprops;$(WebKitVSPropsRedirectionDir)..\..\..\..\WebKitLibraries\win\tools\vsprops\releaseproduction.vsprops;$(WebKitVSPropsRedirectionDir)..\..\..\..\WebKitLibraries\win\tools\vsprops\release.vsprops;.\LLIntOffsetsExtractorCommon.vsprops"
+	>
+</VisualStudioPropertySheet>

Modified: trunk/Source/WebKit/win/ChangeLog (128770 => 128771)


--- trunk/Source/WebKit/win/ChangeLog	2012-09-17 16:35:48 UTC (rev 128770)
+++ trunk/Source/WebKit/win/ChangeLog	2012-09-17 17:02:18 UTC (rev 128771)
@@ -1,3 +1,16 @@
+2012-09-16  Mark Lam  <[email protected]>
+
+        Added MSVC project changes to enable building the llint.
+        https://bugs.webkit.org/show_bug.cgi?id=96175.
+
+        Reviewed by Geoff Garen.
+
+        This only adds the ability to build the llint, but currently, only the
+        C++ backend is supported. By default, the Windows port will remain
+        running with the baseline JIT.  The llint will not be enabled.
+
+        * WebKit.vcproj/WebKit.sln:
+
 2012-09-13  Brent Fulgham  <[email protected]>
 
         [WinCairo] Unreviewed build fix.

Modified: trunk/Source/WebKit/win/WebKit.vcproj/WebKit.sln (128770 => 128771)


--- trunk/Source/WebKit/win/WebKit.vcproj/WebKit.sln	2012-09-17 16:35:48 UTC (rev 128770)
+++ trunk/Source/WebKit/win/WebKit.vcproj/WebKit.sln	2012-09-17 17:02:18 UTC (rev 128771)
@@ -3,6 +3,7 @@
 # Visual Studio 2005
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_javascript_Core", "..\..\..\_javascript_Core\_javascript_Core.vcproj\_javascript_Core\_javascript_Core.vcproj", "{011D10F1-B656-4A1B-A0C3-3842F02122C5}"
 	ProjectSection(ProjectDependencies) = postProject
+		{9221744B-5715-4F56-9590-42F7AB23DD8B} = {9221744B-5715-4F56-9590-42F7AB23DD8B}
 		{4FF5BA11-59EC-4C24-8F52-F235C2E7D43A} = {4FF5BA11-59EC-4C24-8F52-F235C2E7D43A}
 	EndProjectSection
 EndProject
@@ -190,6 +191,23 @@
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WTFGenerated", "..\..\..\WTF\WTF.vcproj\WTFGenerated.vcproj", "{5AE5F5E4-782D-4F63-B4D7-3977B52B9950}"
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LLIntDesiredOffsets", "..\..\..\_javascript_Core\_javascript_Core.vcproj\LLIntDesiredOffsets\LLIntDesiredOffsets.vcproj", "{877150A0-41B3-4730-9D98-1B8298098B14}"
+	ProjectSection(ProjectDependencies) = postProject
+		{4FF5BA11-59EC-4C24-8F52-F235C2E7D43A} = {4FF5BA11-59EC-4C24-8F52-F235C2E7D43A}
+		{AA8A5A85-592B-4357-BC60-E0E91E026AF6} = {AA8A5A85-592B-4357-BC60-E0E91E026AF6}
+		{5AE5F5E4-782D-4F63-B4D7-3977B52B9950} = {5AE5F5E4-782D-4F63-B4D7-3977B52B9950}
+	EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LLIntOffsetsExtractor", "..\..\..\_javascript_Core\_javascript_Core.vcproj\LLIntOffsetsExtractor\LLIntOffsetsExtractor.vcproj", "{D595E3F6-24F2-4C60-935C-95D50C6B3E96}"
+	ProjectSection(ProjectDependencies) = postProject
+		{877150A0-41B3-4730-9D98-1B8298098B14} = {877150A0-41B3-4730-9D98-1B8298098B14}
+	EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LLIntAssembly", "..\..\..\_javascript_Core\_javascript_Core.vcproj\LLIntAssembly\LLIntAssembly.vcproj", "{9221744B-5715-4F56-9590-42F7AB23DD8B}"
+	ProjectSection(ProjectDependencies) = postProject
+		{D595E3F6-24F2-4C60-935C-95D50C6B3E96} = {D595E3F6-24F2-4C60-935C-95D50C6B3E96}
+	EndProjectSection
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug_All|Win32 = Debug_All|Win32
@@ -640,6 +658,9 @@
 		{4FF5BA11-59EC-4C24-8F52-F235C2E7D43A} = {557FA164-0E39-4DEC-B66C-8795C8E52399}
 		{1AFD081F-1AC7-4A97-8EFA-6DF97761A3A2} = {557FA164-0E39-4DEC-B66C-8795C8E52399}
 		{14C94979-1ED3-4E1D-9B55-A80FCF4677D0} = {557FA164-0E39-4DEC-B66C-8795C8E52399}
+		{877150A0-41B3-4730-9D98-1B8298098B14} = {557FA164-0E39-4DEC-B66C-8795C8E52399}
+		{D595E3F6-24F2-4C60-935C-95D50C6B3E96} = {557FA164-0E39-4DEC-B66C-8795C8E52399}
+		{9221744B-5715-4F56-9590-42F7AB23DD8B} = {557FA164-0E39-4DEC-B66C-8795C8E52399}
 		{1C16337B-ACF3-4D03-AA90-851C5B5EADA6} = {63FB6F8A-C601-43E3-BD16-A00A465C2CB6}
 		{0A324352-B3B6-496C-9E5B-4C7E923E628B} = {63FB6F8A-C601-43E3-BD16-A00A465C2CB6}
 		{E498CA9D-3BD2-4D52-8E37-C8DC76526325} = {63FB6F8A-C601-43E3-BD16-A00A465C2CB6}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to