Commit Graph

232293 Commits

Author SHA1 Message Date
Brendan Eich
c50ce4789f Burned by JSOPTION_ANONFUNFIX again. 2010-10-04 19:23:39 -07:00
David Anderson
9d89e2e6b3 ICs for scripted new (bug 589398, r=luke,dmandelin).
--HG--
extra : rebase_source : d7311ce916e8d6c876d1851090806bc7d073bd63
2010-10-04 14:13:33 -07:00
Brendan Eich
3a6fcbd2d9 More old test hacking in wake of 445319. 2010-10-04 18:41:32 -07:00
Brendan Eich
2eb9db76da Forgot the test for 600137. 2010-10-04 18:30:04 -07:00
Brendan Eich
c44759f91b Adjust js1_5/extensions/regress-369696-02.js in wake of 445319 fix. 2010-10-04 17:53:28 -07:00
Brendan Eich
c5ac73b2c6 Test for bug 600137 (fixed by patch for 445319). 2010-10-04 16:54:22 -07:00
Brendan Eich
bc6cad425c Per ECMA-262, no .prototype for built-in functions and Function.prototype (445319, r=Waldo). 2010-10-03 22:46:39 -07:00
Nicholas Nethercote
a4da4b0354 merge 2010-10-04 16:37:37 -07:00
Nicholas Nethercote
a620297657 Update nanojit-import-rev stamp. 2010-10-04 16:16:10 -07:00
Nicholas Nethercote
ca0f8e1f84 Fix non-Linux compile bustage for bug 601539. r=me.
--HG--
extra : convert_revision : 12776aa248b916be646dd7b9c760be1b3fa7ba8a
2010-10-05 09:52:40 +11:00
Nicholas Nethercote
3b38fa4066 Bug 601539 - nanojit: fix bogus generation of suffix names in LIR dumps. r=rreitmai.
--HG--
extra : convert_revision : 2c66185d4d358f589fc1fe44f48e4c7eafe1a0c1
2010-10-04 15:40:32 -07:00
David Anderson
bb6351a657 Merge backout. 2010-10-04 15:12:56 -07:00
David Anderson
1f9978e7e9 Backed out changeset de5d1b528b9a 2010-10-04 15:12:00 -07:00
David Anderson
126f3cc49b Backed out changeset 144254e0344c 2010-10-04 15:11:35 -07:00
David Anderson
0fdc0de6a9 Fix build on ARM, bump XDR bytecode (bug 589398 fallout). 2010-10-04 15:04:19 -07:00
David Anderson
8ab67f850c ICs for scripted new (bug 589398, r=luke,dmandelin). 2010-10-04 14:13:33 -07:00
Sean Stangl
7673da965e Fix pinReg() around copyDataIntoReg() in jsop_bitop(). b=600419, r=dvander. 2010-10-04 13:30:46 -04:00
Alan Pierce
a62950ac8b Check for OOM in js_ConcatStrings(). b=596988, r=gal,sstangl; rs=brendan. 2010-10-03 23:20:12 -04:00
Brendan Eich
4872e2463e Need to JS_CHECK_RECURSION in GetTrap as well as Trap (aslo rename GetTrap wrappers to start with Get; 589103, r=gal). 2010-10-03 14:59:26 -07:00
Brian Hackett
621b28b9de Lazify fp->scopeChain, JM call path cleanup. bug 593882, r=lw,dvander. 2010-10-03 08:21:38 -07:00
Jeff Walden
1d67cb8429 Bug 577757 - array[-1073741824] != array["-1073741824"]. r=igor 2010-09-30 21:03:47 -07:00
Jeff Walden
5742cdd087 Bug 539766 - Object.defineProperty sets arguments.length without setting the length-overridden bit. r=brendan 2010-09-30 17:50:40 -07:00
Jason Orendorff
817c40ae52 Bug 600193 - trace-test/tests/jaeger/bug588363-1.js asserts with CompartmentChecker enabled. r=gal.
This makes eval(s) an indirect eval if the eval-function being called is in a
different compartment from the caller's scope chain.

