Bug 678867: Commit the half of the patch that mysteriously vanished. r=ted
authorKyle Huey <khuey@kylehuey.com>
Wed, 17 Aug 2011 17:39:11 -0400
changeset 75466 e3f681b8147fc042399e654e6b1561801287cb22
parent 75465 c5882ebe849983442f77ea1992a82638307c05fd
child 75467 fb919f4fa210316d936e4cc4677462b0bf4fab68
child 75478 4ab18c9e38b1a8cac77cb5db5fe8687f11094a1a
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersted
bugs678867
milestone9.0a1
Bug 678867: Commit the half of the patch that mysteriously vanished. r=ted
js/src/Makefile.in
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
@@ -180,22 +180,22 @@ CPPSRCS		= \
 		jsutil.cpp \
 		jswatchpoint.cpp \
 		jsweakmap.cpp \
 		jswrapper.cpp \
 		jsxdrapi.cpp \
 		jsxml.cpp \
 		prmjtime.cpp \
 		sharkctl.cpp \
-		Debugger.cpp \
-		GlobalObject.cpp \
-		Stack.cpp \
-		String.cpp \
-		ParseMaps.cpp \
-		Unicode.cpp \
+		vm/Debugger.cpp \
+		vm/GlobalObject.cpp \
+		vm/Stack.cpp \
+		vm/String.cpp \
+		frontend/ParseMaps.cpp \
+		vm/Unicode.cpp \
 		$(NULL)
 
 # Changes to internal header files, used externally, massively slow down
 # browser builds.  Don't add new files here unless you know what you're
 # doing!
 INSTALLED_HEADERS = \
 		js-config.h \
 		jsautocfg.h \
@@ -261,161 +261,151 @@ INSTALLED_HEADERS = \
 		jsval.h \
 		jsvalue.h \
 		prmjtime.h \
 		$(NULL)
 
 ######################################################
 # BEGIN include sources for the engine subdirectories
 #
-VPATH		+= \
-		$(srcdir)/vm \
-		$(srcdir)/frontend \
-		$(NULL)
 
 EXPORTS_NAMESPACES = vm
 
 EXPORTS_vm = \
-		ArgumentsObject.h \
-		GlobalObject.h \
-		Stack.h \
-		String.h \
-		StringObject.h \
-		Unicode.h  \
-		$(NULL)
+  vm/ArgumentsObject.h \
+  vm/GlobalObject.h \
+  vm/Stack.h \
+  vm/String.h \
+  vm/StringObject.h \
+  vm/Unicode.h  \
+  $(NULL)
 
 ###############################################
 # BEGIN include sources for low-level code shared with Gecko
 #
-VPATH		+= \
-		$(srcdir)/../../mfbt \
-		$(NULL)
+MFBT_DIR = $(srcdir)/../../mfbt
 
 EXPORTS_NAMESPACES += mozilla
 
 EXPORTS_mozilla = \
-		RangedPtr.h \
-		RefPtr.h	\
-		Types.h		\
-		Util.h          \
-		$(NULL)
+  $(MFBT_DIR)/RangedPtr.h \
+  $(MFBT_DIR)/RefPtr.h \
+  $(MFBT_DIR)/Types.h \
+  $(MFBT_DIR)/Util.h \
+  $(NULL)
 
 ifdef ENABLE_TRACEJIT
-VPATH		+= \
-		$(srcdir)/tracejit \
-		$(srcdir)/nanojit \
 
 INSTALLED_HEADERS += \
-		jsbuiltins.h    \
-		Assembler.h     \
-		Allocator.h     \
-		CodeAlloc.h     \
-		Containers.h    \
-		LIR.h		\
-		LIRopcode.tbl \
-		avmplus.h	\
-		Fragmento.h	\
-		Native.h	\
-		NativeCommon.h	\
-		Native$(NANOJIT_ARCH).h \
-		njconfig.h      \
-		njcpudetect.h   \
-		RegAlloc.h	\
-		nanojit.h	\
-		VMPI.h		\
-		Writer.h	\
-		$(NULL)
+  jsbuiltins.h \
+  nanojit/Assembler.h \
+  nanojit/Allocator.h \
+  nanojit/CodeAlloc.h \
+  nanojit/Containers.h \
+  nanojit/LIR.h \
+  nanojit/LIRopcode.tbl \
+  nanojit/avmplus.h \
+  nanojit/Fragmento.h \
+  nanojit/Native.h \
+  nanojit/NativeCommon.h \
+  nanojit/Native$(NANOJIT_ARCH).h \
+  nanojit/njconfig.h \
+  nanojit/njcpudetect.h \
+  nanojit/RegAlloc.h \
+  nanojit/nanojit.h \
+  nanojit/VMPI.h \
+  tracejit/Writer.h \
+  $(NULL)
 
 CPPSRCS += \
