Permalink
Browse files

Spidermonkey -> 1.8.2 -> 1.8.5 (include jaegermonkey)

  • Loading branch information...
1 parent 9e85a69 commit 5f7a83753ae66dcfadc13f9d94132765005f9062 @paraboul paraboul committed Jun 25, 2011
Showing 5,281 changed files with 73,691 additions and 195,271 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
View
340 deps/js/src/Makefile.in 100755 → 100644

Large diffs are not rendered by default.

Oops, something went wrong.
View
4 deps/js/src/Makefile.ref 100755 → 100644
@@ -74,10 +74,6 @@ endif
#DEFINES += -Ivprof
#endif
-ifdef NARCISSUS
-DEFINES += -DNARCISSUS
-endif
-
# Look in OBJDIR to find jsautocfg.h, jsautokw.h, and js-config.h
INCLUDES += -I. -I$(OBJDIR)
View
0 deps/js/src/README.html 100755 → 100644
No changes.
View
0 deps/js/src/SpiderMonkey.rsp 100755 → 100644
No changes.
View
0 deps/js/src/Y.js 100755 → 100644
No changes.
View
0 deps/js/src/aclocal.m4 100755 → 100644
No changes.
View
@@ -46,7 +46,7 @@ NEED_MDDEPDIR = 1
include $(DEPTH)/config/autoconf.mk
-REDGREEN_FAILURE_TESTCASES = \
+REDGREEN_WARNING_TESTCASES = \
green-callred.cpp \
green-accessred.cpp \
green-tored-badpath.cpp \
@@ -72,8 +72,8 @@ REDGREEN_SUCCESS_TESTCASES = \
green-toredptr.cpp \
$(NULL)
-STATIC_FAILURE_TESTCASES = \
- $(REDGREEN_FAILURE_TESTCASES) \
+STATIC_WARNING_TESTCASES = \
+ $(REDGREEN_WARNING_TESTCASES) \
$(NULL)
STATIC_PASS_TESTCASES = \
@@ -85,19 +85,23 @@ include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES += -I$(srcdir)/.. -I..
check:: \
- $(STATIC_FAILURE_TESTCASES:.cpp=.s-fail) \
+ $(STATIC_WARNING_TESTCASES:.cpp=.s-warn) \
$(STATIC_PASS_TESTCASES:.cpp=.s-pass) \
$(NULL)
# We want to compile each file and invert the result to ensure that
# compilation failed.
-%.s-fail: %.cpp $(GLOBAL_DEPS) $(DEHYDRA_SCRIPTS)
+%.s-warn: %.cpp $(GLOBAL_DEPS) $(DEHYDRA_SCRIPTS)
@printf "Compiling $(<F) to check that the static-analysis script is checking properly..."
- @if $(CCC) $(OUTOPTION)/dev/null -S $(COMPILE_CXXFLAGS) $(_VPATH_SRCS) >$(*F).errlog 2>&1; then \
- printf "fail:\nerror: compilation of $(<F) succeeded. It shouldn't have!\n"; \
+ @if $(CCC) -Werror $(OUTOPTION)/dev/null -S $(COMPILE_CXXFLAGS) $(_VPATH_SRCS) >$(*F).errlog 2>&1; then \
+ printf "fail:\nerror: compilation of $(<F) succeeded with -Werror. It shouldn't have!\n"; \
exit 1; \
- else \
+ fi
+ @if $(CCC) $(OUTOPTION)/dev/null -S $(COMPILE_CXXFLAGS) $(_VPATH_SRCS) >$(*F).werrlog 2>&1; then \
printf "ok.\n"; \
+ else \
+ printf "fail:\nerror: compilation of $(<F) without -Werror failed. A warning should have been issued.\n"; \
+ exit 1; \
fi
%.s-pass: %.cpp $(GLOBAL_DEPS) $(DEHYDRA_SCRIPTS)
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
No changes.
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
@@ -60,7 +60,7 @@ AC_CACHE_CHECK([for a $2-byte type], moz_cv_n_byte_type_$1, [
AC_TRY_COMPILE([],
[
int a[sizeof ($type) == $2 ? 1 : -1];
- return;
+ return 0;
],
[moz_cv_n_byte_type_$1=$type; break], [])
done
@@ -91,7 +91,7 @@ AC_CACHE_CHECK([for the size of $2], moz_cv_size_of_$1, [
AC_TRY_COMPILE([],
[
int a[sizeof ($2) == $size ? 1 : -1];
- return;
+ return 0;
],
[moz_cv_size_of_$1=$size; break], [])
done
@@ -124,7 +124,7 @@ AC_CACHE_CHECK([for the alignment of $2], moz_cv_align_of_$1, [
],
[
int a[offsetof(struct aligner, a) == $align ? 1 : -1];
- return;
+ return 0;
],
[moz_cv_align_of_$1=$align; break], [])
done
View
No changes.
View
@@ -92,6 +92,7 @@ AC_ARG_WITH(nspr-exec-prefix,
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
+ ifelse([$3], , :, [$3])
fi
View
0 deps/js/src/build/autoconf/pkg.m4 100755 → 100644
No changes.
View
0 deps/js/src/build/cygwin-wrapper 100755 → 100644
No changes.
View
0 deps/js/src/build/hcc 100755 → 100644
No changes.
View
0 deps/js/src/build/hcpp 100755 → 100644
No changes.
View
No changes.
View
No changes.
View
0 deps/js/src/build/unix/uniq.pl 100755 → 100644
No changes.
View
No changes.
View
@@ -1,91 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
- * vim: set ts=8 sw=4 et tw=0 ft=C:
- *
- * ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is Mozilla SpiderMonkey JavaScript 1.9 code, released
- * June 22, 2008.
- *
- * The Initial Developer of the Original Code is
- * Andreas Gal <gal@uci.edu>
- *
- * Contributor(s):
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either of the GNU General Public License Version 2 or later (the "GPL"),
- * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-/**
- * This file declares builtin functions that can be called from JITted code.
- * Each line starts with "BUILTIN" and an integer, the number of arguments the
- * builtin takes. Builtins with no arguments are not supported.
- *
- * The macro arguments are:
- *
- * - 'extern' to indicate extern linkage for these functions and the associated
- * CallInfo.
- *
- * - The return type. This identifier must name one of the _JS_TYPEINFO_*
- * macros defined in jsbuiltins.h.
- *
- * - The builtin name. Prefixed with "js_" this gives the native function name.
- *
- * - The parameter types.
- *
- * - The cse flag. 1 if the builtin call can be optimized away by common
- * subexpression elimination; otherwise 0. This should be 1 only if the
- * function is idempotent and the return value is determined solely by the
- * arguments.
- *
- * - The fold flag. Reserved. The same as cse for now.
- */
-
-/*
- * NB: bool FASTCALL is not compatible with Nanojit's calling convention usage.
- * Do not use bool FASTCALL, use JSBool only!
- */
-
-BUILTIN2(extern, JSVAL, js_BoxDouble, CONTEXT, DOUBLE, 1, 1)
-BUILTIN2(extern, JSVAL, js_BoxInt32, CONTEXT, INT32, 1, 1)
-BUILTIN1(extern, DOUBLE, js_UnboxDouble, JSVAL, 1, 1)
-BUILTIN1(extern, INT32, js_UnboxInt32, JSVAL, 1, 1)
-BUILTIN2(extern, DOUBLE, js_dmod, DOUBLE, DOUBLE, 1, 1)
-BUILTIN2(extern, INT32, js_imod, INT32, INT32, 1, 1)
-BUILTIN1(extern, INT32, js_DoubleToInt32, DOUBLE, 1, 1)
-BUILTIN1(extern, UINT32, js_DoubleToUint32, DOUBLE, 1, 1)
-
-BUILTIN2(extern, DOUBLE, js_StringToNumber, CONTEXT, STRING, 1, 1)
-BUILTIN2(extern, INT32, js_StringToInt32, CONTEXT, STRING, 1, 1)
-BUILTIN2(FRIEND, BOOL, js_CloseIterator, CONTEXT, JSVAL, 0, 0)
-BUILTIN2(extern, SIDEEXIT, js_CallTree, INTERPSTATE, FRAGMENT, 0, 0)
-BUILTIN3(extern, BOOL, js_AddProperty, CONTEXT, OBJECT, SCOPEPROP, 0, 0)
-BUILTIN3(extern, BOOL, js_HasNamedProperty, CONTEXT, OBJECT, STRING, 0, 0)
-BUILTIN3(extern, BOOL, js_HasNamedPropertyInt32, CONTEXT, OBJECT, INT32, 0, 0)
-BUILTIN3(extern, JSVAL, js_CallGetter, CONTEXT, OBJECT, SCOPEPROP, 0, 0)
-BUILTIN2(extern, STRING, js_TypeOfObject, CONTEXT, OBJECT, 1, 1)
-BUILTIN2(extern, STRING, js_TypeOfBoolean, CONTEXT, INT32, 1, 1)
-BUILTIN2(extern, DOUBLE, js_BooleanOrUndefinedToNumber, CONTEXT, INT32, 1, 1)
-BUILTIN2(extern, STRING, js_BooleanOrUndefinedToString, CONTEXT, INT32, 1, 1)
-BUILTIN2(extern, OBJECT, js_Arguments, CONTEXT, OBJECT 0, 0)
-BUILTIN4(extern, OBJECT, js_NewNullClosure, CONTEXT, OBJECT, OBJECT, OBJECT, 0, 0)
View
0 deps/js/src/config/Makefile 100755 → 100644
No changes.
View
0 deps/js/src/config/Makefile.in 100755 → 100644
No changes.
View
No changes.
View
29 deps/js/src/config/autoconf.mk.in 100755 → 100644
@@ -77,17 +77,15 @@ MOZ_SYNC_BUILD_FILES = @MOZ_SYNC_BUILD_FILES@
MOZ_DEBUG = @MOZ_DEBUG@
MOZ_DEBUG_SYMBOLS = @MOZ_DEBUG_SYMBOLS@
-MOZ_PROFILE_MODULES = @MOZ_PROFILE_MODULES@
MOZ_DEBUG_ENABLE_DEFS = @MOZ_DEBUG_ENABLE_DEFS@
MOZ_DEBUG_DISABLE_DEFS = @MOZ_DEBUG_DISABLE_DEFS@
MOZ_DEBUG_FLAGS = @MOZ_DEBUG_FLAGS@
MOZ_DEBUG_LDFLAGS=@MOZ_DEBUG_LDFLAGS@
MOZ_EXTENSIONS = @MOZ_EXTENSIONS@
-MOZ_IMG_DECODERS= @MOZ_IMG_DECODERS@
-MOZ_IMG_ENCODERS= @MOZ_IMG_ENCODERS@
MOZ_JSDEBUGGER = @MOZ_JSDEBUGGER@
MOZ_LEAKY = @MOZ_LEAKY@
MOZ_MEMORY = @MOZ_MEMORY@
+MOZ_PROFILING = @MOZ_PROFILING@
MOZ_JPROF = @MOZ_JPROF@
MOZ_SHARK = @MOZ_SHARK@
MOZ_CALLGRIND = @MOZ_CALLGRIND@
@@ -214,6 +212,7 @@ HOST_CC = @HOST_CC@
HOST_CXX = @HOST_CXX@
HOST_CFLAGS = @HOST_CFLAGS@
HOST_CXXFLAGS = @HOST_CXXFLAGS@
+HOST_LDFLAGS = @HOST_LDFLAGS@
HOST_OPTIMIZE_FLAGS = @HOST_OPTIMIZE_FLAGS@
HOST_NSPR_MDCPUCFG = @HOST_NSPR_MDCPUCFG@
HOST_AR = @HOST_AR@
@@ -280,9 +279,13 @@ MOZ_TOOLKIT_REGISTRY_CFLAGS = \
MOZ_NATIVE_MAKEDEPEND = @SYSTEM_MAKEDEPEND@
+export CL_INCLUDES_PREFIX = @CL_INCLUDES_PREFIX@
+
MOZ_AUTO_DEPS = @MOZ_AUTO_DEPS@
COMPILER_DEPEND = @COMPILER_DEPEND@
MDDEPDIR := @MDDEPDIR@
+CC_WRAPPER = @CC_WRAPPER@
+CXX_WRAPPER = @CXX_WRAPPER@
MOZ_DEMANGLE_SYMBOLS = @MOZ_DEMANGLE_SYMBOLS@
@@ -293,6 +296,8 @@ OS_TARGET=@OS_TARGET@
OS_ARCH=@OS_ARCH@
OS_RELEASE=@OS_RELEASE@
OS_TEST=@OS_TEST@
+CPU_ARCH=@CPU_ARCH@
+INTEL_ARCHITECTURE=@INTEL_ARCHITECTURE@
# For Solaris build
SOLARIS_SUNPRO_CC = @SOLARIS_SUNPRO_CC@
@@ -303,7 +308,6 @@ AIX_OBJMODEL = @AIX_OBJMODEL@
# For OS/2 build
MOZ_OS2_TOOLS = @MOZ_OS2_TOOLS@
-MOZ_OS2_USE_DECLSPEC = @MOZ_OS2_USE_DECLSPEC@
MOZ_OS2_HIGH_MEMORY = @MOZ_OS2_HIGH_MEMORY@
MOZILLA_OFFICIAL = @MOZILLA_OFFICIAL@
@@ -336,5 +340,22 @@ VISIBILITY_FLAGS = @VISIBILITY_FLAGS@
WRAP_SYSTEM_INCLUDES = @WRAP_SYSTEM_INCLUDES@
ENABLE_TRACEJIT = @ENABLE_TRACEJIT@
+ENABLE_METHODJIT = @ENABLE_METHODJIT@
NANOJIT_ARCH = @NANOJIT_ARCH@
HAVE_ARM_SIMD= @HAVE_ARM_SIMD@
+
+JS_SHARED_LIBRARY = @JS_SHARED_LIBRARY@
+HAVE_LINUX_PERF_EVENT_H = @HAVE_LINUX_PERF_EVENT_H@
+
+# We only want to do the pymake sanity on Windows, other os's can cope
+ifeq (,$(filter-out WINNT WINCE,$(HOST_OS_ARCH)))
+# Ensure invariants between GNU Make and pymake
+# Checked here since we want the sane error in a file that
+# actually can be found regardless of path-style.
+ifeq (_:,$(.PYMAKE)_$(findstring :,$(srcdir)))
+$(error Windows-style srcdir being used with GNU make. Did you mean to run $(topsrcdir)/build/pymake/make.py instead? [see-also: https://developer.mozilla.org/en/Gmake_vs._Pymake])
+endif
+ifeq (1_a,$(.PYMAKE)_$(firstword a$(subst /, ,$(srcdir))))
+$(error MSYS-style srcdir being used with Pymake. Did you mean to run GNU Make instead? [see-also: https://developer.mozilla.org/en/Gmake_vs._Pymake])
+endif
+endif # Windows
View
No changes.
View
No changes.
Oops, something went wrong.

0 comments on commit 5f7a837

Please sign in to comment.