Граф коммитов

16510 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Smedberg 4e352d7aeb Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Blake Kaplan bd7ad3a43f Bug 532259 - Protect against a null script. r=jst a=sayrer
--HG--
extra : rebase_source : 926c94ac7dca681c195e4bd013db0331e79f78ca
2009-12-03 14:52:56 -08:00
Blake Kaplan fe691b1962 Bug 531222 - Don't access the SSM off the main thread. r=bent sr+a=jst 2009-12-02 12:06:18 -08:00
Benjamin Smedberg e98d1daf07 Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Benjamin Smedberg e53a7195d5 Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
Brendan Eich 3fcf83f1f9 Undo hackaround for bug 529837. 2009-11-24 15:42:03 -08:00
Brendan Eich 28e780dc8d Undo hackaround for bug 529837. 2009-11-24 15:17:16 -08:00
Daniel Brooks fdc5ea52b6 revert an unintentional change from revision 0ccbfef948d5 2009-11-24 05:58:50 -06:00
Benjamin Smedberg d74c6776f3 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Brendan Eich 4e545f14ca Disabling the joined method optimization from bug 524826 again (529837, talked about it with dbaron and sayrer). 2009-11-19 09:21:54 -08:00
Robert Sayre f3126269b1 Merge. 2009-11-19 01:23:03 +01:00
Robert Sayre 9a8e17bf6f Merge mozilla-central to tracemonkey. 2009-11-19 01:21:34 +01:00
Brendan Eich 6bb8477127 Fix uninitialized var bug (529679, r=jorendorff). 2009-11-18 15:56:34 -08:00
Brendan Eich 23da431b7a Fix method barrier not to brand, period (branding withou reshaping is worse, branding correctly is unnecessary; 524826, r=jorendorff). 2009-11-18 13:47:06 -08:00
Jason Orendorff 4d092db314 Bug 505523 - Property cache can skip JSClass::resolve or JSClass::addProperty hooks. r=graydon, r=brendan.
--HG--
extra : rebase_source : a77b0e81203010aabe07b92b639762dce83200c0
2009-11-18 14:29:58 -06:00
Jim Blandy e5ccb0b9ff Back out ad37dab7ea17: code to check the current frame's script's strictness flag fails the static checks. Using js_GetTopStackFrame introduces a perf regression. 2009-11-18 14:36:55 -08:00
Brendan Eich 0356dc2712 Fix method barrier not to brand, period (branding without reshaping is worse, branding correctly is unnecessary; 524826, r=jorendorff). 2009-11-18 13:41:40 -08:00
Jim Blandy bd1f64ac66 Bug 514585: Machinery for reporting ES5 strict mode errors. r=igor
At compile-time, we must consult the current JSTreeContext to decide
whether to issue an strict mode error; at run-time, we need to
check the strictness of the currently executing script.  Both cases
also check the context options.  The design is supposed to make it
easy to follow the principle that conditions treated as errors in
strict mode are a subset of those warned about by JSOPTION_STRICT.

This patch removes report flag handling from js_ExpandErrorArguments,
which is used for both compile-time and run-time errors.  At run-time,
the new checkReportFlags handles the checks.  At compile-time, we need
different checks depending on the situation, so the checks are done in
js_ReportStrictModeError, js_ReportCompileErrorNumber, and the new
ReportCompileErrorNumberVA.
2009-11-18 13:33:53 -08:00
Jim Blandy 395529f458 Bug 514585: Recognize "use strict" directives. r=igor 2009-11-18 13:33:53 -08:00
Jim Blandy 3ade5c55b3 Bug 514585: Remove macro wrappers for js_NewPrinter and JS_InitArenaPool. r=igor
These macros were intended to help avoid passing unused parameters
when JS_ARENAMETER is not defined, but they're not worth the trouble.
The unused parameter doesn't elicit warnings, and the performance
impact of passing the unneeded argument is negligible.