-		jstracer.cpp \
-		Assembler.cpp  \
-		Allocator.cpp  \
-		CodeAlloc.cpp  \
-		Containers.cpp \
-		Fragmento.cpp  \
-		LIR.cpp        \
-		njconfig.cpp   \
-		RegAlloc.cpp   \
-		avmplus.cpp    \
-		Native$(NANOJIT_ARCH).cpp \
-		jsbuiltins.cpp \
-		VMPI.cpp       \
-		Writer.cpp     \
-		$(NULL)
+  jstracer.cpp \
+  nanojit/Assembler.cpp  \
+  nanojit/Allocator.cpp  \
+  nanojit/CodeAlloc.cpp  \
+  nanojit/Containers.cpp \
+  nanojit/Fragmento.cpp  \
+  nanojit/LIR.cpp        \
+  nanojit/njconfig.cpp   \
+  nanojit/RegAlloc.cpp   \
+  nanojit/avmplus.cpp    \
+  nanojit/Native$(NANOJIT_ARCH).cpp \
+  jsbuiltins.cpp \
+  nanojit/VMPI.cpp \
+  tracejit/Writer.cpp \
+  $(NULL)
 
 endif # ENABLE_TRACEJIT
 ifdef ENABLE_METHODJIT
 
 ###############################################
 # BEGIN include sources for the method JIT
 #
-VPATH += 	$(srcdir)/methodjit
 
-CPPSRCS += 	MethodJIT.cpp \
-		StubCalls.cpp \
-		Compiler.cpp \
-		FrameState.cpp \
-		FastArithmetic.cpp \
-		FastOps.cpp \
-		StubCompiler.cpp \
-		MonoIC.cpp \
-		PolyIC.cpp \
-		ImmutableSync.cpp \
-		InvokeHelpers.cpp \
-		Retcon.cpp \
-		TrampolineCompiler.cpp \
-		$(NULL)
+CPPSRCS += \
+  methodjit/MethodJIT.cpp \
+  methodjit/StubCalls.cpp \
+  methodjit/Compiler.cpp \
+  methodjit/FrameState.cpp \
+  methodjit/FastArithmetic.cpp \
+  methodjit/FastOps.cpp \
+  methodjit/StubCompiler.cpp \
+  methodjit/MonoIC.cpp \
+  methodjit/PolyIC.cpp \
+  methodjit/ImmutableSync.cpp \
+  methodjit/InvokeHelpers.cpp \
+  methodjit/Retcon.cpp \
+  methodjit/TrampolineCompiler.cpp \
+  $(NULL)
 
 ifeq (86, $(findstring 86,$(TARGET_CPU)))
 ifeq (x86_64, $(TARGET_CPU))
 ifdef _MSC_VER
-ASFILES +=	TrampolineMasmX64.asm
+ASFILES +=	methodjit/TrampolineMasmX64.asm
 endif
 ifeq ($(OS_ARCH),WINNT)
 ifdef GNU_CC
-ASFILES +=	TrampolineMingwX64.s
+ASFILES +=	methodjit/TrampolineMingwX64.s
 endif
 endif
 ifdef SOLARIS_SUNPRO_CXX
-ASFILES +=	TrampolineSUNWX64.s
+ASFILES +=	methodjit/TrampolineSUNWX64.s
 endif
 #CPPSRCS		+= only_on_x86_64.cpp
 else
 #CPPSRCS		+= only_on_x86.cpp
 ifdef SOLARIS_SUNPRO_CXX
-ASFILES +=	TrampolineSUNWX86.s
+ASFILES +=	methodjit/TrampolineSUNWX86.s
 endif
 endif
 endif
 ifeq (arm, $(TARGET_CPU))
 #CPPSRCS		+= only_on_arm.cpp
 endif
 ifeq (sparc, $(findstring sparc,$(TARGET_CPU)))
-ASFILES +=	TrampolineSparc.s
+ASFILES +=	methodjit/TrampolineSparc.s
 endif
 #
 # END enclude sources for the method JIT
 #############################################
 
 endif
 
 ###############################################
 # BEGIN include sources for V8 dtoa
 #
-VPATH += 	$(srcdir)/v8-dtoa \
-		$(NONE)
 
-CPPSRCS += 	checks.cc \
-		conversions.cc \
-		diy-fp.cc \
-		v8-dtoa.cc \
-		fast-dtoa.cc \
-		platform.cc \
-		utils.cc \
-		$(NONE)
+CPPSRCS += \
+  v8-dtoa/checks.cc \
+  v8-dtoa/conversions.cc \
+  v8-dtoa/diy-fp.cc \
+  v8-dtoa/v8-dtoa.cc \
+  v8-dtoa/fast-dtoa.cc \
+  v8-dtoa/platform.cc \
+  v8-dtoa/utils.cc \
+  $(NULL)
 
 #
 # END enclude sources for V8 dtoa
 #############################################
 
 ifeq (,$(filter arm% sparc %86 x86_64,$(TARGET_CPU)))
 
 VPATH +=	$(srcdir)/assembler \