This caused the eval in trace-test/tests/jaeger/bug588363-2.js to become
indirect, which caused the test to fail with a ReferenceError. So I changed the
test to delete the sandbox's eval, revealing the global eval underneath.
2010-09-29 10:00:52 -07:00
Jason Orendorff
57857fccb8 Bug 600287 - Indirect eval should use callee's global, not the this-argument. r=brendan. 2010-10-02 10:08:59 -05:00
Jason Orendorff
335710920d Rename JS_{Read,Write}Pair to JS_{Read,Write}Uint32Pair as suggested by Brendan. Followup to bug 595297. 2010-10-02 09:41:18 -05:00
Brian Hackett
55b397bc07 Header changes for sixgill, annotations. bug 601129, r=jorendorff 2010-10-01 21:00:55 -07:00
Luke Wagner
028602bb7a Bug 587914 - js::Valueify in static data constructors causes runtime initialization (r=igor)
--HG--
extra : rebase_source : 09f2d8b620985eff96468ef7875cab8751a93d18
2010-10-01 17:53:08 -07:00
Jason Orendorff
faf46059c8 Finally get rid of /* Added by JSIFY */ comments. r=Waldo. 2010-10-01 18:46:54 -05:00
David Mandelin
48265db9ad Backout merge. 2010-10-01 16:02:39 -07:00
David Mandelin
6b5de12b76 Backed out changeset 97d2c33271e8 due to crashtest failures 2010-10-01 16:01:49 -07:00
David Mandelin
52851fbf4e Bug 600639 followup: unbreak non-threadsafe shell builds, r=cjones 2010-10-01 15:34:32 -07:00
Chris Jones
332fe2d51e Follow-up to bug 579479: Fix --disable-tracejit --enable-methodjit compiles. irc-r=sstangl a=bustage 2010-10-01 16:09:21 -05:00
Chris Jones
52fc02d2d1 Bug 600304: Add a PrintJSStack() friend of DumpJSStack() that returns a newly-allocated string instead of printing to stdout. r=jorendorff a=sayrer 2010-10-01 16:09:21 -05:00
Chris Jones
a48b42642c Bug 600639, part 3: Add a --write-failure-output option to trace-test to additionally log output from failed tests. r=dmandelin a=sayrer 2010-10-01 16:09:21 -05:00
Chris Jones
0f2650f7d0 Bug 600639, part 2: Make trace_test.py importable and add support for avoiding stdio with js. r=dmandelin
--HG--
rename : js/src/trace-test/trace-test.py => js/src/trace-test/trace_test.py
2010-10-01 16:09:21 -05:00
Chris Jones
78322bd9eb Bug 600639, part 1: Allow overriding gOutFile and gErrFile in js shell, and add a -g option to sleep on startup so that a debugger can be attached. r=dmandelin 2010-10-01 16:09:21 -05:00
Jim Blandy
cbd39a3782 Bug 600943: Correctly compute |this| in Date.prototype.toJSON. r=waldo 2010-10-01 13:05:03 -07:00
David Mandelin
965a815ffc Bug 601197: fix typo in js_GetBlockChain, r=wmccloskey 2010-10-01 12:29:39 -07:00
David Mandelin
99d33bc190 Bug 595963: notify iterators about property deletion in array_splice, r=gal 2010-10-01 11:12:01 -07:00
Gregor Wagner
18200db96c Bug 594455 Add assertions for defaultCompartments. r=jorendorff 2010-10-01 11:10:30 -07:00
Jason Orendorff
8572cdcca1 Fix stray /* inside a comment to silence GCC warning. no_r=me.
--HG--
extra : rebase_source : 980456c167a368e2c25a6d4312cbad3cff87fbbd
2010-10-01 12:50:52 -05:00
David Anderson
28a60376f5 Clean up exec pool and LinkBuffer use (bug 601041, r=dmandelin). 2010-10-01 09:47:44 -07:00
David Anderson
46880287d4 Clean up exec pool and LinkBuffer use (bug 601041, r=dmandelin). 2010-10-01 09:45:33 -07:00
Jason Orendorff
22ba09591c Bug 601040 - Revise StructuredClone API. r=gal. 2010-10-01 09:57:22 -05:00
Makoto Kato
285566d813 Bug 587707 - Fix bustage on Win64 build. r=dvander 2010-10-01 18:17:39 +09:00
Makoto Kato
19ad916034 Fix CPUID on Win64. b=601016, r=sstangl. 2010-10-01 02:41:10 -04:00
Robert Sayre
faaf151e3a Merge mozilla-central to tracemonkey. 2010-09-30 23:09:33 -04:00
Alex Miller
c0000b4ff2 Add detection for all levels of SSE support; fix x64 cpuid. b=601016, r=sstangl. 2010-09-30 21:45:22 -04:00
Jason Orendorff
8847dd3f68 Bug 595297 - Portable serialize/deserialize implementation of the HTML5 structured cloning algorithm (jsclone.cpp). r=gal. 2010-09-30 19:47:10 -05:00
Andreas Gal
80a1feb0df Bug 600402 - don't copy strings that are in the same compartment already r=mrbkap 2010-09-30 16:50:06 -07:00