This also removes support for JS_ARENA_CONST_ALIGN_MASK, which is not
used.
2009-11-18 13:33:53 -08:00
David Anderson b19869e407 Fixed string flag bugs on VC++ x64 (bug 512866, r=waldo). 2009-11-18 13:24:24 -05:00
David Anderson a7ee7473f0 Fixed accidentally trying to trace compile a recursive generator (bug 529130, r=gal). 2009-11-18 12:41:51 -05:00
Blake Kaplan efad2dae5f Bug 528126 - Ensure the GC can see the new object. r=brendan 2009-11-18 15:54:27 +01:00
Blake Kaplan eb3a807c59 Bug 520572 - Test watch() on an outer object. r=brendan/bc
--HG--
extra : rebase_source : e675a97028a914de51f39962b6865e2bf59f80fd
2009-11-18 12:58:28 +01:00
Brendan Eich 94fceb75d4 Fix js_FindDuplicateFormal to crack the fun->u.i.names union correctly, and spruce it up with C++ (532041, r=jimb). 2009-12-01 14:48:05 -08:00
Luke Wagner c7e56b78f0 Bug 526173 - 3.5x regression in indexOf performance (r=waldo) 2009-11-17 22:40:50 -08:00
Benjamin Smedberg 0f5c51eda6 Bug 523769 - Don't call into plugin hooks (specifically NPObject.deallocate) while mid-GC, r=jst+mrbkap 2009-11-17 14:51:46 -05:00
Jeff Walden a04a5e23ff Backed out changeset 975b36c50d33; bug 478047's fix was misguided and contra ES5, and moving to ES5 semantics at this late date in the release cycle seems unwise. We'll move from old and busted directly to ES5 shortly after 3.6 so as to provide maximum time for ironing out incompatibilities in the wild. r=gal 2009-11-16 17:21:48 -08:00
Andreas Gal ff40b41418 Don't attempt to GC when caller has waived the GC heap quote (528507, r=dvander). 2009-11-17 14:31:06 -08:00
Blake Kaplan 15ded1e8eb Bug 461170 - Mark this test as passing. 2009-11-17 11:59:35 +01:00
Nicholas Nethercote 87fde25285 Update nanojit-import-rev stamp. 2009-11-17 15:56:35 +11:00
Edwin Smith fa96393878 Fix assertion failure injected by X64 verbose code patch (bug 520712 r=dvander+)
When we test the size of an offset, we have to do it after underrunProtect
or else a jump can be inserted which then invalidates the instruction selection.

--HG--
extra : convert_revision : 9b249328236ffec433abb961c0737a82f437c7d4
2009-11-16 14:22:26 -05:00
Nicholas Nethercote cb890e771d Bug 520712 - nanojit: print assembly code for X64 backend with TMFLAGS=assembly. r=edwsmith.
--HG--
extra : convert_revision : bc99b0483e324920fa4c55235d1f9da58eeebcaf
2009-11-16 13:14:39 +11:00
Luke Wagner d3b2cdfe65 Bug 529147 - fix flipped numSideExitsBefore assertion (r=dvander) 2009-11-16 17:45:50 -08:00
David Anderson a108788918 Use INS_CONSTOBJ instead of INS_CONSTWORD for kshape guard (bug 528048, r=gal). 2009-11-16 18:44:58 -05:00
Bob Clary 08b50f2aa1 Bug 528654 - Intermittent timeout waiting for onload to fire in js1_8_1/trace/trace-test.js 2009-11-20 00:12:17 -08:00
Bob Clary eba711e768 Bug 528464 - Intermittent failures - js1_5/extensions/regress-342960.js 2009-11-20 00:12:09 -08:00
Bob Clary 4e63d5d2bc Bug 528284 - js1_5/extensions/regress-371636.js - random failure for opt/debug on mozilla-central 2009-11-20 00:11:58 -08:00
Bob Clary e1b30cbe43 Bug 522760 - js/src/tests/ecma_5 tests should not run as JavaScript 1.5, r=brendan 2009-11-20 00:11:43 -08:00
Bob Clary eb51d3ff0b Bug 529754 - set javascript.options.jit.chrome true in browser tests. 2009-11-20 00:11:28 -08:00
Ginn Chen 0c65027711 Bug 514632 remove unused file r=jorendorff 2009-11-20 14:17:12 +08:00
Ginn Chen d8150c3a0f Bug 522440 QCMS: Make sse/sse2 code built with Sun Studio 12 on Solaris r=jmuizelaar, ted.mielczarek 2009-11-20 14:15:39 +08:00
Ginn Chen 6cc4663c59 Bug 528150 Remove the hack for LIR.cpp in Makefile.in r=dvander 2009-11-20 14:12:47 +08:00
Benjamin Smedberg d8c7dfc1dd Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Ted Mielczarek cd1de4faf6 bug 463411 - nsinstall.exe can race creating directories. r=timeless (sync js/src copy of nsinstall_win.c) 2009-11-11 08:24:30 -05:00
Chris Jones 548d6d261d bug 527871: fix shutdown assertion and leaking TestShellParent. still leaking ContentProcessParent's GeckoChildProcess, but needs discussion before fixing 2009-11-11 02:34:08 -06:00
Jeff Walden 3436bf9e55 Bug 520890 - obj_getOwnPropertyDescriptor nests object locks. r=jorendorff 2009-11-09 16:16:28 -08:00
Luke Wagner 0ddba2f7c0 Bug 528870 - fix double-slurping rebase error (r=dvander) 2009-11-16 10:14:57 -08:00
Robert Sayre c6c38d7895 Merge tracemonkey to mozilla-central. 2009-12-01 13:14:45 -05:00
Robert Sayre efc9136a43 Backout bug 473228 and its follow-up, temporarily, to attempt a clean merge of other stuff. 2009-12-01 09:57:20 -05:00