Commit Graph

13321 Commits

Author SHA1 Message Date
Boris Zbarsky
4ebf2b027a Bug 599009. Don't use setProperty for JSOP_DEFFUN unless there's already a property with that name around, to work around the fact that setProperty will define with class-default getter and setter while we always want to define with stub getter and setter if we can. r=igor 2010-10-07 09:18:53 -04:00
Johnny Stenback
e0377cb0a6 Fixing bustage. 2010-10-06 19:50:46 -07:00
Andreas Gal
ea58e77c7b GetPropertyByName doesn't deep bail (602415, r=dvander). 2010-10-06 19:30:02 -07:00
Robert Sayre
012db2a6ae Merge mozilla-central to tracemonkey. 2010-10-06 18:48:56 -07:00
Nicholas Nethercote
5fca2f1eb1 Bug 599251 - nanojit: make Register a non-numeric type (TM-specific part). r=edwsmith. 2010-10-06 17:39:28 -07:00
Chris Jones
b9c731f6ce Bug 602393: Fix idiotic mistake causing JITs to be blacklisted on all android devices. r=dvander a=blocking-fennec-b1+ 2010-10-06 19:39:19 -05:00
Nicholas Nethercote
72a4aabfd5 Update nanojit-import-rev stamp. 2010-10-06 17:28:51 -07:00
Nicholas Nethercote
9e870a8e7b Bustage fix: add new file that was accidentally omitted for bug 599251.
--HG--
extra : convert_revision : 661718b83d398aa4c91f522f7d08ef5cea8e20a9
2010-10-06 15:51:01 -07:00
Nicholas Nethercote
2f1f5115bb Bug 599251 - nanojit: make Register a non-numeric type. r=edwsmith.
--HG--
extra : convert_revision : c7275693cde4c740f1a53ab73b9ec1963f6fe0cc
2010-10-06 15:30:56 -07:00
Nicholas Nethercote
753fbd4232 Fix compiler warning. No bug, r=jwalden via IRC. 2010-10-06 16:16:11 -07:00
Nicholas Nethercote
4592f12901 Bug 593931 - inline js_GetPropertyHelper() and friends more aggressively. r=cdleary. 2010-10-06 16:14:01 -07:00
Chris Leary
de62ad1b1c Fix trace_tests.py when showing output. (r=jorendorff) 2010-10-06 15:15:54 -07:00
Chris Leary
9ae5e5cf0f Bug 596775: re-enable YARR-JIT on ARM. (r=vladimir) 2010-10-05 18:20:06 -07:00
Jason Orendorff
60ab838ce4 Back out changeset 89006937466d (crashing tests on tinderbox). 2010-10-06 15:51:14 -05:00
Jason Orendorff
a55c843052 Bug 592644 - Indirect eval should be allowed under ES5. r=brendan. 2010-10-06 15:11:30 -05:00
Tom Schuster
537c5775ed Bug 601689 - Optimize GetArrayElement for arguments objects (r=lw)
--HG--
extra : rebase_source : 6360a47b95660da477a1f312ab8654a23e4019c1
2010-10-06 12:04:31 -07:00
Bill McCloskey
5ad8ad87f8 Fix trap instruction in trace-test, bump XDR version (r=dvander) 2010-10-06 11:58:33 -07:00
David Anderson
bf2b73455a Fix assert in InvokeConstructor (bug 602088, r=luke). 2010-10-06 11:06:18 -07:00
Bill McCloskey
05473d29a8 Bug 601986 - Make blockchain determination faster for with, flat closures (r=igor) 2010-10-06 10:41:36 -07:00
Bill McCloskey
7bfd4bbd01 Bug 601398 - Use new instructions, rather than source notes, to obtain block chain (r=igor) 2010-10-06 10:40:07 -07:00
Luke Wagner
d46bab180a Bug 601733 - respect deleted arguments-object properties in JSOP_GETELEM (r=dvander,dmandelin) 2010-10-06 10:09:40 -07:00
Sean Stangl
a725810965 Define isOOLPath if JaegerSpew is enabled. 2010-10-06 00:46:21 -04:00
Boris Zbarsky
0ede7a0b3c Bug 601968. Trace call(null). r=gal, a=sayrer 2010-10-06 00:00:28 -04:00
David Mandelin
7160d3fa59 Bug 601256: optimize access to globals in global eval using GNAME ops, r=dvander
--HG--
extra : rebase_source : 7c4bd486cc9dff1c65eda717fe34dd0fc36fe171
2010-10-05 11:02:05 -07:00
David Anderson
b84b230fa4 Don't build debug structures if not in debug mode (bug 596804, r=dmandelin). 2010-10-05 17:15:06 -07:00
David Anderson
dfffa5d871 Fix crash in AtSafePoint (bug 589398, r=dmandelin). 2010-10-05 16:41:06 -07:00
David Mandelin
d3637a9f66 Bug 595963: notify iterators about property deletion in array_splice, r=gal
--HG--
extra : rebase_source : de2700e0d3d7bce1453a73155c569d28cfbd4482
2010-10-01 11:12:01 -07:00
Nicholas Nethercote
081f38712d Bug 601771 - TM: possibly uninitialized variable in jsclone.cpp. r=jorendorff via IRC. 2010-10-05 14:50:15 -07:00
Luke Wagner
407b2242d7 Bug 598682, part 2 - Minor cleanups to jsinterp.h and jsinterpinlines.h (r=bhackett)
--HG--
extra : rebase_source : bd664d9cd752992faa280d8d3a848058883f57e4
2010-10-05 14:41:58 -07:00
Jim Blandy
b423689891 Bug 598682, part 1 - Minor cleanups to jsinterp.h and jsinterpinlines.h (r=lw)
--HG--
extra : rebase_source : ce5adce0b4f5155afd958f2a083085baf4dbe643
2010-10-05 14:41:55 -07:00
Luke Wagner
e5b2d0d102 Bug 601505 - Error instances don't have [[Construct]] (r=brendan)
--HG--
extra : rebase_source : 12c4c0432ca571f57993cabe3309810cfa3866d1
2010-10-04 16:22:26 -07:00
Sean Stangl
fc6775cf30 Eliminate syncData() constant hack. b=601657, r=dvander. 2010-10-05 17:08:01 -04:00
Robert Sayre
19a4f7ab74 Merge mozilla-central to tracemonkey. 2010-10-05 13:30:17 -07:00
Bill McCloskey
f4da25ad41 Bug 601393 - Ensure that js_EmitTree decrements emitLevel (r=brendan) 2010-10-05 10:49:27 -07:00
Bill McCloskey
08406461bb Bug 601537 - Add a reminder about JSXDR_BYTECODE_VERSION (r=brendan) 2010-10-05 10:47:11 -07:00
David Anderson
36107152d8 Don't trace apply with overridden argsobj length (bug 541191, r=dmandelin). 2010-10-05 10:25:41 -07:00
Gregor Wagner
e911cb2f1c Bug 600310 - TM: don't perform GC outside of stack quota r=igor 2010-10-05 10:09:50 -07:00
Brendan Eich
ce672b15a0 Long day... 2010-10-04 21:19:30 -07:00
David Anderson
bcab33d20b Bustage fix for bug 589398 new opcode fallout. 2010-10-04 20:24:43 -07:00
Makoto Kato
57fde966f8 Bug 601355 - follow up bug 587707. Crashes consistently at start-up except if JM is disabled or in safe mode. r=bhackett1024, r=dvander 2010-10-05 12:14:44 +09:00
Nicholas Nethercote
67b1a56500 Bug 600781 - TM: untangle TraceRecorder::getCharAt. r=dvander. 2010-10-04 19:57:15 -07:00
Brendan Eich
846b01b1ee Burned by JSOPTION_ANONFUNFIX again. 2010-10-04 19:23:39 -07:00
David Anderson
552330f091 ICs for scripted new (bug 589398, r=luke,dmandelin).
--HG--
extra : rebase_source : d7311ce916e8d6c876d1851090806bc7d073bd63
2010-10-04 14:13:33 -07:00
Brendan Eich
d86c28ef95 More old test hacking in wake of 445319. 2010-10-04 18:41:32 -07:00
Brendan Eich
3639d7c0a5 Forgot the test for 600137. 2010-10-04 18:30:04 -07:00
Brendan Eich
920dbc6d33 Adjust js1_5/extensions/regress-369696-02.js in wake of 445319 fix. 2010-10-04 17:53:28 -07:00
Brendan Eich
3cbbab0c68 Test for bug 600137 (fixed by patch for 445319). 2010-10-04 16:54:22 -07:00
Brendan Eich
853d03c5d2 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
538c2b1e48 merge 2010-10-04 16:37:37 -07:00
Nicholas Nethercote
43903d8289 Update nanojit-import-rev stamp. 2010-10-04 16:16:10 -07:00
Nicholas Nethercote
a029d9af78 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
d03914abb0 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
6dbf424efd Backed out changeset de5d1b528b9a 2010-10-04 15:12:00 -07:00
David Anderson
6ddd3429fc ICs for scripted new (bug 589398, r=luke,dmandelin). 2010-10-04 14:13:33 -07:00
Sean Stangl
0d02e95a3d Fix pinReg() around copyDataIntoReg() in jsop_bitop(). b=600419, r=dvander. 2010-10-04 13:30:46 -04:00
Alan Pierce
39060e35d5 Check for OOM in js_ConcatStrings(). b=596988, r=gal,sstangl; rs=brendan. 2010-10-03 23:20:12 -04:00
Brendan Eich
d29d510a74 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
d73a0b5f82 Lazify fp->scopeChain, JM call path cleanup. bug 593882, r=lw,dvander. 2010-10-03 08:21:38 -07:00
Jeff Walden
9153149565 Bug 577757 - array[-1073741824] != array["-1073741824"]. r=igor 2010-09-30 21:03:47 -07:00
Jeff Walden
e7c07cd3ad 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
b7f8952992 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
135b59bccb 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
c1daff3aa7 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
abdc87c9ca Header changes for sixgill, annotations. bug 601129, r=jorendorff 2010-10-01 21:00:55 -07:00
Luke Wagner
5eeb7d4ff7 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
630900ee20 Finally get rid of /* Added by JSIFY */ comments. r=Waldo. 2010-10-01 18:46:54 -05:00
David Mandelin
ef3e0c2bd4 Backout merge. 2010-10-01 16:02:39 -07:00
David Mandelin
a4b874a59c Backed out changeset 97d2c33271e8 due to crashtest failures 2010-10-01 16:01:49 -07:00
David Mandelin
d93f709073 Bug 600639 followup: unbreak non-threadsafe shell builds, r=cjones 2010-10-01 15:34:32 -07:00
Chris Jones
72c8eed930 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
b229a7ab6b 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
d214281bcc 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
9ea42cd7f2 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
33f54f09ae 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
bd74ec5d3b Bug 600943: Correctly compute |this| in Date.prototype.toJSON. r=waldo 2010-10-01 13:05:03 -07:00
David Mandelin
8986a41f4f Bug 601197: fix typo in js_GetBlockChain, r=wmccloskey 2010-10-01 12:29:39 -07:00
David Mandelin
e25191cfd0 Bug 595963: notify iterators about property deletion in array_splice, r=gal 2010-10-01 11:12:01 -07:00
Gregor Wagner
9aad841305 Bug 594455 Add assertions for defaultCompartments. r=jorendorff 2010-10-01 11:10:30 -07:00
Jason Orendorff
a180c60f63 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
faba5e7e52 Clean up exec pool and LinkBuffer use (bug 601041, r=dmandelin). 2010-10-01 09:47:44 -07:00
Jason Orendorff
b2c359ad0b Bug 601040 - Revise StructuredClone API. r=gal. 2010-10-01 09:57:22 -05:00
Makoto Kato
35d2ca6e15 Bug 587707 - Fix bustage on Win64 build. r=dvander 2010-10-01 18:17:39 +09:00
Makoto Kato
35160e76f6 Fix CPUID on Win64. b=601016, r=sstangl. 2010-10-01 02:41:10 -04:00
Alex Miller
82319558ba 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
00704fa52d 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<gal@uci.edu>
b4b683166b Bug 600402 - don't copy strings that are in the same compartment already r=mrbkap 2010-09-30 16:50:06 -07:00
Jeff Walden
ca79ac881b Bug 560216 - Referring to an accessor property with undefined [[Get]] and [[Set]] fields using an unqualified name should not assert. r=dvander 2010-09-29 16:05:44 -07:00
David Anderson
87e33d6e8a Fix ARM and --disable-polyic build (bug 599035 bustage, r+a=red). 2010-09-30 13:27:32 -07:00
Igor Bukanov
a8c5b53e2a bug 600687 - proper accounting for colors during the marking phase. r=anygregor 2010-09-30 01:31:20 +02:00
Peter Van der Beken
0148dfb36c Fix dom/tests/mochitest/general/file_frameElementWrapping.html to deal with proxies. r=mrbkap 2010-09-28 17:02:43 -07:00
Blake Kaplan
b592545085 bug 580128 - Outerize in JS instead of in the rewrap hook so the identity in the wrapper map stays constant. r=gal 2010-09-28 17:02:43 -07:00
Blake Kaplan
9b63ed2490 bug 580128 - Fix bugs dealing with transplanting when navigating. r=gal 2010-09-28 17:02:43 -07:00
Igor Bukanov
417c15d2e0 bug 600593 - atoms should live only in the default compartment. r=anygregor 2010-09-28 17:34:32 +02:00
Brendan Eich
131feb1587 fun->u.i.names is incorrect when a local function shadows an argument (600067, r=jorendorff). 2010-09-29 16:15:43 -07:00
Jim Blandy
1cfbcf9237 Bug 514570: Simplify code generated for tests against 'null', in cases where we might as well test the whole value. r=dvander 2010-09-30 10:57:58 -07:00
Bill McCloskey
20e3b7290e Bug 535912 - Eliminate blockChain from JSStackFrame (r=cdleary) 2010-09-29 13:21:36 -07:00
Ginn Chen
6efb2761bd Bug 597367 Add fpclassify() for Solaris r=gal 2010-09-30 18:53:11 +08:00
Andreas Gal
7e3fa2d10a Merge. 2010-09-30 00:06:04 -07:00
Andreas Gal
331dc80c9e Backout bug 584789, has to go into blake's patch queue, event't handlers don't set the right compartment in TM tip. 2010-09-30 00:05:33 -07:00
Andreas Gal<gal@uci.edu>
6a46766c34 Bug 600580 - TM: set right compartment in _newJSDContext r=gwagner 2010-09-29 23:32:22 -07:00
Andreas Gal
dd4d8530b1 Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap). 2010-09-29 23:17:29 -07:00
David Anderson
3b1266d621 Add an IC for GETXPROP (bug 599035, r=sstangl).
--HG--
extra : rebase_source : d7b8dece41841e3a1202edfe84cba806f77310fa
2010-09-29 20:50:29 -07:00
Andreas Gal
e80492a92a Back out bug 584789. 2010-09-29 20:38:03 -07:00
Andreas Gal
650aaf4f01 Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap). 2010-09-29 19:42:22 -07:00
David Anderson
a937de3ad6 Skip writes to |f.arguments| if |f| cannot have an argsobj (bug 592927, r=brendan).
--HG--
extra : rebase_source : 8e53abcec2739585d5b3ee2fd0c80f5532a685e0
2010-09-29 18:05:54 -07:00
Nicholas Nethercote
419e002551 Bug 600489 - TM: allow for insBranch() returning NULL. r=gal. 2010-09-29 16:12:04 -07:00
Andreas Gal<gal@uci.edu>
e16c674f2a Bug 599762 - TM: set right compartment in js::ctypes::CClosure::ClosureStub r=gwagner 2010-09-29 15:46:25 -07:00
Blake Kaplan
8df12eab59 bug 580128 - Make js_DumpStackFrame deal with dummy frames. r=jst 2010-09-27 19:52:15 -07:00
Jason Orendorff
e71e7e1578 bug 580033 - Make JS_Save/RestoreFrameChain set cx->compartment. r=mrbkap 2010-09-27 18:24:24 -07:00
Andreas Gal
04c3f3cf48 bug 599503 - Return true compartment info from JSObject::getCompartment(). r=jorendorff/gregor/gal 2010-09-27 13:49:09 -07:00
Jason Orendorff
47acdff995 Bug 599932 - js1_8_1/trace/regress-462459-02.js and friends are failing in shell. r=jimb, a=NPOTB.
--HG--
extra : rebase_source : 469968f50d44a42aac63a1006712ddee81db7d71
2010-09-27 13:25:39 -05:00
Blake Kaplan
7f03dba33e Bug 580128 - Use compartments instead of global objects to see if we should use slim wrappers. r=peterv 2010-09-24 23:49:58 -07:00
Blake Kaplan
11e65685b7 bug 580128 - Avoid using the parent chain of proxies for anything because it's often wrong. r=jst 2010-09-24 18:00:58 -07:00
Benjamin Smedberg
6d6a07cd55 Bug 595112 - libxul.so contains text relocations on x86. r=cpearce
* Configure libvpx with PIC on x86.
* Add headers to system-headers required for angle.
2010-10-13 08:46:31 -04:00
Olli Pettay
58d3e2cb77 Bug 553098 - quickstub some XULElement and BoxObject properties, r=jst, a=jst 2010-10-13 12:34:51 +03:00
Blake Kaplan
cb84d63788 bug 580128 - Pass the right resolve flags to ResolveNativeHandler. r=peterv/jst 2010-09-24 15:30:00 -07:00
Olli Pettay
780b1891fd Backout Bug 508518, a=dromaeo-dom-regression 2010-10-25 00:52:17 +03:00
Olli Pettay
0ac2007026 Bug 508518 - Implement nsUITimerCallback with one-shot timer, r=jst, a=blocking-fennec
--HG--
extra : rebase_source : b486aa38fb17baacf0a5be39becd536fbec0c574
2010-10-24 21:20:53 +03:00
Mark Banner
fc648f9620 Bustage fix for non-method JIT builds (e.g. ppc) - don't check variable when it doesn't exist. a=bustage-fix (bug 601221). 2010-10-02 09:21:17 +01:00
Chris Jones
226f614b64 Bug 601222: Blacklist JITs on samsung i9000s. r=dvander a=blocking-fennec 2010-10-01 03:45:27 -05:00
Blake Kaplan
964c4a31ef bug 580128 - Pass the XrayWrapper itself to scriptable helpers (and related cleanup) since the holder doesn't have enough smarts to do lookups, etc. r=gal 2010-09-23 15:56:28 -07:00
Blake Kaplan
d8815d1675 Bug 580128 - Fix compartment warnings by entering. r=gal/peterv/jst/mrbkap/jorendorff (and written by all of us too). 2010-09-22 17:34:20 -07:00
Blake Kaplan
420eda056d bug 580128 - Make xpcconvert trust cx->compartment when called from JS. r=peterv 2010-09-22 16:35:10 -07:00
Ben Hearsum
f80bcecf6f Bump version on default branch to 2.0b8pre/4.0b8pre. a=beltzner 2010-10-06 17:32:13 -04:00
Brian Hackett
0d369b900f Add interruptCounter to JSRuntime for JM, bug 589193. r=igor,dvander 2010-09-20 16:21:49 -07:00
Blake Kaplan
03cb31a09c bug 580128 - Rewrite XrayWrapper so the wrapped object is in the wrapped object slot and the holder goes in an extra slot. r=gal 2010-09-20 14:48:01 -07:00
Blake Kaplan
19e59ef574 bug 580128 - .wrappedJSObject returns a wrapper that pushes principals. r=gal 2010-09-20 14:47:15 -07:00
Brian Hackett
066d48b6b6 Backed out changeset 09ffb30caa47 2010-09-20 12:05:21 -07:00
Brian Hackett
e8819f33fa Make JSObject flexible length, bug 584917. r=brendan 2010-09-20 11:40:32 -07:00
Robert Sayre
bc3486afdf Merge 2010-09-20 11:10:00 -04:00
Brendan Eich
95d5ebd4d3 Fix bogus assertion: "!shape->inDictionary()" (only if not shape->frozen(); 592217, r=jorendorff). 2010-09-20 08:01:06 -07:00
Brendan Eich
b0a31f8bcb Fix test for 597870 (CLOSED TREE). 2010-09-19 22:04:16 -07:00
Brendan Eich
0134ef3da3 Fix decompiler LHS -> RHS special cases switch to cover JSOP_SETXMLNAME (597870, r=igor; CLOSED TREE). 2010-09-19 16:24:13 -07:00
Robert Sayre
739e81c33b Merge mozilla-central to tracemonkey. 2010-09-19 15:59:10 -04:00
Igor Bukanov
74d6525584 bug 597654 - PurgeScriptFragments must do its job even with jit disabled. r=gal 2010-09-18 11:44:22 +02:00
Makoto Kato
c93588f2e2 Bug 597288 - alignment on call stack isn't 16byte on x86_64 CPU. r=dvander 2010-09-19 00:06:26 +09:00
Chris Leary
402dc1f5d2 Bug 596502: unbreak XML parsing on JS1.6 and onwards. (r=brendan) 2010-09-18 00:31:36 -07:00
Blake Kaplan
34ecff9986 bug 580128 - Make compartment warnings real. r=jst 2010-09-17 14:54:41 -07:00
Blake Kaplan
c878f8f2a9 bug 580128 - Don't allow fast getting of nsGlobalWindow's wrapper cache. r=peterv 2010-09-17 14:54:41 -07:00
Blake Kaplan
2ce9a1fca4 bug 580128 - Propagate whether we're getting or setting to getPropertyDescriptor. r=gal 2010-09-17 14:54:41 -07:00
Blake Kaplan
b232404c93 bug 580128 - Chrome sandboxes cause this assertion to box: use plain cross compartment wrappers when we see them. r=jst 2010-09-17 14:54:41 -07:00
Blake Kaplan
bd717288e6 bug 580128 - Make evalInSandbox work with the new wrappers. r=peterv 2010-09-17 14:54:41 -07:00
Blake Kaplan
ce1fec34f5 bug 580128 - Fix a bug in early XrayWrappers that allowed Holders to get in here. r=gal 2010-09-17 14:54:41 -07:00
Blake Kaplan
b9ceb8ebe5 bug 580128 - Prepare objects for wrapping. r=peterv 2010-09-17 14:54:41 -07:00
Blake Kaplan
a55f43f1f0 bug 580128 - Allow calling functions cross origin. r=gal 2010-09-17 14:54:40 -07:00
Blake Kaplan
8a04a08f4f bug 580128 - Make the Window constructor be defined on new windows. r=peterv 2010-09-17 14:54:40 -07:00
Brendan Eich
2253bb99d7 Don't recycle class-reserved slots onto a dictionary table's freelist (595230, r=jorendorff). 2010-09-14 17:08:16 -07:00
David Anderson
1eb18e8c61 Compile JSOP_HOLE, JSOP_CONDSWITCH (bug 597452, r=sstangl).
--HG--
extra : rebase_source : 7e4ee290322b071cd50e1bb21bf5722ac3d0c0d0
2010-09-17 11:35:01 -07:00
Sean Stangl
86f33eea9f Use loadValueAsComponents() for faster loading on x64. b=587444, r=dvander. 2010-09-17 14:13:13 -04:00
David Anderson
7556886c23 Compile JSOP_IN (bug 594111, r=dmandelin). 2010-09-17 10:41:29 -07:00
Jason Orendorff
38d63ffa56 Back out changeset a8252fe3f211 due to turning everything orange. 2010-09-16 20:58:40 -07:00
Jason Orendorff
31cfa81e35 Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=mrbkap.
--HG--
extra : rebase_source : 717f7f4d4f3e6e96955cbb1ddb8ca9e1533914f7
2010-09-16 17:29:21 -07:00
David Anderson
3bced69ba2 Fix instanceof with bound functions (bug 597167, r=brendan). 2010-09-16 19:31:11 -07:00
David Anderson
4c55c224e5 Compile JSOP_DELNAME (bug 597137, r=dmandelin). 2010-09-16 17:26:32 -07:00
David Anderson
c4431d1a07 Compile JSOP_DEFVAR (bug 594117, r=dmandelin). 2010-09-16 17:25:38 -07:00
David Mandelin
c1def1ffa6 Bug 596460: try making Interpret not inlined to avoid stack frame bloat in other functions, r=dvander 2010-09-16 15:20:56 -07:00
David Anderson
699ebd405b Compile JSOP_DELPROP, JSOP_DELELEM (bug 578736, r=dmandelin). 2010-09-16 12:13:25 -07:00
Blake Kaplan
7418b836b8 Fix warning. No bug. rs=jorendorff
--HG--
extra : rebase_source : 00de9de8537125213dd43420511c449c2ee77167
2010-09-16 11:51:54 -07:00
David Anderson
2f002d500e Add local and argument closure information to JSScript (bug 592973, r=brendan+dmandelin).
--HG--
extra : rebase_source : 3d36a7908230006f2b048835f7526962fac2b32b
2010-09-13 22:33:44 -07:00
Gregor Wagner
ca86274758 Back out 94e52cdc2157 2010-09-29 13:39:22 -07:00
Andreas Gal<gal@uci.edu>
45165dced8 Bug 600580 - TM: set right compartment in _newJSDContext r=gregor 2010-09-29 12:28:05 -07:00
David Anderson
45496e2886 Added test case for bug 597378 (a=NPOTB). 2010-09-27 11:14:36 -07:00
David Anderson
ce7d0ca356 Fix ICs on method-valued shape properties (bug 600424, r=dmandelin).
--HG--
extra : rebase_source : 70218ae27fbca50181bc578d3388559b487ca75a
2010-09-29 12:04:29 -07:00
Luke Wagner
0c77b74a68 Bug 576172 - TM: don't try to add peers or branches if abort flushed the jit cache (r=gal) 2010-09-29 11:31:52 -07:00
David Anderson
3b5e682c66 Fix some FrameState functions not passing tracked FEs (bug 600163, r=dmandelin). 2010-09-29 10:06:32 -07:00
Andreas Gal<gal@uci.edu>
ed2f2057d1 Bug 600032 - TM: set right compartment for Jetpack r=gregor 2010-09-29 09:23:04 -07:00
Brian Hackett
1ddca3c75a Improved JM call path, bug 587707. r=lw,dvander 2010-09-29 06:27:34 -07:00
Ginn Chen
0d4212e997 Bug 594718 fix typo in last commit 2010-09-29 14:22:28 +08:00
Nicholas Nethercote
903d2fb43b merge 2010-09-28 22:39:44 -07:00
Nicholas Nethercote
1011a3dade Backed out changeset 7e831598f812 due to tinderbox oranges. 2010-09-28 22:39:19 -07:00
Nicholas Nethercote
35f835d391 Update nanojit-import-rev stamp. 2010-09-28 22:38:48 -07:00
Nicholas Nethercote
4119caf76d Backed out changeset 2e21c25656ee due to tinderbox oranges.
--HG--
extra : convert_revision : ce381ce50f62501ae385870d1328df73e68d7a27
2010-09-28 22:36:32 -07:00
Nicholas Nethercote
f914345ea4 Bug 600127 - nanojit: do implicit constant propagation after guards (TM-specific part). r=gal. 2010-09-28 21:58:17 -07:00
Nicholas Nethercote
bc0fec7e4a Update nanojit-import-rev stamp. 2010-09-28 21:35:49 -07:00
Nicholas Nethercote
f2133a680f Bug 600127 - nanojit: do implicit constant propagation after guards. r=edwsmith.
--HG--
extra : convert_revision : 2e21c25656ee7367520468cf37ccb23d989ee7f7
2010-09-28 21:07:43 -07:00
Nicholas Nethercote
e8626d0e45 Return a non-zero exit code from testlirc.sh when a test fails so that failures show up orange on tinderbox. r=me.
--HG--
extra : convert_revision : 055c46c2e4f7d6402c3ed91891b8851b4df2aafc
2010-09-28 16:36:19 -07:00
David Anderson
2804cac937 Fix closed-name analysis in with-statements (bug 593556, r=brendan).
--HG--
extra : rebase_source : 3ca35ee12087fe262ec147d571900fb94e809979
2010-09-28 21:09:21 -07:00
Johnny Stenback
e9ec6c1765 Fixing bug 599761. Use the right compartment in jsd. r=gal. 2010-09-28 19:29:29 -07:00
David Mandelin
f43643b503 Bug 599400: handle recompiling top-level script for debugging, r=dvander
--HG--
extra : rebase_source : c74cc4bb3291e9c35c28066378cb1ece852869d2
2010-09-28 18:39:45 -07:00
Nicholas Nethercote
4793afb76c Bug 600153 - TM: fix storeAccSet for functionProbe(). r=sphink. 2010-09-28 18:00:07 -07:00
Sean Stangl
870953b461 Fix rsh, storeTo() allocReg() usage. b=596817, r=dvander. 2010-09-28 20:06:12 -04:00
David Anderson
b0758d297b Fix addprop IC proto guards not being repatched (bug 599299, r=bhackett). 2010-09-28 09:53:16 -07:00
Ginn Chen
c23cb1789b Bug 594718 lock_sparc*.il should not be used on x86 machine r=ted.mielczarek 2010-09-28 18:03:51 +08:00
Ginn Chen
5b67866f99 Bug 584305 Define no extern "C" version ObjectOps to fix build issue with Solaris Studio r=brendan 2010-09-28 17:59:25 +08:00
Brendan Eich
1b78aa968a Style policing: else-after-break, bracing, un-nest assignment (initialize decl instead), etc. (r=gal). 2010-09-28 03:16:59 -04:00
Nicholas Nethercote
a91823b958 Update nanojit-import-rev stamp. 2010-09-27 20:58:59 -07:00
Nicholas Nethercote
7d32b0e525 Bug 598486 - nanojit: clarify semantics of comparisons. r=edwsmith.
--HG--
extra : convert_revision : 2c8245cb9048cc79ca561ec7a7b014249788247c
2010-09-26 22:36:16 -07:00
Nicholas Nethercote
a9ecc87093 599245 - nanojit: clean up formatting in Nativei386.cpp. r=stejohns.
--HG--
extra : convert_revision : f7b8497b9f0ac1d01d0a86ba7e28c812e6ea8140
2010-09-26 16:47:10 -07:00
Edwin Smith
52ea68fee4 Bug 572798 - add LIR_callv (r=nnethercote)
Adds LIR_callv for calls to helper functions that return void.

Added a ValidateWriter check that LIR_callv to be paired with ARGTYPE_V,
plus checks for the other obvious pairings, plus a check that callv must
not call a _pure=1 function.

getCallOpcode() returns LIR_callv for ARGTYPE_V, as expected.  This means that
some calls will return LTy_V from LIns::retType(), as expected, but unlike
before.  This in turn can cause a ValidateWriter error if an instruction uses
the result of a void call.  (after all, that's the point).

Each backend was modified to not assign a register or save the result of a void
call.

--HG--
extra : convert_revision : f1076b3fa633922ce95c24ac622934be4815376d
2010-09-23 15:08:15 -04:00
Jacob Bramley
64beede2e2 Add more calling-convention tests. [Bug 596545] [r=nnethercote]
--HG--
extra : convert_revision : 8ac6775d9ccfbff39975cc45c060ce4555f5b221
2010-09-23 10:31:16 +01:00
David Anderson
d8da9157cd Fixed bogus assert (bug 597871 fallout, a=orange). 2010-09-27 20:21:11 -07:00
Andreas Gal
427173403d Fix extra ';' warning (fallout bug 600015). 2010-09-27 18:37:37 -07:00
Andreas Gal
5f2192e25d Follow-up for bug 600015. Incorrect use of SwitchToCompartment. 2010-09-27 18:31:32 -07:00
David Anderson
6e64d4a13b Fix exception handling inside trace and method JIT integration (bug 597871, r=jorendorff, a=blocking). 2010-09-27 09:02:08 -07:00
Nicholas Nethercote
2f1f144989 Bug 599254 - Avoid an unnecessary switch in the JSON parser. r=sayrer. 2010-09-27 17:20:43 -07:00
Andreas Gal
36bbc0f2d9 Compilation fix for bug 600015. 2010-09-27 16:27:30 -07:00
Andreas Gal
1649ef6d21 Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap). 2010-09-27 15:55:15 -07:00
Gregor Wagner
02421e6aa4 Bug 599801 - TM: Clean up Compartment (de)construction. r=sayrer 2010-09-27 15:35:10 -07:00
Luke Wagner
257e802dc5 Bug 599446, part 2 - Add missing case for non-function callees to assert (a=orange)
--HG--
extra : rebase_source : a5eba024dae5c431af7817aa92c37744bef08db7
2010-09-27 13:09:48 -07:00
Igor Bukanov
97f9c90ef3 bug 586161 - making sure that all compartments are purged. r=anygregor 2010-09-27 14:29:01 +02:00
Luke Wagner
7a7f4e847c Bug 599446 - Weaken bug-finding assert in CallJSNativeConstructor (r=brendan,a=sayrer) 2010-09-24 12:54:13 -07:00
David Anderson
afd2405222 Backed out changeset 63066ec9dd8d (a=orange). 2010-09-27 11:46:03 -07:00
David Anderson
d5f3d53b7f Fix exception handling inside trace and method JIT integration (bug 597871, r=jorendorff, a=sayrer). 2010-09-27 09:02:08 -07:00
Robert Sayre
2624f5cf36 Merge mozilla-central to tracemonkey. 2010-09-26 12:49:11 -04:00
Robert Sayre
ceb91cdc61 Remove useless comment. 2010-09-25 23:05:36 -04:00
Andreas Gal
78d0ee549c Optimize XML namespace handling. Bug 599166. r=brendan. a=sayrer 2010-09-24 15:23:54 -04:00
Robert Sayre
6bb82f6b8b Merge mozilla-central to tracemonkey. 2010-09-23 23:48:27 -04:00
David Anderson
8925f45747 Do not inline js::mjit::TryCompile (bug 596460, r=sstangl).
--HG--
extra : rebase_source : 06796a4e840e72a14d2648ec2ed99427edd16c05
2010-09-23 17:41:21 -07:00
Robert Sayre
70421a2fb5 Merge tracemonkey to mozilla-central. a=blockers. 2010-09-23 20:09:54 -04:00
Chris Leary
a9624ec341 Back out b70659aca040, burning XPCShell tests. (no_r=me) 2010-09-23 16:48:35 -07:00
Andreas Gal
bbf6e6f58d Backed out changeset 52c66b17843e (bug 592907). 2010-09-23 16:21:37 -07:00
Gregor Wagner
f52995be1c Bug 592907 - TM: set JSGC_MAX_BYTES to a sane value (r=igor) 2010-09-23 15:31:32 -07:00
Chris Leary
203741ee8e Bug 596580: fix versioning on mozJSSubScriptLoader. (r=sayrer,brendan)
--HG--
extra : rebase_source : fb2fe804a3f94bc9d6947605ce0e0c19a29b2227
2010-09-23 14:48:58 -07:00
Shu-yu Guo
1898233548 Bug 573569: One-pass SSA builder for Narcissus. (r=gal) 2010-09-23 13:19:05 -07:00
David Anderson
e6ef191c40 Optimize FrameState for large linear scripts (bug 591836, r=dmandelin).
* * *
Remove FrameState::base (bug 591836 part 1, r=dmandelin).
* * *
New register pinning invariants (bug 591836 part 2, r=dmandelin).
* * *
Remove FrameState::tosFe() (bug 591836 part 3, r=dmandelin).
* * *
New copy order invariant (bug 591836 part 4, r=dmandelin).
* * *
Optimize immutable frame syncing (bug 591836 part 5, r=dmandelin).
* * *
Optimize frame merging (bug 591836 part 6, r=dmandelin).
* * *
Optimize copying frame entries (bug 591836 part 7, r=dmandelin).
* * *
Optimize mutable frame syncing (bug 591836 part 8, r=dmandelin).
* * *
Optimize syncing in try blocks (bug 591836 part 9, r=dmandelin).
2010-09-21 18:34:42 -07:00
Igor Bukanov
b8792e95c1 bug 597736 - fixing TreeFragment leak. r=gal 2010-09-21 14:58:19 +02:00
Brian Hackett
944cb69b95 Fix assert when comparing identical values, bug 599488. r=dvander 2010-09-25 10:47:19 -07:00
Igor Bukanov
bd21beac91 bug 599481 - static string tables should be constant. r=alangpierce 2010-09-25 00:36:58 +02:00
Brendan Eich
ac27a6ce80 Fix patch merge problem that restored bad old script line for 597945-1.js. 2010-09-25 17:16:35 +02:00
Igor Bukanov
b0d9b068e1 bug 558861 - followup to add missing explicit template instantiations for assureThingIsAligned 2010-09-25 11:42:25 +02:00
Brendan Eich
4244210552 Object.defineProperty should avoid JS API inside engine, plus a few other cleanups (598176, r=jorendorff). 2010-09-16 23:07:02 -07:00
Makoto Kato
65a42553b6 Bug 597814 - Optimize js_DoubleToECMAInt32 for MSVC and gcc x86_64. r=dvander 2010-09-24 20:19:43 -04:00
Gregor Wagner
3bb62ab91b Bug 558861 - Fix assertion on startup. r=gal 2010-09-24 15:07:02 -07:00
Blake Kaplan
5b4e5f75d1 No bug. Fix some nits and warning fixes. 2010-09-24 15:05:46 -07:00
Sean Stangl
0609c2fcec Templatize MethodJIT Assemblers. b=598835, r=dvander. 2010-09-24 17:12:08 -04:00
Shu-yu Guo
06c48a13a1 Small narcissus formatting fixes. (rs=brendan) 2010-09-24 14:01:52 -07:00
Gregor Wagner
fdb731becb Bug 558861 - Compartmental GC (r=gal) 2010-09-24 10:54:39 -07:00
Brendan Eich
c27e88caa4 Fix shape vs. slot management under putProperty, plus related layering and error reporting fixes (596805, r=jorendorff). 2010-09-16 11:56:54 -07:00
Robert Sayre
2ae5db2ff0 Fix test_canvas.html mochitest. Using preventExtensions on a huge typed array is a bad idea right now. Bug 598969. r=brendan 2010-09-23 13:56:11 -04:00
Nicholas Nethercote
125d4d111e Update nanojit-import-rev stamp. 2010-09-22 19:26:04 -07:00
William Maddox
9ab7c2a331 Bug 542905 - cse chains should be cleared more selectively in case of labels. r=nnethercote.
--HG--
extra : convert_revision : 3cdd8540979dda01630e0676b273250311e26284
2010-09-22 19:04:48 -07:00
Sean Stangl
633fc2cc7c Fix incorrect jsval_layout on x86 opt builds. no_r=fire. 2010-09-22 21:44:23 -04:00
Sean Stangl
1e56b6d6de Faster x64 Value storing; b=598491, r=dvander. 2010-09-22 21:03:22 -04:00
David Anderson
126a9558ea Merge backout. 2010-09-22 17:41:14 -07:00
David Anderson
2e9af3ac56 Backed out changeset 1af8f0c895bc from PGO bustage 2010-09-22 17:40:31 -07:00
Brendan Eich
72dd2a80e0 Warning fix from Luke (no bug, r=me). 2010-09-22 18:51:50 -04:00
David Anderson
9177721d82 Fix method-JIT debug mode bugs and add more testing capability (bug 598444, r=sstangl). 2010-09-22 14:29:48 -07:00
David Anderson
2055a5d505 Fix FrameState::forgetType with eval (bug 598696, r=sstangl). 2010-09-22 11:15:34 -07:00
Chris Leary
a042240626 Bug 593663: emulate flat regexps in three-argument String.prototype.replace. (r=lw) 2010-09-22 10:27:38 -07:00
David Anderson
8421061eb5 Optimize FrameState for large linear scripts (bug 591836, r=dmandelin).
* * *
Remove FrameState::base (bug 591836 part 1, r=dmandelin).
* * *
New register pinning invariants (bug 591836 part 2, r=dmandelin).
* * *
Remove FrameState::tosFe() (bug 591836 part 3, r=dmandelin).
* * *
New copy order invariant (bug 591836 part 4, r=dmandelin).
* * *
Optimize immutable frame syncing (bug 591836 part 5, r=dmandelin).
* * *
Optimize frame merging (bug 591836 part 6, r=dmandelin).
* * *
Optimize copying frame entries (bug 591836 part 7, r=dmandelin).
* * *
Optimize mutable frame syncing (bug 591836 part 8, r=dmandelin).
* * *
Optimize syncing in try blocks (bug 591836 part 9, r=dmandelin).
2010-09-21 18:34:42 -07:00
Nicholas Nethercote
f2c3780ce4 Update nanojit-import-rev stamp. 2010-09-21 16:06:08 -07:00
Nicholas Nethercote
17899a7415 Fix assertion failure caused by the patches for bug 575529. r=me.
--HG--
extra : convert_revision : 59df8fdb2c08cca47a47b2a5210022cea0180fd3
2010-09-21 15:59:57 -07:00
William Maddox
842155af2a Whitespace cleanup, nanojit subdir only (r=me)
--HG--
extra : convert_revision : a623aab958efda06d12eca456304fc674c92a589
2010-09-21 15:20:20 -07:00
William Maddox
7a787678c4 Bug 598151 - Account for unreachable code following LIR_j when tracking x87 stack depth
--HG--
extra : convert_revision : 4becc719d20e27c65f64ed872ab3cb7bd08c8c68
2010-09-21 14:35:11 -07:00
Tommy Reilly
53d6d47f23 Fix valgrind errors from CPP define already defined (r=edwsmith)
--HG--
extra : convert_revision : aaa4e162e47e7b05cf6c04a51975f6a4042c604c
2010-09-17 14:35:49 -04:00
Steve Fink
6a33041b03 Bug 583143 - Fix bustage with MOZ_TRACEVIS and other NPOTB code (r=lw) 2010-09-20 12:43:52 -07:00
Brian Hackett
8e78085545 Fix strict-aliasing warning on interruptFlags/interruptCounter, bug 589193. r=igor 2010-09-21 14:29:11 -07:00
David Anderson
52761821cf Fix global variables overwriting resolved properties (bug 595917, r=brendan). 2010-09-21 12:38:30 -07:00
Jim Blandy
9b88f70086 Bug 492845: Implement Object.isSealed, Object.seal. a=jwalden, r=brendan 2010-09-21 11:35:30 -07:00
Jim Blandy
accd8966fa Bug 492844: Implement Object.freeze, Object.isFrozen r=brendan,jorendorff
This also moves ecma_5/strict/shell.js's deep_equal to ecma_5/shell.js, and
renames it deepEqual, for consistency with the rest of the world. It also improves deepEqual's handling of -0, 0, and NaN.
2010-09-21 11:35:29 -07:00
Jim Blandy
96d7c2007b Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan
--HG--
rename : js/src/jsapi-tests/testSeal.cpp => js/src/jsapi-tests/testDeepFreeze.cpp
2010-09-21 11:35:29 -07:00
Jim Blandy
ad83424ea2 Bug 594574: Change GetPropertyNames to take its out-parameter by address, not by non-const reference. r=brendan 2010-09-21 11:35:29 -07:00
Igor Bukanov
dfd669fcf1 bug 597906 - js shell: functions to observe object finalization. r=jorendorff 2010-09-20 15:55:58 +02:00
Ginn Chen
c082ddcc6b Bug 597976 Make it able to build TraceJIT w/o MethodJIT r=dvander 2010-09-21 16:12:20 +08:00
Ginn Chen
a57ebc8842 Bug 597828 Implement setSSECheckState for Solaris Studio compiler r=dvander 2010-09-21 15:56:56 +08:00
Ginn Chen
1adbef9029 Bug 597831 Update TrampolineSUNW*.s r=dvander 2010-09-21 15:56:28 +08:00
Luke Wagner
656da172a8 Bug 595668 - create XPCCallContext in XPC_NW_Construct (r=mrbkap)
--HG--
extra : rebase_source : a9fb4a39b56af90045f6055d31354c61cbc97a0d
2010-09-20 18:23:04 -07:00
Brendan Eich
adfba421c2 Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-21 00:04:25 -07:00
Nicholas Nethercote
5903259553 merge 2010-09-20 22:16:07 -07:00
Robert Sayre
7cdfad2571 Merge backout. 2010-09-21 00:44:35 -04:00
Robert Sayre
031267d073 Back out changeset d7d3c0af2877. Brendan Eich – Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-21 00:44:17 -04:00
Nicholas Nethercote
c64731897d Bug 575529 - TM: use interval analysis to remove more overflow checks (TM-specific part). r=gal. 2010-09-20 21:37:53 -07:00
Nicholas Nethercote
49883fd9ff Update nanojit-import-rev stamp. 2010-09-20 21:36:35 -07:00
Nicholas Nethercote
ef16f085cd Bug 575529 - TM: use interval analysis to remove more overflow checks. r=edwsmith,jseward.
--HG--
extra : convert_revision : 8f99b0ecb75811b021be0e91e20fd97c87c290ba
2010-09-20 20:33:29 -07:00
Nicholas Nethercote
1b30aac347 Update nanojit-import-rev stamp. 2010-09-20 17:35:11 -07:00
Brendan Eich
2f94ccfb1e Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-20 15:21:41 -07:00
Jacob Bramley
55cbf97a18 Fix long-range offsets on ARM. [Bug 596923] [r=nnethercote]
--HG--
extra : convert_revision : 9b1829d9cfe6fa074f308cf84bd9fe4c43b7a46e
2010-09-20 07:58:53 +01:00
Jacob Bramley
e771011d46 Remove dependency on Bash 3 regex support and simplify test selection for soft-float platforms. [Bug 535709] [r=nnethercote]
--HG--
extra : convert_revision : 10432e19f751b78f39991b15e60686c7d78226bb
2010-09-16 16:27:45 +01:00
Nicholas Nethercote
ced06e86bf Bug 595728 - nanojit: clarify semantics of shift operations. r=edwsmith.
--HG--
extra : convert_revision : 2a75fed5283f0efb625b10d20db007ad6bfe849a
2010-09-13 10:59:56 -07:00
Edwin Smith
9e20f0f9b8 Fix whitespace in NativeSH4.cpp
--HG--
extra : convert_revision : 0f7bd7152883172e03a84e17d3bbf7ddbdb2439f
2010-09-13 09:29:56 -04:00
Edwin Smith
8c1f52860f Bug 590553 - asm_ui2d on x86 generates illegal writes below ESP, caught by valgrind (r=nnethercote)
--HG--
extra : convert_revision : 4829136085669a40d0bf61721e5cdd43a9696fc1
2010-09-13 09:13:44 -04:00
Justin Lebar
b72054ea9c Bug 571289 - Don't use nsScriptSecurityManager off the main thread. r=mrbkap, a2.0=blocking
--HG--
extra : rebase_source : 2d945cee865472804ed3aff78af237a60f5a19d4
2010-09-17 14:44:53 -07:00
Justin Lebar
b3d081ede5 Bug 593116 - Use -fomit-frame-pointer when compiling jsinterp.c. r=ted, a2.0=sayrer
--HG--
extra : rebase_source : 811ba3d12c513ee8fe8d16a3557ce01e4a8f2504
2010-09-10 11:45:15 -07:00
Masatoshi Kimura
d6b46ad3d3 Add support for CL_INCLUDES_PREFIX environment variable for handling localized cl.exe /showIncludes output. (Bug 587372) r=ted a2.0=blocking2.0:final 2010-09-17 12:29:52 -07:00
David Anderson
a02b95d42d Fix global variables overwriting resolved properties (bug 595917, r=brendan, a=blocking). 2010-09-21 12:38:30 -07:00
Luke Wagner
604b7b661f Bug 595668 - create XPCCallContext in XPC_NW_Construct (r=mrbkap) 2010-09-20 18:23:04 -07:00
Brendan Eich
731ad72609 Fix slot leak that leads to allocSlot assert botch (597945, r=jorendorff). 2010-09-21 00:04:25 -07:00
Mark Banner
9ab0271494 Bug 598279 - Building Javascript as shared library broken wrt xpconnect: xpcjsruntime.cpp:806: undefined reference to 'js::TriggerOperationCallback(JSContext*)'; r=igor,a=bustage fix for shared JS library builds, e.g. non libxul 2010-09-21 13:59:55 +01:00
Robert Sayre
9a254c625e Merge tracemonkey to mozilla-central. a=blockers 2010-09-21 01:11:46 -04:00
Jacob Bramley
d3f59acb53 Quick fix for non-EABI (Windows Mobile) bug introduced in 49a8ed180ad0. [Bug 535709] [r=me]
--HG--
extra : convert_revision : 7b43473880200943d0362c5eab2e957e23414f45
2010-09-09 08:55:27 +01:00
William Maddox
e7c286a259 Bug 590212 - Use correct mask for j/jal instructions on MIPS (r=wmaddox+)
Patch submitted by chris@mips.com

--HG--
extra : convert_revision : 2a6f54d0e9aafc1b3973d01cb7bf78815d53f9ec
2010-09-08 17:37:02 -07:00
Justin Lebar
e5476a3105 Bug 590181 - Part 2: Use -O3 on Linux. r=ted, a2.0=dbaron (landing on CLOSED TREE) 2010-09-08 10:10:31 -07:00
Rick Reitmaier
5fc61e5b43 Bug 568486 - Synchronize the SH4 backend with Bug 587916 (r=rreitmai) [Cedric Vincent]
--HG--
extra : convert_revision : e5186c20dda9acb39c819e58ffba0153712b6130
2010-09-08 08:50:53 -07:00
Cédric VINCENT
7eb372bec3 Bug 594296 - Fix the implementation of Assembler::asm_cmov() in the SH4 backend (r=nnethercote r=rreitmai sr=edwsmith)
--HG--
extra : convert_revision : 616a6130e06155aead8751eba04981e3760999c8
2010-09-08 01:50:00 -07:00
Brian Hackett
d2c59c063a Compile INITPROP/INITELEM, bug 606477. r=jorendorff,dvander 2010-11-18 18:14:22 -08:00
Bill McCloskey
d1a1db8703 merge 2010-11-18 18:04:59 -08:00
Bill McCloskey
e6ae9975cb Backed out changeset 08794e076ded to fix gmail (a=backout) 2010-11-18 18:04:46 -08:00
Bill McCloskey
4889097dcc merge 2010-11-18 18:04:22 -08:00
Bill McCloskey
120d50c6d9 Backed out changeset d446894bc3a6 2010-11-18 18:03:41 -08:00
Brian Hackett
7a5f8721bc Don't let dynamic slots shrink below numFixedSlots(), bug 613122. r=brendan 2010-11-18 17:00:39 -08:00
Luke Wagner
9db98566fb Backed out changeset 31e0cd11f015 2010-11-18 16:58:16 -08:00
Luke Wagner
319ccaa65d Bug 561954 - Avoid costly deep bail by aborting earlier on bad global prop access (r=jorendorff) 2010-11-18 10:49:45 -08:00
Bill McCloskey
d93b66dd7d Bug 606890 - Allow profile to profile short loops twice (r=dmandelin) 2010-11-17 17:15:08 -08:00
Jason Orendorff
bd95c1239f Bug 609103 - jsapi-tests/testThreads.cpp should call JS_SetNativeStackQuota to avoid stack overflow. rs=gwagner. 2010-11-17 17:13:15 -06:00
Jan de Mooij
96d0c8e0fa Bug 612989 - Try to convert numbers being parsed to int32 in JSON.parse. r=sayrer,jwalden 2010-11-17 21:54:29 +01:00
Alon Zakai
127f68f980 Bug 502836 - Fix 'script stack space quota is exhausted' error. r=igor a=blocking-betaN+ 2010-11-18 14:16:36 -08:00
Alon Zakai
812bf3c258 Bug 610046 - Let jsreftests that should silently fail do so. r=dbaron,bc a=test 2010-11-18 14:14:57 -08:00
Paul Biggar
28fb431a8e Bug 611060 - Allow -r and -l to be passed to disfile (r=igor) 2010-11-18 11:22:24 -08:00
Jim Blandy
75087aebb4 No bug: Add missing ampersand in non-JS_THREADSAFE case. r=red 2010-11-18 10:51:56 -08:00
Paul Biggar
dc3ddd6807 Bug 608696 - Properly fix CROSS_COMPILE. 2010-11-18 10:46:49 -08:00
Igor Bukanov
5d06dd5a14 Bug 599610 - making sure that PurgeScriptFragments collects all fragments 2010-10-06 17:21:23 +02:00
Ginn Chen
e35291a12f Bug 613127 jsprobes.cpp failed to build with --enable-dtrace r=gal 2010-11-18 17:03:49 +08:00
Jacob Bramley
a5c1330a28 Replace deprecated API usage in nanojit/NativeARM. [Bug 535709] [r=njn]
--HG--
extra : convert_revision : 49a8ed180ad089001a9e915e755b5b394a9c0a2a
2010-09-06 09:28:10 +01:00
David Mandelin
d6997c3022 Bug 609244: use entry script's compartment for VM frame stack management, r=dvander, a=beta8+ 2010-11-10 16:49:31 -08:00
Blake Kaplan
5847c714c5 Bug 571849 - Fix enumerateOwn and the Iterate constructor on Xray wrappers. r=gal a=blocking 2010-11-10 14:08:44 -08:00
Blake Kaplan
29961b07da Bug 605760 - Deal with null a subject principal here. r=jst
--HG--
extra : transplant_source : %BF%E0aY%BB/K%D7Xf%DD%60%FB%B0%DB%1B%C5%B1%8C%AA
2010-11-10 14:08:11 -08:00
Karl Tomlinson
f6dd30961a b=597147 part 15: set up PangoAnalysis for Pango shaping r=jfkthame
--HG--
extra : rebase_source : 89c6d15adbf7d82672939889aad64a80a36f945a
2010-11-11 11:25:59 +13:00
Blake Kaplan
d1c59140ef Bug 609139 - Propagate interfaces more eagerly. r=jst a=blocking beta8 2010-11-09 12:29:41 -08:00
Blake Kaplan
ca33e41f5d Bug 610078 - Return the value when we found it on a proxy. r=brendan a=blocking betaN 2010-11-05 18:25:37 -07:00
Blake Kaplan
c648566dbb Bug 609496 - Get rid of compartment-obsoleted code. r=jst a=blocking betaN
--HG--
extra : rebase_source : 0241526965897b83db8299331105244b2aceecbc
2010-11-04 17:23:22 -07:00
David Mandelin
ded3cbc21f Bug 608868 part 2: verify that scope chain start is native before IC'ing, r=dvander, a=beta8+
--HG--
extra : rebase_source : e0ea8c99782f6518f7973648ed157fd7bb8b35d5
2010-11-09 12:28:11 -08:00
Daniel Holbert
213e2ecca6 Bug 610642: s/NULL/0/ to fix build warning "NULL used in arithmetic". r=dmandelin a=shaver 2010-11-09 11:50:24 -08:00
Justin Wood
53e4f33184 Followup to Bug 585625 we need to sync js/src too r=sad build, rs=khuey, a=sad build 2010-09-20 00:07:06 -04:00
Blake Kaplan
c0cb068948 Bug 580128 - Preliminary fixes to make .wrappedJSObject on XrayWrappers work. Overridden by later patches. r=gal 2010-09-03 19:24:23 -07:00
Blake Kaplan
cfd8caf51b bug 580128 - Temporary fixes to XrayWrapper - note: these were mostly overridden by later patches. r=gal 2010-09-02 16:02:51 -07:00
Blake Kaplan
2316129cdc bug 580128 - Make AccessCheck work (fixing bad calls/missing assumptions). r=gal/peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan
0d477e8a1f bug 580128 - The rewrap hook needs to know what parent to use when creating wrappers. r=gal 2010-09-17 14:54:40 -07:00
Blake Kaplan
0e7a7f5511 bug 580128 - Create a proxy for the outer window and use it. Note: this turns on new wrappers for all objects. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan
cfc2a1a543 bug 580128 - Don't assume that we have a wrapped native object here. r=gal 2010-09-17 14:54:40 -07:00
Blake Kaplan
3c355b8fa0 bug 580128 - Give API consumers a way to perform "brain transplants" on an object. r=gal 2010-09-17 14:54:40 -07:00
Blake Kaplan
5bc789b070 Bug 580128 - Give objects a way to inform XPConnect that they implement their own JS object in a way that does not involve wrapped natives. r=peterv 2010-09-17 14:54:40 -07:00
Luke Wagner
07202b774d Remove unnecessary padding from JSStackFrame 2010-10-08 22:58:33 -07:00
Robert Sayre
ba8adf47b3 Merge mozilla-central to tracemonkey. 2010-10-08 21:56:00 -04:00
Luke Wagner
c556237dc1 Bug 578916 - Cache results of Math.sin() (r=waldo) 2010-10-06 12:13:20 -07:00
Luke Wagner
69cfb82e89 Bug 601296, part 3 - speedup FindReplaceLength - inline JS_GetEmptyStringValue (r=cdleary) 2010-10-04 11:45:56 -07:00
Luke Wagner
d8b5c15f9b Bug 601296, part 2 - speedup FindReplaceLength - don't copy RegExpStatics (r=cdleary) 2010-10-04 11:45:34 -07:00
Luke Wagner
48daa0557a Bug 601296, part 1 - speedup FindReplaceLength - inline js_ValueToString (r=cdleary) 2010-10-04 11:45:34 -07:00
Luke Wagner
cbc9601aa0 Bug 581893 - build a js::Invoke Gatling gun (r=waldo) 2010-09-28 15:23:43 -07:00
Gregor Wagner
1f3d45495c Bug 600139 - Delayed marking can skip marking live objects r=igor 2010-10-08 16:25:57 -07:00
Brendan Eich
91c97f62fa Clean up JSOP_DEFFUN and duplicated methodjit StubCall logic, fixing latent arguments override bug (602621, r=igor). 2010-10-07 13:52:58 -07:00
David Mandelin
996e09cfb5 Bug 602744: fix test case for JSOP_BEGIN with trap, r=dvander 2010-10-07 18:59:18 -07:00
Benedict Hsieh
8442941c67 Bug 588335-Investigate adding consumer-identifier to startupcache r=dwitte a=blocking-final 2010-10-07 15:43:15 -07:00
Rick Reitmaier
7963fcaad6 Bug 568486 - Additional lirasm tests (r+nnethercote) [Cedric Vinent]
--HG--
extra : convert_revision : 2c3056daeba3fd8b9fa6a655fa8d91f71df5e5ba
2010-08-31 11:14:48 -07:00
Rick Reitmaier
3ff418bccb Bug 568486 - SH4 (a.k.a ST40) target support for NanoJIT (r+nnethercote,edwsmith,rreitmai) [Cedrick Vincent]
--HG--
extra : convert_revision : 00cee92849b45f9ab8a908446ce62cd2480d036b
2010-08-31 10:06:13 -07:00
Mike Hommey
bd598aa206 Bug 552624 - ARMv4T support for nanojit. r=jbramley
--HG--
extra : convert_revision : 6b09fdb0cbc625ded40971eb6929d599182375a6
2010-08-31 11:51:23 +02:00
Olli Pettay
05b9ab5a2e Backout Bug 508518, a=regression? 2010-10-12 12:55:31 +03:00
Olli Pettay
cb6e20ac9b Bug 508518, Implement nsUITimerCallback with one-shot timer, p=romaxa+me, r=jst, a=blocking-fennec 2010-10-12 11:09:06 +03:00
Jesse Ruderman
2c5d8b9867 Bug 512815 - add crashtest 2010-10-11 09:55:22 -07:00
Chris Jones
4dada3937e Bug 602978: Blacklist JITs on the GT-I9000. r=dvander a=blocking-fennec 2010-10-08 16:22:36 -05:00
William Maddox
60462ed735 Fix inaccurate comment in ExprFilter::insBranch() (r=nnethercote+)
--HG--
extra : convert_revision : a9af83064f225bddbe878fc63dce529a3b0fe48a
2010-08-26 17:44:45 -07:00
Steven Johnson
6a09e1493a Bug 590785 - njconfig.i386_use_cmov is not initialized properly (r=njn,rreitmai)
--HG--
extra : convert_revision : 59a48227c291c53574b628358d9d581664848382
2010-08-26 14:02:14 -07:00
Benjamin Smedberg
872c579164 Bug 5976246 - pymake bustage in js/src because we have things.cc depend on jsautokw.h, and that does interesting things to $< with pymake. r+a=bustage-fix 2010-09-16 21:27:46 -07:00
Steve Fink
e6ddff3833 Bug 593483 - Unbreak (real) dtrace. r=gal, a=NPOTB 2010-09-16 13:21:12 -07:00
Robert Sayre
576da374ec Merge tracemonkey to mozilla-central. a=blockers 2010-09-16 09:24:02 -07:00
Chris Leary
c1efc206b8 Fix windows build breakage. 2010-09-16 01:38:19 -07:00
David Anderson
d9994e6934 Fixed thinko in 89283cd55a98 (bug 596457, no_r=me). 2010-09-15 23:01:03 -07:00
David Anderson
797765d0c9 Require SSE2 to use Method JIT on x86 (bug 596457, r=dmandelin). 2010-09-15 22:27:17 -07:00
Luke Wagner
22b9595546 Bug 595923 - InvokeConstructor can return primitive value (r=brendan)
--HG--
extra : rebase_source : 75fd8e06ce4abceb17f2452236e3425efdb035fa
2010-09-15 21:59:08 -07:00
Luke Wagner
4399739182 Bug 595916 - don't access actual args in TraceRecorder (r=dvander)
--HG--
extra : rebase_source : 72db63003c6995b446a5718fae1ca101e3a23996
2010-09-15 21:55:02 -07:00
Chris Leary
204b2a98e5 Bug 596026: PIC-like construct for GETELEM on trace. (r=jorendorff, a=nnethercote,cdleary)
--HG--
extra : rebase_source : 63b57898593b2b178a7ebb1f38071c1058ccb4f7
2010-09-15 21:33:17 -07:00
Benjamin Stover
755c4ace79 Bug 596433 - Method JIT inline assembly has illegal instruction [r=dvander, will get r=Jacob.Bramley asap] 2010-09-15 13:58:21 -07:00
Nicholas Nethercote
1196fa707b Remove unnecessary V8 platform-detection code that broke PPC builds in 562dc7fd7492. r=me. 2010-09-15 16:24:40 -07:00
Jim Blandy
2a3cf83056 Bug 537873, Bug 514574: Have strict mode code report TypeErrors for assignments, deletions. r=brendan
TODO: Fix error messages.
2010-09-15 13:43:55 -07:00
Jim Blandy
7747ff883f Bug 537873, Bug 514574: Delete unused property operation typedefs: JSDefinePropOp, JSPropertyIdOp. r=luke 2010-09-15 13:43:54 -07:00
Jim Blandy
f1251d7a8d Bug 537873, Bug 514574: Tests for strict mode assignments to read-only properties, deletions of non-configurable properties. r=jorendorff 2010-09-15 13:43:54 -07:00
Jim Blandy
eed175c2ac Bug 537873, Bug 514574: Use ObjectOps::setProperty for both fast and slow arrays. r=brendan 2010-09-15 13:43:54 -07:00
Nicholas Nethercote
687594069c Bug 558799 - Import FastDtoa code from V8. r=gal. 2010-09-15 11:49:12 -07:00
David Mandelin
3577fae9f6 Bug 595604: make sure we have a stack frame before we run the compiler in call ICs, r=dvander 2010-09-14 15:18:48 -07:00
Igor Bukanov
dc286830a3 bug 595207 - making functionNamespaceURIAtom eager for simpler code. r=brendan 2010-09-15 16:55:35 +02:00
Brendan Eich
666763cd97 Sample initialShape after putProperty call, which may go toDictionaryMode (596128, r=bhackett). 2010-09-14 12:07:15 -07:00
Brian Hackett
c401cdd9f8 OOL fast path for string comparison, bug 579479. r=dvander 2010-09-14 20:07:11 -07:00
Dave Herman
206fee8283 bug 594622, r=cdleary: support for TOK_XMLSPACE nodes 2010-09-14 19:55:53 -07:00
Dave Herman
9d8c1a41fa bug 569464, r=brendan: bad let-expression-statements in strict mode 2010-09-14 19:53:35 -07:00
Benjamin Stover
f270fa0ac7 Bug 596433 - Method JIT inline assembly has illegal instruction [r=dvander, will get a r=Jacob.Bramley asap] 2010-09-15 14:53:41 -07:00
Benjamin Stover
f94ed8fdc4 bug 596669 - Fennec Android crash in jsstr.cpp:ReplaceCallback, disable yarr for arm r=sayre a=blocking-fennec 2010-09-15 12:33:00 -04:00
Brendan Eich
158b754944 JSFunction::addLocal never calls Shape::maybeHash (595918, r=jorendorff). 2010-09-13 18:44:34 -07:00
Jason Orendorff
06829c5b39 Merge backout. 2010-09-14 17:44:30 -07:00
Jason Orendorff
1676aac8c4 Backed out changeset 84b4d4856e1e (bug 580033) due to orange. 2010-09-14 17:42:36 -07:00
Jason Orendorff
a43bea11f5 Bug 593147 - TM: global Object created in _newJSDContext needs a compartment. r=gal. 2010-09-14 16:24:59 -07:00
Jason Orendorff
9901eaf870 Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=gal,mrbkap.
--HG--
extra : rebase_source : ff05faf1a39513255bcd6218b0adf6ab554a30b1
2010-09-14 14:38:09 -07:00
Brian Hackett
5058265a9a Fix assert, bug 595921. r=dmandelin 2010-09-14 14:28:55 -07:00
Brendan Eich
ccc80abca5 Fix screwed up layering of GC marking for JSObject::emptyShape (596103, r=jorendorff). 2010-09-14 12:13:12 -07:00
Makoto Kato
c840ba8205 Bug 595766 - bustage Win64 build due to UnsetVMFrameRegs. r=dvander 2010-09-14 17:20:36 +09:00
Chris Leary
818371c4da Disable mochitest bug484107. (r=mrbkap, b=596134) 2010-09-13 21:40:47 -07:00
David Mandelin
ada5bcfdf9 Backout merge 2010-09-13 18:34:34 -07:00
David Mandelin
87e9ceb9bf Backed out changeset 834e5fb759c2 -- appears to be causing leaks on mochitest-browser-chrome 2010-09-13 18:34:11 -07:00
Chris Leary
269a7d6bab Bug 571355: Move RegExpStatics out of JSContext. (r=gal) 2010-09-13 15:53:50 -07:00
David Mandelin
7c97912baf Bug 595706: fix object class guard for arguments length PIC, r=cdleary
--HG--
extra : rebase_source : 7aef085022eefa1a214fcacc3f9b92795be579c1
2010-09-13 15:36:13 -07:00
Peter Van der Beken
250280ac1c Bug 592352 - 'Assertbotch on shutdown after IDB solo mochitest -- leaked contexts?'. r=bent. 2010-09-13 15:32:56 -07:00
David Mandelin
dca5850bce No bug, fix windows build bustage due to int32 type mismatch, r=burning, rs=njn 2010-09-13 14:52:33 -07:00
Sean Stangl
4756c3f985 Fix isNotType() usage in jsop_rhs_unknown_any(). b=593554, r=dvander. 2010-09-13 16:47:57 -04:00
Robert Sayre
bad43e469d Increment JSXDR_BYTECODE_VERSION 2010-09-13 13:21:31 -07:00
Nicholas Nethercote
837cae8aad Bug 590834 - Clean up number-to-string code. r=jwalden. 2010-09-13 13:08:25 -07:00
Chris Leary
86f41cf42a Fix build warning. (no_r=me)
--HG--
extra : rebase_source : cd1afe2f1e8597fb88ca530912dbd6008e3ee9f7
2010-09-13 13:00:58 -07:00
David Mandelin
9b5b678e32 Bug 595420: fix warning in trampoline compiler, r=lw 2010-09-13 11:30:11 -07:00
Jacob Bramley
eb1a424c11 [JAEGER] A trivial, but maybe not ideal fix for overflowing offset fields. [Bug 595336]. r=dvander 2010-09-13 10:28:42 -07:00
Chris Leary
2fa4fedbc1 Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw) 2010-09-13 09:38:22 -07:00
Jacek Caban
944566a777 Bug 595199 - [Jaeger] Linking failure on mingw due to wrong asm calls in MethodJIT.cpp r=dvander 2010-09-13 12:28:58 +02:00
Robert Sayre
a07edfcc75 Merge mozilla-central to tracemonkey. 2010-09-12 18:16:47 -04:00
Brendan Eich
7bcb596924 Modularize to avoid inline vs. not ShapeHasher static woes (595615, r=dbaron) 2010-09-12 09:34:56 -07:00
Brendan Eich
0366d26673 Try to fix Ts regression from patch for bug 592556... 2010-09-12 08:53:18 -07:00
Kyle Huey
8c6e1c37ec Disable js-reftest that requires shell features to work. a=shutupalready 2010-09-12 08:00:14 -07:00
Brendan Eich
2ac9654d21 Google Maps crash on tracemonkey branch (595365, precog a=jorendorff). 2010-09-11 23:55:25 -07:00
Luke Wagner
a7d340da1e Bug 592983 - combine and32 with branchTest32 (r=dmandelin) 2010-09-11 23:40:23 -07:00
Brendan Eich
e219062c77 Modularize to avoid inline vs. not ShapeHasher static woes (595615, r=dbaron, a=beta6+/debug-only-fix-for-devs). 2010-09-12 09:39:45 -07:00
Kyle Huey
90981d7015 Disable js-reftest that requires shell features to work. a=shutupalready 2010-09-12 06:12:06 -04:00
Brendan Eich
bd487062b6 Google Maps crash on tracemonkey branch (55365, precog r=jorendorff, a=beta6+). 2010-09-11 23:55:25 -07:00
Robert Sayre
732670edfb Merge tracemonkey to mozilla-central. a=blockers 2010-09-12 00:17:49 -04:00
L. David Baron
03dd1fff56 Fix bustage with various profiler integration options from JSNative signature change in JägerMonkey landing. (Bug 595544) r=sayrer a=bustage 2010-09-11 17:06:59 -07:00
Brendan Eich
d0a587b1ab Parenthesize lambda statement expressions to work in browser (where JSOPTION_ANONFUNFIX is set; followup for 593256). 2010-09-11 15:24:51 -07:00
Robert Sayre
4659902f34 jaegermonkey. what. a=arewefastyet 2010-09-11 15:06:33 -04:00
Robert Sayre
97f8489f1e Bug 590083 - temporarily disable ARM method jit 2010-09-11 09:58:37 -04:00
Luke Wagner
57ea7406d7 Missing union member for big-endian jsval_layout struct (r=ppc is burning) 2010-09-10 21:20:46 -07:00
Luke Wagner
af40c91154 Set rval in DisassFile (no bug, rs=brendan) 2010-09-10 17:06:40 -07:00
Luke Wagner
273362efd0 Bug 583275 - remove unnecessary unboxing cost of obj->getPrivate() on x64 (r=brendan) 2010-09-10 17:06:30 -07:00
Bill McCloskey
3645509f88 Bug 594969 - Fix DisassFile (r=lw) 2010-09-10 11:39:59 -07:00
Robert Sayre
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
Igor Bukanov
e3df6b0d60 bug 594138 - account for potential shape and dslots change after the GC in conservative GC tests. r=anygregor 2010-09-10 08:55:33 +02:00
Bill McCloskey
6fdf057e99 Blacklisting a trace could spent too much time in the interpreter (bug 595032, r=dvander). 2010-09-09 18:06:02 -07:00
Shu-yu Guo
771a3d2b97 Bug 594604: Various narcissus jsparse fixes. (r=taustin) 2010-09-09 17:40:13 -07:00
Shu-yu Guo
fac216de69 Bug 594594: Fix destructuring in narcissus jsparse.js (r=taustin) 2010-09-09 17:40:13 -07:00
Chris Leary
7c740a8dc0 Back out due to mochiserver breakage. (no_r=me) 2010-09-09 16:52:31 -07:00
David Anderson
41a8c3b110 Added test cases for bug 588363 (no_r=me).
--HG--
extra : rebase_source : 2a4a16150ec035c27f860b0795a452cc9864e1d6
2010-09-09 14:29:03 -07:00
David Anderson
6c7893b5ff Added test cases for bug 588362 (no_r=me).
--HG--
extra : rebase_source : 31f12cfd87e2ecaf49cfd496e2e78b2846a9f3be
2010-09-09 14:28:42 -07:00
Chris Leary
7c2ac56dff Bug 540675: remove callerVersion from stack frame. (r=lw) 2010-09-09 14:25:30 -07:00
David Anderson
c442e14de2 Fix for ARM build bustage (bug 593532 fallout, no_r=me). 2010-09-09 13:24:45 -07:00
Michael Wu
d5fc5a0de5 Bug 589971 - Omnijar before profiling part of PGO, r=ted a=beltzner 2010-09-09 16:12:08 -04:00
L. David Baron
232cb16309 Add wctype.h to config/system-headers. (Bug 594492) r=cjones a2.0=bustage 2010-09-09 08:21:46 -07:00
David Anderson
d550b945b2 Fix various bugs in tracer integration (bug 593532, r=dmandelin). 2010-09-07 22:52:15 -07:00
Jason Orendorff
a101a7ab67 Fix typo in jstests.list. no_r=me. 2010-09-09 14:33:47 -05:00
Jason Orendorff
bb0c9c71b8 Add passing test taken from bug 592556, comment 35. no_r=me. In before regression! 2010-09-09 14:19:45 -05:00
Jason Orendorff
a47ae73260 Bug 593742 - nsDOMWorker has to set the right compartment. r=bent.
--HG--
extra : rebase_source : 1f309d333686fdad21a7b6940873994ccc64157d
2010-09-09 11:13:06 -05:00
Makoto Kato
cfc509ab28 Bug 591526 - JM: Win64 build failure--no define for ArgReg2. r=dvander 2010-09-09 16:56:08 +09:00
Makoto Kato
6103055406 Bug 593133 - TM: PGO doesn't use tracejit profile. r=dmandelin 2010-09-09 16:55:59 +09:00
Brian Hackett
098817b45a PIC for addprop, bug 561506. r=dmandelin
* * *
Bug 561506, add context owner checks for addprop. no_r=7:00am
2010-09-04 20:12:56 -07:00
Nicholas Nethercote
2e4c614ace merge 2010-09-08 23:12:59 -07:00
Nicholas Nethercote
21826c95f0 Bug 594205 - TM: safeguard against RegExp.prototype.test changes in exec-to-test conversions. r=brendan. 2010-09-08 23:07:16 -07:00
Luke Wagner
10966edd80 Bug 593277 - Weaken native constructor call asserts (r=brendan)
--HG--
rename : js/src/trace-test/tests/bug579740.js => js/src/trace-test/tests/basic/bug579740.js
rename : js/src/trace-test/tests/bug584499-1.js => js/src/trace-test/tests/basic/bug584499-1.js
rename : js/src/trace-test/tests/bug584499-2.js => js/src/trace-test/tests/basic/bug584499-2.js
rename : js/src/trace-test/tests/testPutOnEmptyArgsObject.js => js/src/trace-test/tests/basic/testPutOnEmptyArgsObject.js
2010-09-08 22:20:45 -07:00
Bill McCloskey
f25b7b9bbe Bug 593596 - change have_call back to its old definition (r=lw) 2010-09-08 22:09:24 -07:00
Nicholas Nethercote
13fe6910e9 Bug 594640 - TM: avoid redundant snapshots when recording GETELEM. r=gal. 2010-09-08 19:44:47 -07:00
Nicholas Nethercote
887c472b16 Bug 580752 - TM: optimize setelem. r=gal. 2010-09-08 18:31:47 -07:00
Jan de Mooij
8b137e037b Bug 592631: fast path for x|0, r=dvander 2010-09-08 18:23:27 -07:00
Nicholas Nethercote
3bf0a90b65 Bug 591788 - Fatal assert ( base == lirbuf->sp || base == eos_ins). r=gal. 2010-09-08 17:24:37 -07:00
Tom Austin
9943c6915d Bug 586830. Allows returns with no values in Narcissus. r=shu 2010-09-08 16:36:26 -07:00
Gregor Wagner
57a7fa6556 Bug 593294 - TM: various other defaultCompartment fixes r=gal 2010-09-08 16:09:23 -07:00
Robert Sayre
1c1c54b151 Merge. 2010-09-08 10:36:32 -04:00
Robert Sayre
edb7aca0d0 merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
Chris Leary
6271a02b06 Bug 587434: IsSaneThisObject assertion failure on CALLXMLNAME. (r=jorendorff) 2010-09-08 01:13:22 -07:00
David Anderson
55ecded888 Backed out changeset 7219df6c126c 2010-09-07 23:45:10 -07:00
David Anderson
b6205cfb88 Avoid staying in Interpret() after recording (bug 593532, r=dmandelin). 2010-09-07 22:52:15 -07:00
David Anderson
b1906cec20 Merge backout. 2010-09-07 21:52:13 -07:00
David Anderson
ba1fc1c1ab Backed out changeset 45f147e08faf 2010-09-07 21:51:55 -07:00
Nicholas Nethercote
dbed4dce2d Bug 594108 - fix RegExp.exec()-to-RegExp.test() conversion. r=brendan. 2010-09-07 18:09:26 -07:00
Sean Stangl
5bd7a0bd53 Fix isNotType() usage in jsop_rhs_unknown_any(). b=593554, r=dvander. 2010-09-07 21:05:01 -04:00
Dave Herman
9ad1a53de1 bug 591437, r=brendan: can't reliably use pn_cookie for function args 2010-09-07 16:27:52 -07:00
Dave Herman
ef3290061c bug 591431, r=cdleary: Reflect.parse(): JSOP_*XMLNAME nodes as lvalues 2010-09-07 16:21:19 -07:00
Dave Herman
91665f8a3d bug 591430, r=cdleary: Reflect.parse(): TOK_NAME statement nodes with pn_lexdef 2010-09-07 16:19:48 -07:00
Dave Herman
0039e6bd0d bug 590775, r=cdleary: default xml namespace = <<expr>> 2010-09-07 16:18:10 -07:00
Dave Herman
71de094573 bug 590774, r=cdleary: implement function::identifier E4X extension 2010-09-07 16:16:34 -07:00
Dave Herman
3c77d7e37e bug 590772, r=cdleary: for-in loops with initializers 2010-09-07 16:14:15 -07:00
Dave Herman
5a346677d9 bug 590766, r=cdleary: let-expressions and let-statements 2010-09-07 15:44:31 -07:00
Igor Bukanov
e353306519 bug 588016 - Avoid reporting OOM when background has not finished. r=anygregor
--HG--
extra : rebase_source : 7d6b09d93bdc463cf7d06d2cdbe09085fd0e4b4b
2010-09-07 23:08:20 +02:00
David Anderson
48f5bf67b2 Fix DEFFUN creating a sync state mismatch (bug 590083, r=dmandelin). 2010-09-07 13:59:01 -07:00
Brendan Eich
6ba6389297 Rename freeslot appropriately (593256 separated cosmetics-only patch, r=jorendorff). 2010-09-03 11:05:43 -07:00
David Anderson
69b95ea914 ICs for scripted calls (bug 587698, r=dmandelin). 2010-09-02 20:04:33 -07:00
Igor Bukanov
052c9099c5 bug 592617 - cannot compile without JS_METHODJIT. r=dmandelin 2010-09-07 13:29:22 +02:00
David Anderson
d48229f661 Fixed out-of-line sync labels in some ICs (bug 593918, r=sstangl). 2010-09-06 22:43:25 -07:00
Luke Wagner
00f14ad975 Fix thinko in 1d477685d70a - e262 15.10.3 says 'Called as a Function' 2010-09-06 21:00:08 -07:00
Luke Wagner
750336acad Bug 593611 - regexp_construct is not a slow native anymore (r=brendan) 2010-09-06 17:25:00 -07:00
Makoto Kato
38299a0884 Bug 593747 - TM: 64-bit VC9: dist\include\jsval.h(636) : error C2143: syntax error : missing ';' before 'type'. r=lw 2010-09-06 16:59:04 +09:00
Brian Hackett
bdd2836820 Backout changesets b350e3b72c2f and fc7630d987f8. 2010-09-05 07:58:16 -07:00
Brian Hackett
984f326b13 Bug 561506, add context owner checks for addprop. no_r=7:00am 2010-09-05 07:05:10 -07:00
Brian Hackett
7703748d37 PIC for addprop, bug 561506. r=dmandelin 2010-09-04 20:12:56 -07:00
Jan de Mooij
450ca78be3 Fast path for >>>. b=589832, r=dvander. 2010-09-04 18:45:26 -04:00
Chris Leary
785696584e Bug 576823: fix sticky patterns with disjunctions. (r=lw) 2010-09-03 19:08:44 -07:00
David Mandelin
db8cb81a27 Bug 593497: blacklist using iteration count only if methodjit is enabled, r=dvander 2010-09-03 15:12:38 -07:00
David Mandelin
4842eaa78b Bug 593195: blacklist based on iteration count, r=dvander 2010-09-03 14:45:56 -07:00
Brendan Eich
30cbd0913a Bugs in dictionary-mode property table maintenance (593256, r=jorendorff). 2010-09-02 18:46:11 -07:00
Brendan Eich
d7abc9c150 Eliminate JSObject::freeslot via monotonic lastProp->freeslot (592556, r=jorendorff,dvander). 2010-09-02 14:50:44 -07:00
Benedict Hsieh
91b486022f Bug 594612 Fastload not invalidated after building with pymake r=bsmedberg a=bsmedberg 2010-09-14 17:23:56 -07:00
Mike Hommey
f0f9c84d72 Bug 594611 - Fix stack allocation for ffi function calls on x86-64. r=dwitte, a=bsmedberg 2010-09-15 14:34:37 +02:00
Vladimir Vukicevic
835c2f99ee b=593396; implement BYTES_PER_ELEMENT on typed arrays; r=shaver 2010-09-05 16:37:52 -04:00
Brendan Eich
32e251d137 Wrong behavior setting existing properties to joined function object values (592412, r=jorendorff). 2010-08-31 16:45:34 -07:00
David Mandelin
024e591801 Bug 593444: claim title when tracing to avoid aborts, r=dvander 2010-09-03 12:30:55 -07:00
Gregor Wagner
e9d53dc7ea Bug 592930 - TM: set right compartment for mozJSComponentLoader::ModuleEntry::Clear r=mrbkap 2010-09-03 00:34:36 -07:00
Andreas Gal<Gal@uci.edu>
9a94c881f3 Bug 592871 - TM: compartment for Global Object created in nsXULPDGlobalObject::EnsureScriptEnvironment r=mrbkap 2010-09-02 20:07:49 -07:00
Andreas Gal<gal@uci.edu>
11d8a3ed3e Bug 592869 - TM: set right compartment in XPCNativeMember::Resolve r=mrbkap 2010-09-02 19:55:05 -07:00
Nicholas Nethercote
9eb01319fa Bug 592910 - TM: simplify IsEntryTypeCompatible(). r=lw. 2010-09-02 17:12:38 -07:00
Gregor Wagner
e94e441576 Bug 592741 - TM: set right compartment in nsXPCWrappedJSClass::CallQueryInterfaceOnJSObject r=mrbkap 2010-09-02 16:47:21 -07:00
Blake Kaplan
2b71d97594 No bug - Don't assert in js_DumpObject on non-native objects. rs=brendan 2010-09-02 15:59:19 -07:00
Luke Wagner
7e03de6826 Bug 592962 - JSOP_DEFXMLNS should pop after possibly reporting an error (r=brendan) 2010-09-02 16:03:11 -07:00
Bill McCloskey
6676cbd6ba Bug 590006 - escaping closures on trace don't get block objects in their scope chain (r=lw) 2010-09-02 10:50:15 -07:00
Robert Sayre
357a4a6366 Merge mozilla-central to tracemonkey. 2010-09-01 22:27:07 -07:00
Gregor Wagner
a3d37eaf94 Bug 592184 - TM: XPC_WN_CallMethod has to set the right compartment r=gal 2010-09-01 22:20:32 -07:00
Brian Hackett
7b0f64dbaa Backed out changeset c85589cb4d0c 2010-09-01 20:19:03 -07:00
Brian Hackett
711fb44e45 Bug 561506 - PIC for addprop. r=dmandelin 2010-09-01 20:00:58 -07:00
David Mandelin
747c4fc309 Bug 587809 final: fix nits in version 'pre-landed' on JM, r=jorendorff 2010-09-01 17:52:23 -07:00
David Mandelin
966c4ef40f Backed out changeset 1b354f3d6e5c -- got landed wrong. 2010-09-01 17:48:31 -07:00
David Mandelin
4978410836 Bug 587809 final: fix nits in version 'pre-landed' on JM, r=jorendorff 2010-09-01 17:17:04 -07:00
Nicholas Nethercote
a677aa9e11 Bug 592177 - TM: inline fast path in checkForGlobalObjectReallocation(). r=bz. 2010-09-01 17:11:19 -07:00
Nicholas Nethercote
decf093d77 Bug 581595 - Optimize creation of RegExp.prototype.exec's return value. r=lw. 2010-09-01 16:39:56 -07:00
Vladimir Vukicevic
cbe35a0e14 backing out 2796c7 (bug 539771); a=b 2010-09-01 15:54:01 -04:00
Vladimir Vukicevic
482dd7f865 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-09-01 15:04:48 -04:00
Vladimir Vukicevic
68ebc5b5bf b=590655; get rid of WebGL-prefixed typed array names; r=jst 2010-09-01 15:04:45 -04:00
Luke Wagner
dde4b9f7f0 Bug 592199 - call js_PutArguments from trace always (r=dmandelin, a=blocking) 2010-09-01 09:53:29 -07:00
Justin Lebar
e7fc718cee Backed out changeset 100bcacdbf45 due to orange (bug 578880). 2010-09-10 13:49:57 -07:00
Justin Lebar
47c6e8d089 Bug 590181 - Use -O3 on Linux and Maemo. r=ted, a2.0=dbaron 2010-09-08 10:10:31 -07:00
Joel Maher
161d8ae5ae Bug 591325 Fix regression due to relativesrcdir landing in xpchsell test, continued cleanup in chrome tets r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Kyle Huey
626b88436d Bug 591373: Stop forcing link time code generation in js in non-PGO builds. r=ted a=sdwilsh 2010-08-31 21:25:38 -04:00
Michael Wu
e10c97737e Bug 592457 - Don't create new signatures on windows, r=khuey a=blocking-beta5 2010-08-31 21:18:22 -04:00
Ms2ger
f57e7fa2e6 Bug 592827 - Implement DOMImplementation.createHTMLDocument; r=jonas approval2.0=jonas 2010-09-04 13:38:07 +02:00
Wan-Teh Chang
f747eaea4e Bug 580679: do not define ZLIB_INTERNAL when compiling files outside
zlib.  This reverts some of the zlib-related changes in Dec. 2004 for
libxul (bug 272783 and bug 273876).  r=bsmedberg. a=bsmedberg.
2010-09-02 16:47:06 -07:00
Mike Hommey
915827dfc0 Bug 585604 - Avoid some ARM CPU arch related runtime tests depending on the build target. r=jbramley
--HG--
extra : convert_revision : 0d24e0c1e0a79390703e679e969b6c29238cc507
2010-08-26 15:51:29 +02:00
William Maddox
91a0267211 Add commentary to further explain usage of the x87 FPU stack (r=nnethercote+)
--HG--
extra : convert_revision : 028918e69579150f8dbd7a465ec53094e5d844c4
2010-08-24 18:17:45 -07:00
Brad Lassey
3be078fd8a bug 577531 - Fix non-thumb2 builds on Android, cleanup CFLAGS r=ted a=dougt 2010-08-24 02:10:12 -04:00
David Mandelin
a792acda7d Backout merge. a=betaN+,backout 2010-11-18 12:48:59 -08:00
David Mandelin
3abe671f9f Backed out changeset 1b815a3b4250 (diagnostic) 2010-11-18 12:48:39 -08:00
David Mandelin
cb91a18cdb Bug 605033 diagnostic: look for holes being returned via GETELEM, r=lw, a=betaN+ 2010-11-15 15:26:03 -08:00
Chris Leary
c85d4936d7 Bug 605754 - regexp topcrash diagnostics. r=dmandelin, a=dmandelin 2010-11-15 19:40:26 -08:00
Chris Leary
1d89794a2b Encapsulate RegExpStatics more. (r=gal, b=610223) 2010-11-10 17:02:08 -08:00
Peter Van der Beken
e7ca1a1d57 Fix for bug 590612 (Speed up js-wrapping in classinfo when we already have a wrapper). r=bz, a=jst. 2010-08-28 10:04:25 +02:00
Robert Sayre
38f9501d71 Fix merge botch. a=bustage 2010-11-17 13:59:26 -08:00
Robert Sayre
2d10c1480d Merge tracemonkey to mozilla-centra. a=blockers. 2010-11-17 13:55:14 -08:00
Benjamin Smedberg
31e96b158b Bug 610381 part B - Report thread-usage errors to the error console directly from xpconnect, so that the error console shows them even when extension authors are using asynchronous dispatch. r=jst a=blocking2.0
--HG--
extra : rebase_source : 973d58b5d9be243f92e261ca0a2664bdbf120546
2010-11-17 15:58:53 -05:00
Benjamin Smedberg
8cf4c9b6a3 Bug 609066 - nsIJetpack.registerReceiver doesn't recognize functions wrapped in a proxy, throws NS_ERROR_ILLEGAL_VALUE. Don't use JS_ObjectIsFunction, instead use JS_TypeOfValue to determine whether we have a legal receiver. r?mrbkap
--HG--
extra : rebase_source : f0a24b355e7669c30fb3b26d2e609d7145c197f8
2010-11-17 15:58:08 -05:00
Benjamin Smedberg
84f471652b Bug 602891 part B - Backend support for jetpack-process crashes and crash recovery, r=cjones
On crash, an event will be submitted to the parent with the name "core:process-error" with a context object. If crash reporting is enabled and a crash report is available, the context object will have a .dumpID property which can be used to submit the crash report.

--HG--
extra : rebase_source : d089bb451271999ae3861a83f2b21ba8ec9e0122
2010-11-17 15:57:02 -05:00
Benedict Hsieh
fba1d721da Bug 592768 - When using async launch, the toplevel actor doesn't have a process handle. Set the process ID with a callback function (OnChannelConnected). r=cjones
--HG--
extra : rebase_source : aa7743035e9a21759d99b9b9fbaf6371b8c82395
2010-10-08 16:24:36 -07:00
Daniel Holbert
daddfc0941 Bug 612414: Set unsigned-int value to 0 instead of NULL. r=gal a=joe 2010-11-17 12:39:37 -08:00
Mike Hommey
cabbf2fa02 Synchronize config/config.mk and js/src/config/config.mk after bug 611405. a=orange-fix 2010-11-17 10:50:00 +01:00
Vladimir Vukicevic
e8053d8870 b=612334; fix webgl context type; r=bz
--HG--
rename : dom/interfaces/canvas/nsICanvasRenderingContextWebGL.idl => dom/interfaces/canvas/nsIDOMWebGLRenderingContext.idl
2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
36f8014890 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-11-16 20:33:03 -08:00
Jacob Bramley
97b3a92212 bug 603624 - Don't blacklist i9000 unless it's running 2.6.29. r=gal a=blocking-fennec 2010-11-16 19:27:21 -05:00
Brad Lassey
6dd76cc6e1 backing out c708054e1f65, due to build bustage a=bustage 2010-11-16 18:54:44 -05:00
Michael Wu
6cee5da907 Bug 608498 - Turn on fakelibs on Android, r=khuey a=blassey 2010-11-16 14:27:06 -08:00
Blake Kaplan
2cdbd6c122 Bug 597118 - Give proxy handler the ability to have an innerObject hook. r=gal
--HG--
extra : rebase_source : 5dd07ac858135c13e5399fff336d513791c1ded0
2010-08-23 15:34:11 -07:00
Blake Kaplan
2607e0162a Bug 597116 - We need to set vp for non-SHARED properties, even if they have a native getter. r=gal
--HG--
extra : rebase_source : 35cffbaf0517c7640278fc5109670dafa4f1d3e9
2010-09-16 11:45:55 -07:00
Blake Kaplan
67c5e81443 Bug 597114 - Actually pass the new value when calling setters and set argc correctly. r=gal
--HG--
extra : rebase_source : 596c02dff54a3608eba86213e4a80d97bf0f297b
2010-09-16 11:43:33 -07:00
Blake Kaplan
a49526d99e Bug 597109 - Deal with PropertyStub as being equivalent to NULL to mean "no getter" or "no setter". r=gal
--HG--
extra : rebase_source : 64ab966efeef8bff33307d91d6d173d2b617383c
2010-09-16 11:40:59 -07:00
Blake Kaplan
56ddbac0a3 Bug 597104 - Innerize cx->globalObject before using it. r=gal
--HG--
extra : rebase_source : 3303961f10d4afa07f7e5b5a1b589265ad5084d9
2010-09-16 11:36:18 -07:00
Blake Kaplan
c8933c7fa2 Bug 583232 followup -- actually add the functions to jsapi.h. r=gal
--HG--
extra : rebase_source : 81e8c6e0bafaa7ee0ddd873d694209f7bb1e3008
2010-09-16 11:32:18 -07:00
Chris Leary
e347ae1b1b Fix warning on GCC 4.0.1. No bug, r=jorendorff. 2010-09-16 11:46:58 -07:00
Jim Blandy
bdd7ba704a Bug 585803: Unit tests for existing JSScript and script object creation API. r=jorendorff
These tests exercise the new API, in which script objects are allocated
immediately for scripts that can have them.
2010-09-16 09:59:10 -07:00
Brendan Eich
cb2bfbafc0 Check for inDictionaryMode after putProperty call when adding, in case of toDictionaryMode (596128, r=bhackett, a=me). 2010-09-15 01:46:43 -07:00
Peter Van der Beken
1a3a8d53ba Backout accidental checkin of 149dfce94388 2010-09-14 22:30:36 -07:00
Peter Van der Beken
64a1bd8360 Backout c130135dcf02 (Fix for bug 590612 (Speed up js-wrapping in classinfo when we already have a wrapper)). 2010-09-14 22:27:02 -07:00
Peter Van der Beken
9212292411 Unbreak 2010-09-13 16:42:59 -07:00
Peter Van der Beken
84457bdfaf Fix for bug 590612 (Speed up js-wrapping in classinfo when we already have a wrapper). r=bz, a=jst.
--HG--
extra : rebase_source : 4013e29c5430b2346e5b8f4c6cf3b68cb9f487b9
2010-08-28 10:04:25 +02:00
Justin Lebar
3e7e1949d1 Bug 587853 - Use PR_ATOMIC_{INCREMENT,DECREMENT} macros for threadsafe addref / release. r+a2.0=bsmedberg 2010-08-17 10:25:41 -07:00
Lukas Blakk
86f7efe322 bug 588861: Tracking bug for build and release of Firefox 4.0b5 - 4.0b5 version bumps. r=bhearsum. a=npotb 2010-08-31 10:36:46 -04:00
Dan Witte
401da66f49 Really revert libffi comment spelling fix since it's not upstream. a=NPOTB 2010-08-30 15:38:36 -07:00
Dan Witte
c4091d7694 Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Dan Witte
a5ebf043df Merge m-c -> e10s. 2010-08-28 13:39:42 -07:00
Luke Wagner
5e9978f911 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
Luke Wagner
a80ab46add Bug 589028 - make nsContentUtils::GetDocumentFromCaller not depend on slow-native constructors (r=jst)
--HG--
extra : rebase_source : a12eb25eadefa5ed1bb1799516ee9b287d171aa2
2010-08-19 18:12:02 -07:00
Steve Fink
139d2a2a71 Bug 584175 - Unify various JS probes into a single set of static probe points. r=gal
Part 1: Change dtrace-specific names to probes
Part 2: Stop using the frame pointer for probes.
Part 3: Update the set of available probes

r=gal@uci.edu
a=NPOTB

--HG--
rename : js/src/jsdtracef.cpp => js/src/jsprobes.cpp
rename : js/src/jsdtracef.h => js/src/jsprobes.h
2010-09-01 14:09:54 -07:00
Robert Sayre
b743b2d61e Merge. 2010-09-01 11:25:36 -07:00
Robert Sayre
da659f8bfe Merge backout. 2010-09-01 11:25:02 -07:00
Robert Sayre
0308956e29 Backed out changeset e2e1ea2a39ce. (Igor Bukanov – bug 588016 - Avoid reporting OOM when background has not finished. r=anygregor) 2010-09-01 11:24:45 -07:00
David Anderson
5bead76fe7 Fix GETELEM PIC not resetting atom jump (bug 592604, r=dmandelin). 2010-09-01 11:23:19 -07:00
ginn.chen@sun.com
ae3fbf5c69 Bug 587612: errors in #if !ENABLE_YARR_JIT compilation path. (r=cdleary) 2010-09-01 09:59:14 -07:00
Igor Bukanov
3232f601ce bug 588016 - Avoid reporting OOM when background has not finished. r=anygregor 2010-08-19 21:28:12 +02:00
Igor Bukanov
edc6d00c4e bug 477999 - JS_SuspendRequest should suspend requests from all contexts . r=gal,anygregor 2010-08-30 20:46:18 +02:00
Brian Hackett
12544017c9 Correct GMT offsets for New Zealand and the Kingdom of Tonga, bug 591845. r=brendan, CLOSED TREE 2010-08-31 17:57:14 -07:00
Brendan Eich
b15d952f7c Bug 535629 - Deleted properties' slots are not recycled (r=gal).
--HG--
extra : rebase_source : 04a8bbd6731e4e9b9d36a5d685c5ee0f87db064e
2010-08-18 11:34:13 -07:00
Luke Wagner
31c2aa44b4 Bug 592069 - handle deep bail from IteratorMore/method-write barrier (r=gal,dvander CLOSED TREE) 2010-08-31 11:33:30 -07:00
Luke Wagner
3f86800cba Bug 592199 - call js_PutArguments from trace always (r=dmandelin, CLOSED TREE) 2010-08-31 16:25:55 -07:00
David Mandelin
c376c13265 [JAEGER] Merge from Tracemonkey. 2010-08-31 13:21:23 -07:00
Tom Austin
9e08d2f725 Bug 592152. Narcisssus fix for consts. r=dherman. CLOSED TREE 2010-08-31 11:51:10 -07:00
David Mandelin
5eba7a1580 [JAEGER] Merge from Tracemonkey. 2010-08-31 10:36:08 -07:00
Robert Sayre
abe80b4593 Merge mozilla-central to tracemonkey. CLOSED TREE 2010-08-31 10:24:22 -07:00
Brendan Eich
85ea65ea98 Bug 592001 - Fix v8-regexp regression in wake of patch for bug 558451 (r=igor, CLOSED TREE). 2010-08-31 07:33:25 -07:00
Gregor Wagner
d5979d2297 [Bug 592007] TM: New Scope patch changes GC behavior in browser r=gal (CLOSED TREE) 2010-08-31 08:37:16 -07:00
Jacob Bramley
f0e9529e75 [JAEGER] Tracer integration optimization for ARM. [Bug 588022] [r=dvander] 2010-08-31 12:21:37 +01:00
David Anderson
aa2dda885e [JAEGER] Removed bogus assert in global var prediction (bug 591606, r=dmandelin). 2010-08-30 19:04:23 -07:00
David Mandelin
88272ac427 [JAEGER] Merge from Tracemonkey. 2010-08-30 18:34:39 -07:00
Luke Wagner
e949d56946 Bug 589329 - fix crash in JSData2Native (r=jst) (CLOSED TREE) 2010-08-30 18:21:34 -07:00
David Anderson
057756b433 [JAEGER] Add test case for bug 591602. 2010-08-30 18:18:49 -07:00
Dave Herman
108f80e7a2 bug 591572, r=shu: builder configuration parameter (CLOSED TREE) 2010-08-30 16:23:11 -07:00
Brendan Eich
6c846a6605 Back out last push (CLOSED TREE). 2010-08-30 15:44:56 -07:00
David Anderson
1f79d55160 [JAEGER] Silence GCC under-parenthesizing warning in jsinterp.cpp. 2010-08-30 15:43:32 -07:00
David Anderson
70d6dbdd95 [JAEGER] Silence unused variable warning in GCC.
--HG--
extra : rebase_source : 725a7c7a80914c1f93f91ad89cb8b309a651fd76
2010-08-30 15:42:01 -07:00
David Mandelin
d27af4b94d [JAEGER] Fix browser build bustage left from merge. 2010-08-30 15:21:29 -07:00
David Mandelin
a6cc2e6b6d [JAEGER] Merge. 2010-08-30 15:19:56 -07:00
David Mandelin
de19395f25 [JAEGER] Merge from Tracemonkey. 2010-08-30 15:19:36 -07:00
David Anderson
62551c9507 [JAEGER] Silence GCC warning about signed integer comparisons. 2010-08-30 15:17:18 -07:00
David Mandelin
3dc48e12b2 [JAEGER] Merge from Tracemonkey. 2010-08-30 15:13:32 -07:00
Brendan Eich
936b0b0fcd Bug 592001 - Fix v8-regexp regression in wake of patch for bug 558451 (r=gal; CLOSED TREE). 2010-08-30 14:54:08 -07:00
Brendan Eich
db2ca7a011 Bug 591897 - "Assertion failure: s.slot + 1 == callobj->freeslot," (r=igor, "CLOSED TREE"). 2010-08-30 14:35:58 -07:00
David Mandelin
e3663650f7 [JAEGER] Merge. 2010-08-30 12:04:21 -07:00
David Mandelin
6d5af732b7 [JAEGER] Merge from Tracemonkey. 2010-08-30 12:03:59 -07:00
Michael Wu
635beb851b Bug 591575 - JM: Fix Android build bustage due to "thumb conditional instruction not in IT block", r=sayrer 2010-08-30 11:52:32 -07:00
David Mandelin
f575742690 [JAEGER] Merge from Tracemonkey. 2010-08-30 11:38:48 -07:00
Igor Bukanov
175710cef6 bug 558451 - followup to fix GCC warnings and link error. "CLOSED TREE" 2010-08-29 23:24:23 +02:00
Brendan Eich
4282e3fc19 Followup fix to my hand-merge botch backing out patch for bug 477999. 2010-08-29 13:07:12 -07:00
Brendan Eich
782ef24d23 Back out patch for 477999 due to assertbotch on Mac OS X trace-test shutdown, all tests. 2010-08-29 12:41:24 -07:00
Brendan Eich
790ddc9e99 Merge JSScope into JSObject and JSScopeProperty (now js::Shape; bug 558451, r=jorendorff). 2010-08-29 11:57:08 -07:00
Robert Sayre
fa6b5c8801 Merge mozilla-central to tracemonkey. 2010-08-29 01:40:40 -04:00
David Anderson
75328f82ee Fix out-of-bounds GETELEM on strings not returning undefined (bug 587964, r=luke). 2010-08-28 21:36:25 -07:00
Jeff Walden
763465896d Bustage fix for usual Windows over-definition of names. r=windows-only-orange 2010-08-28 21:00:05 -04:00
Sean Stangl
9e6939f5f1 [JAEGER] Fix trace-test.py to work with -g option. no_r=me. 2010-08-28 16:12:21 -04:00
David Anderson
d92676b53f [JAEGER] Remove tracerecursion (bug 591539, r=luke). 2010-08-27 21:18:58 -07:00
David Mandelin
c056a07f6b Backed out changeset 41e3e584023f -- more tinderbox bustage. 2010-08-27 18:51:14 -07:00
David Anderson
8d3e96d32e [JAEGER] ICs for scripted calls (bug 587698, r=dmandelin). 2010-08-27 17:50:53 -07:00
Sean Stangl
366a2a7d88 [JAEGER] Implement haveSameBacking() case for stricteq. b=591367, r=dvander. 2010-08-27 19:33:11 -04:00
David Mandelin
8057a267e7 [JAEGER] Bug 590088: copy only variables into call objects that may be referred to later, r=dvander 2010-08-27 15:54:30 -07:00
Brian Hackett
826d673641 Fix Iterator assertion, add tests, bug 589112. r=dmandelin 2010-08-27 11:48:29 -07:00
David Mandelin
5afe9918be [JAEGER] Merge from Tracemonkey. 2010-08-27 11:35:42 -07:00
David Mandelin
c7756ac00b [JAEGER] Merge from Tracemonkey. 2010-08-27 11:32:19 -07:00
David Mandelin
7b2310c5cf [JAEGER] Merge from tracemonkey. 2010-08-27 11:25:56 -07:00
Vladimir Vukicevic
62a29ff1c1 b=575685; implement set() from TypedArray spec; r=jorendorff 2010-08-27 12:07:24 -04:00
Vladimir Vukicevic
d2dfff6bd5 b=590672; treat ArrayBuffer() and SomeArrayType() as (0); r=shaver 2010-08-27 12:06:34 -04:00
Gregor Wagner
f8d6bb54b3 Bug 590346 - TM: Global Object created in GlobalForLocation needs its own compartment r=mrbkap 2010-08-27 07:49:31 -07:00
Sean Stangl
ef6068d3b0 [JAEGER] Backed out changeset 1035fdc5d714. no_r=fire. 2010-08-27 10:42:10 -04:00
Gregor Wagner
781969cad1 Bug 590326 - TM: Global Object created in TestXPC needs its own compartment r=mrbkap 2010-08-26 21:20:37 -07:00
Gregor Wagner
ea9e3a32b4 Bug 590319 - TM: Global Object created in JetpackChild needs its own compartment r=mrbkap 2010-08-26 14:26:57 -07:00
Gregor Wagner
9fe5a4cb0d Bug 590986 - TM: another defaultCompartment mixup in jsapi-tests r=gal 2010-08-26 14:00:47 -07:00
Jan de Mooij
5209097cb3 [JAEGER] Added fast-path for >>> (bug 589932, r=dvander). 2010-08-26 01:29:52 -04:00
Sean Stangl
3c71ccb4b5 [JAEGER] Int32 fast-path for stricteq, strictne. b=578528, r=dvander. 2010-08-27 00:24:25 -04:00
David Mandelin
e47b671acc [JAEGER] Bug 591121: frobulate the code to get around a GCC bug affecting OSX10.5, r=cdleary 2010-08-26 17:48:24 -07:00
David Mandelin
dcc7ec979f [JAEGER] Bug 590380: restore our JSNES perf by adding a fast path for inc/dec global vars, r=dvander 2010-08-26 14:06:07 -07:00
David Mandelin
ab97c995fd [JAEGER] Merge from tracemonkey. 2010-08-26 10:35:24 -07:00
David Anderson
e9aeb4b8bb Backed out changeset ebd2b956b565. 2010-08-26 02:30:08 -04:00
David Anderson
169050a338 [JAEGER] Inline caches for scripted calls (bug 587698, r=dmandelin). 2010-08-26 01:29:52 -04:00
Jeff Walden
23c30a7beb Unwrap the target before checking for callability, so that wrappers don't wrongly appear to be callable. r=orange 2010-08-26 01:22:20 -04:00
David Mandelin
1282ac2e00 [JAEGER] Fix test case not to require exact recursion limits 2010-08-25 17:02:40 -07:00
David Mandelin
7ca98ab40f [JAEGER] Bug 590749: safely handle calling ReleaseScriptCode twice on a given script, r=dvander 2010-08-25 16:31:39 -07:00
David Mandelin
1009b312b0 [JAEGER] Bug 469230: use correct this value in str_replace_flat_lambda, r=cdleary 2010-08-25 16:23:46 -07:00
David Mandelin
9f589f01cf [JAEGER] Bug 589349 tweak: set default --jitflags to 'j' to keep old behavior by default and avoid tinderbox orange due to recursion count difference 2010-08-25 15:59:17 -07:00
David Mandelin
ba29f93a3c [JAEGER] Bug 589349 stopgap: tweak jstests.py to split extra args option on spaces so we can run with '-m -j' to test both JITs 2010-08-25 14:08:33 -07:00
David Mandelin
de84d4b689 [JAEGER] Bug 589349: customizable multi-jit flags for jstests.py, feedback=njn 2010-08-25 14:00:28 -07:00
David Mandelin
ef5b0f9077 [JAEGER] Merge from tracemonkey. 2010-08-25 11:00:41 -07:00
David Anderson
0c3b4e8c17 Backed out changeset a804ccdfe7c4. 2010-08-25 11:53:17 -04:00
David Anderson
0255d4ffbc [JAEGER] Fixed copying garbage to some callobj slots (bug 590088, r=dmandelin). 2010-08-25 10:56:48 -04:00
Paul Biggar
05bb449ddd Bug 489098: enable property cache for eval scripts. r=dvander 2010-08-25 11:20:08 +01:00
David Anderson
194facbde7 [JAEGER] Clean up JSScript hacks (bug 590275, r=dmandelin). 2010-08-24 22:57:35 -04:00
David Anderson
53caaab3b7 [JAEGER] Fixed some math operations remating from unsynced addresses (bug 589714, r=dmandelin). 2010-08-24 21:00:32 -04:00
David Mandelin
7a67eb272d [JAEGER] Bug 590001: find correct exception handler when we throw an exception during trace recording, r=dvander 2010-08-24 12:00:42 -07:00
David Mandelin
78cdeefdf2 [JAEGER] Merge from Tracemonkey. 2010-08-24 11:56:29 -07:00
Chris Leary
1d43f99740 Bug 586530: non-list cmdline display for trace-test. (r=dmandelin) 2010-08-24 10:18:34 -07:00
David Anderson
591d6c4f57 [JAEGER] Fixed GETELEM PIC not initializing memory (bug 588338, r=cdleary).
--HG--
extra : rebase_source : dfcfa1de224813001b9692a96e987c909bf3333f
2010-08-24 12:57:01 -04:00
Paul Biggar
5be05d883e bug 492688 - use -fomit-frame-pointer on mac. r=sayrer 2010-08-24 12:16:17 -04:00
Nicholas Nethercote
c5586f145a Bug 578216 - Make eval(json-like string) fast. r=sayrer 2010-08-24 11:50:54 -04:00
Jacob Bramley
a39eccf723 [JAEGER] Comment tweak to align with changes made for bug 588978. [r=me] 2010-08-24 09:46:33 +01:00
Nicholas Nethercote
2ab58fd02d Backed out changeset 74ce80e8782e 2010-08-23 22:38:19 -07:00
David Anderson
b87f34a4e2 [JAEGER] Fixed PROPINC etc using the property cache (bug 589115, r=dmandelin).
--HG--
extra : rebase_source : 6a58de4b3044c6ce4afa160e1fb497df4a6d290b
2010-08-24 00:57:57 -04:00
David Anderson
d8679510bf [JAEGER] Fixed assert in GetElem stub (bug 582894, r=dmandelin).
--HG--
extra : rebase_source : 4c46371db89f4b2cacb1265cc79366830d78dd56
2010-08-24 00:57:54 -04:00
Leon Sha
df0157c800 Bug 587962 - [JAEGER] JaegerMonkey build and check failed on Solaris x86 with Sun Studio 12. Patch 2. r=dvander 2010-08-23 20:50:35 -07:00
Nicholas Nethercote
7ba153876d Bug 578216 - Make eval(json-like string) fast. r=sayrer. 2010-08-23 18:13:09 -07:00
Brian Hackett
93e944674e Sync undefined properly, avoid unnecessary syncs at function entry, bug 586544. r=dvander 2010-08-23 16:43:04 -07:00
Robert Sayre
5a3ae5c418 Merge backout. 2010-08-23 19:21:05 -04:00
Robert Sayre
c62ccd686b Backed out changeset b404ad209cb9. (Bug 587257 - Make Array.prototype.join faster. r=lw) 2010-08-23 19:20:46 -04:00
Jan de Mooij
383caddd9a Bug 589746 re-landing, this time correctly: omit calls to spew functions in non-spew opt builds, r=dmandelin 2010-08-23 15:51:37 -07:00
David Mandelin
3978987e86 Backed out changeset 2ab1e79a2179 -- I landed it wrong. 2010-08-23 15:50:20 -07:00
Jan de Mooij
cb60fc6bdc Bug 589746: omit calls to spew functions in non-spew opt builds, r=dmandelin
--HG--
extra : rebase_source : d40c71dbe9c5ddab5fb4a6e280e6361afa54b3af
2010-08-23 15:26:19 -07:00
Brian Hackett
2da48c21da Remove unnecessary loads of f.cx, bug 588978. r=dmandelin 2010-08-23 15:27:44 -07:00
Jason Orendorff
efe79f8f4c Bug 583232 - Add rewrapping to jsapi.h. r=gal 2010-08-23 18:14:38 -04:00
David Mandelin
e2926c8916 [JAEGER] Fix build bustage from last merge--missing changes for GCC static asserts 2010-08-23 14:45:24 -07:00
Brian Hackett
5b14eb928e Accessor functions for cx->fp, bug 588978. r=lw 2010-08-23 14:36:40 -07:00
David Mandelin
ef7de3688d [JAEGER] Merge from Tracemonkey.
--HG--
extra : rebase_source : 3a8dcc0855999572e7d32ee1d6468e6729938d65
2010-08-23 14:13:53 -07:00
Robert Sayre
640b1f3097 Bug 587257 - Make Array.prototype.join faster. r=lw 2010-08-23 16:28:36 -04:00
Robert Sayre
b3dc580341 Merge mozilla-central to tracemonkey 2010-08-23 15:08:34 -04:00
Brian Hackett
a4a17593d6 Move cx->fp to cx->regs->fp, bug 588978. r=lw
--HG--
extra : rebase_source : 14a90a53ceeb1f65d0ab70eafb5371095535e66f
2010-08-22 16:00:20 -07:00
David Anderson
02e4fe6352 [JAEGER] Merge. 2010-08-23 17:03:46 -04:00
David Anderson
0b7588f87f [JAEGER] Fixed GETPROP resyncing to the wrong type (bug 589108, r=dmandelin). 2010-08-23 16:56:10 -04:00
David Mandelin
02f201cead [JAEGER] Merge from tracemonkey. 2010-08-23 11:35:14 -07:00
Makoto Kato
3341b53feb [JAEGER] Bug 588267 - Re-land Win64 port. r=dvander 2010-08-23 15:43:43 +09:00
Brian Hackett
53791f1d70 Move cx->fp to cx->regs->fp, bug 588978. r=lw 2010-08-22 16:00:20 -07:00
Bob Clary
e792427e98 bug 588310 - temporarily disable js1_5/extensions/regress-336410-2.js for browser on Windows, r=brendan (NPOTB). 2010-08-22 06:29:06 -07:00
Sean Stangl
2d210ae7a9 [JAEGER] x64: Dedicated Type and Payload Mask Registers. no_r=me. 2010-08-22 00:42:58 -07:00
Luke Wagner
338d890b00 Bug 589340 - factor out / weaken dummy frames (r=mrbkap) 2010-08-21 16:03:07 -07:00
Shu-yu Guo
a0461a486b Refactor structured property names to pseudo-namespaces using bind 2010-08-24 19:45:21 -07:00
Gregor Wagner
8817352356 Bug 589262 - TM: Move GCStats into separate file. r=igor 2010-08-24 18:57:14 -07:00
David Humphrey
2ef0bdedab Bug 589727 - Typed Float32 Arrays broken on mozilla-central trunk (adding a test only, the bug itself was fixed in bug 586387). r=sayrer. 2010-08-24 17:00:56 -07:00
Nicholas Nethercote
cc2da3908f Update nanojit-import-rev stamp. 2010-08-24 16:48:24 -07:00
Andreas Gal
51d7616d8c Bug 586387 - Problem with Typed Float32 Arrays and canonicalizeNaNs() / LIR_cmovd. r=nnethercote,edwsmith.
--HG--
extra : convert_revision : 2e44b58e0662f140ab49064b26dfbe15d64bc061
2010-08-24 16:31:48 -07:00
Rick Reitmaier
3f7b23a73e Bug 542891 - nanojit X64 backend errors on 64bit conditional jumps (r+nnethercote)
For conditional jumps that are larger than 32bits, invert the
branch logic so that it jumps around an unconditional 64bit
branch to the target.

--HG--
extra : convert_revision : ada7f685d84394abc19d909a021957e25043a722
2010-08-24 14:14:53 -07:00
William Maddox
9db7b3abab Bug 570214 - MIPS variable shift instructions corrupts registers (r=stejohns+)
Remove unnecessary masking of shift count.
Patch submitted by Chris Dearman (chris@mips.com).

--HG--
extra : convert_revision : 8986dba933c63d68c3b0498af53b9cdd6c99c69d
2010-08-24 13:41:15 -07:00
William Maddox
c919e07f05 Bug 587916 - Cleanup of X87 FP stack code (r=nnethercote+)
1) The "register" FST0 is the sole member of the x87regs register
class. In many places, however, the code is written so as to strongly
suggest that there might be multiple such registers. This patch removes
such conceits, replacing expressions such as (rmask(r) & x87regs)
with (r == FST0), etc.

2) prepareResultReg() has been slightly refactored to make the x87
stack fiddling a bit easier to follow and to remove a fragile assumption.

3) Do not pass the "pop" argument to asm_spill() on non-IA32 platforms.

4) Remove redundant normalization of boolean values.

5) Comment the FPU stack depth consistency check.

--HG--
extra : convert_revision : 04a3292575e6af31578914f7f3b9478b5cad2a1c
2010-08-24 11:44:17 -07:00
William Maddox
19f13a44e8 Bug 568737 - Fix incorrect overflow tests generated for MIPS (r=wmaddox+)
Patch submitted by Chris Dearman (chris@mips.com).

--HG--
extra : convert_revision : 69bf0aeb6fda2a5071bbf904d61801e94316000a
2010-08-24 11:30:07 -07:00
Chris Leary
f243aef253 Bug 587346: fix PCRE code length assertion failure. (r=gal) 2010-08-24 14:53:02 -07:00
Chris Leary
e0e2085e45 Bug 587366: regexp failure for flat text replace. (r=lw) 2010-08-24 14:46:19 -07:00
Luke Wagner
bffe91b8df Bug 589318 - guard that eval-in-function frames don't access args (r=brendan) 2010-08-21 15:50:14 -07:00
Jacek Caban
d4c88eb729 Bug 587321 - YARR landing broke mingw compilation r=cdleary 2010-08-21 12:21:24 +02:00
Sean Stangl
6536182186 [JAEGER] More efficient InjectJaegerReturn for x64. no_r=me. 2010-08-20 18:18:12 -07:00
Gregor Wagner
562f617316 Bug 589216 - TM: fix another crossCompartment call in jsapi-tests r=jorendorff 2010-08-20 17:23:47 -07:00
Luke Wagner
376a6f85f4 Bug 588558 - fix FrameRegsIter thinko (r=waldo) 2010-08-20 16:54:58 -07:00
David Mandelin
730233dc21 [JAEGER] Use consistent namespace qualifier on stub call definitions 2010-08-20 15:17:50 -07:00
Jacob Bramley
e5ea36eb1e [JAEGER] Bug 587833 reland part 2: remove VMFrame::scriptedReturn ARM fixes 2010-08-20 13:21:46 -07:00
David Anderson
54be9cdfa6 [JAEGER] Bug 587833 reland part 1: remove VMFrame::scriptedReturn for x86 and x64, r=dmandelin 2010-08-20 13:20:38 -07:00
Jim Blandy
285b03968f Bug 438633: Give new JSScript objects lifetimes like GCThings. r=brendan
Attach script objects immediately in all JSAPI script-creating functions;
have JS_NewScriptObject simply return the already-allocated object; and
make JS_DestroyScript a no-op.

Verify that all scripts given to JSAPI script-consuming functions have
objects, or are the canonical empty script object.
2010-08-20 13:11:05 -07:00
Jim Blandy
16f4c21b3c Bug 585803: Pass TCF_NEED_MUTABLE_SCRIPT when producing scripts returned via JSAPI functions. r=brendan
All scripts produced using JSAPI functions should be able to have
JS_NewScriptObject applied to them. However, JS_CompileFile and
JS_CompileFileHandleForPrincipals fail to pass TCF_NEED_MUTABLE_SCRIPT, and
thus will occasionally return JSScript::emptyScript(); applying
JS_NewScriptObject to that causes a crash.
2010-08-20 13:11:04 -07:00
David Mandelin
67a9ce8c76 [JAEGER] Merge from tracemonkey. 2010-08-20 11:34:59 -07:00
Robert Sayre
d598acd055 Merge mozilla-central to tracemonkey. 2010-08-20 10:04:58 -04:00
Leon Sha
31b5560186 Fix the bustage on windows. Bug 587962. 2010-08-20 20:56:45 +08:00
Leon Sha
a50abcb41c Bug 587962 - [JAEGER] JaegerMonkey build and check failed on Solaris x86 with Sun Studio 12. r=dvander 2010-08-20 01:09:34 -07:00
Luke Wagner
bff8e4e9d4 Bug 589015 - js_watch_set doesn't need that crazy dummy frame (r=mrbkap) 2010-08-19 18:02:17 -07:00
David Mandelin
b3d6402311 [JAEGER] Merge from tracemonkey. 2010-08-19 17:30:22 -07:00
David Mandelin
169803d2d3 [JAEGER] Merge from tracemonkey. 2010-08-19 17:30:04 -07:00
Nicholas Nethercote
4aa312b6f5 merge 2010-08-19 16:46:27 -07:00
Brian Hackett
2aeb294c19 Interface for JSStackFrame.argc, bug 586533. r=lw 2010-08-19 16:44:12 -07:00
David Mandelin
b89502a7d9 [JAEGER] Backout merge. 2010-08-19 16:27:04 -07:00
David Mandelin
2cbc07739b [JAEGER] Backed out changeset 04bc789f7a43: trace-test failures 2010-08-19 16:26:50 -07:00
David Mandelin
84bf63c699 [JAEGER] Backout merge. 2010-08-19 16:26:17 -07:00
David Mandelin
ea6820c89f [JAEGER] Backed out changeset b88bab8e77c5: prerequisite to backing out 04bc789f7a43 2010-08-19 16:25:54 -07:00
Nicholas Nethercote
efa83280f0 Update nanojit-import-rev stamp. 2010-08-19 16:22:30 -07:00
David Mandelin
8c04657d38 [JAEGER] Minor merge from TM to pick up a small perf boost and see if we can cycle TBPL into actually working again 2010-08-19 16:05:06 -07:00
Bill McCloskey
5113963733 Bug 564548: faster special cases for Math.pow, r=gal 2010-08-19 14:17:56 -07:00
Edwin Smith
8a316147b9 Bug 584935 - Speed up register iteration loops by using BSF instruction (r=nnethercote+)
Changed all the register iteration loops to use lsbSet/msbSet functions
that use fast find-first-bit intrinsics when available.  Typical loops of
the form:

  for (Register r = FirstReg; r <= LastReg; r = nextReg(r))
    if (predicate(r))
	  /* use r */

were transformed by replacing the per-iteration predicate with a single
mask calculation, then iterating through only the 1 bits in the mask:

  RegisterMask set = /* calculate predicate with bitmask ops */;
  for (Register r = lsReg(set); set; r = lsNextReg(set))
    /* use r */

Iteration can be low-to-hi with lsReg/lsNextReg, or hi-to-low with msReg/msNextReg.
Primitives are provided for 32 and 64-bit masks.  PPC and MIPS need a 64-bit
mask, for example, even on 32-bit systems.

Refactoring details:

I renamed msbSet() to msbSet32() as part of adding [msb|lsb]Set[32|64], which
affected the AccSet code trivially.

I used if (sizeof(RegisterMask) == 4) to choose between 32 and 64bit
implementations, counting on a sane compiler to strip out the provably dead
path. An alternative would be to move the definitions of lsReg() and msReg() to
NativeXXX.h, after the RegisterMask typedef, allowing backends to hardcode the
choice.  Given we have six backends and one more on the way, it seemed better
to centralize the code and also avoid more ifdefs.

I moved the definitions of msbSet/lsbSet to nanojit.h, where other such helpers
already live.  It didn't seem appropriate to keep adding to LIR.h since the
helpers will now be used in several places in nanojit.

RegAlloc::managed is now set in Assembler.cpp instead of each backend; six
lines of code replaced by one.

prevreg() was dead after these changes.  Additionally, I hand-inlined nextreg()
in the other backends, because the usage was highly specialized -- those call
sites depended on nextreg being reg+1, (or reg+2) not some generic iteration.

I removed RegAlloc::countActive() since the only case was testing countActive()
== 0, which is equivalent to activeMask() == 0.

--HG--
extra : convert_revision : c7009f5cd83ea028b98f59e1f8830a76ba27c1dd
2010-08-19 16:04:19 -04:00
David Mandelin
ef74a0554c [JAEGER] Modify comment to get a clobber build. 2010-08-19 12:59:15 -07:00
David Mandelin
ee50e410ee [JAEGER] Merge. 2010-08-19 11:12:06 -07:00
David Mandelin
a21c621577 Merge from Tracemonkey. 2010-08-19 11:11:36 -07:00
Robert Sayre
b54b2278b9 Merge from mozilla-central 2010-08-19 13:50:37 -04:00
Jacob Bramley
02992c666a [JAEGER] Fixed ARM port of bug 587833 (r=dvander). 2010-08-19 13:34:09 -04:00
David Anderson
d1f08da7e5 [JAEGER] Remove VMFrame::scriptedReturn (bug 587833, r=dmandelin). 2010-08-19 13:34:06 -04:00
Robert Sayre
43c1350df6 Merge mozilla-central to tracemonkey. 2010-08-19 11:18:37 -04:00
Axel Hecht
919cdfddf9 bug 559961, explicitly abspath optimizejars.py, js, too, r=khuey, a=bustage-fix 2010-08-19 16:46:38 +02:00
Ginn Chen
2f1a5f7820 Bug 584219 should use "signed bit" for signed bit-field r=nnethercote
--HG--
extra : convert_revision : 2f6b1e2a50de2df8f78b98b4c725d5a9897e9c4b
2010-08-19 16:08:53 +08:00
Ginn Chen
d074752fb6 Bug 585559 Fix alignment for length2StringTable and hundredStringTable with Sun Studio r=lw 2010-08-19 15:58:52 +08:00
Nicholas Nethercote
81306351a8 Bug 585866 - Avoid unnecessary calls to YearFromTime(). r=jwalden. 2010-08-18 19:44:28 -07:00
Chris Leary
f3a2844e1b [JAEGER] Bug 587809 pre-landing: land tracer changes for eager this so we can see what it does with X64 on tinderbox 2010-08-18 18:17:30 -07:00
Makoto Kato
669157a9d9 Bug 588273 - Yarr is broken on Win64 ABI. r=dvander 2010-08-19 10:09:22 +09:00
Robert Sayre
912eca98af Merge 2010-08-18 17:48:32 -04:00
Robert Sayre
4b71b9d106 Merge 2010-08-18 17:22:08 -04:00
Gregor Wagner
77d8fcb9e6 Bug 572057 - TM: remove weak roots (pigeon hole) r=igor 2010-08-18 12:46:47 -07:00
David Mandelin
8d433fbba7 [JAEGER] Merge from tracemonkey. 2010-08-18 11:03:53 -07:00
Brian Hackett
a38bc3011a Assert fix, bug 588339. r=brendan 2010-08-18 11:03:22 -07:00
Jacob Bramley
6d1fca8be3 [JAEGER] Enable MICs for ARM. [Bug 588020] [r=dvander] 2010-08-18 10:38:50 +01:00
David Mandelin
9f4c9deb88 [JAEGER] Merge from tracemonkey. This should fix the Xd regression picked up in the last merge. 2010-08-17 18:45:30 -07:00
Nicholas Nethercote
fa2a2f97f3 Bug 584595 - TM: speed up scanning three ways. r=cdleary. 2010-08-17 18:01:23 -07:00
Jeff Walden
7873aa2eba Oops, forgot to qref before removing this line of whitespace. r=style-police 2010-08-17 16:55:01 -07:00
Luke Wagner
9ba4a19761 Silence warnings / remove dead code (r=me) 2010-08-17 15:59:28 -07:00
David Mandelin
b3d148d838 [JAEGER] Merge from tracemonkey. This picks up the test fix mentioned in the previous commit comment. 2010-08-17 15:33:07 -07:00
Luke Wagner
548bac6b74 Fix testReconstructImacroPCStack.js to not assume tracing-jit 2010-08-17 15:32:47 -07:00
David Mandelin
d32d792513 [JAEGER] Merge from tracemonkey. Note that we will currently fail one trace test that was recently added. There is a bug in that test that will be fixed posthaste. 2010-08-17 15:32:40 -07:00
Sean Stangl
75b06fdd12 [JAEGER] Correct load32() usage; prefer loadShape(). no_r=me. 2010-08-17 14:36:04 -07:00
Jan de Mooij
fad149144a [JAEGER] Correctly remat objReg in GetProp PIC. b=587119, r=sstangl. 2010-08-17 13:52:26 -07:00
Jacob Bramley
d09759c622 [JAEGER] Fix ARM's long-range loads. [No bug] [r=me] 2010-08-17 15:19:31 +01:00
Leon Sha
01b2f48910 Bug 585926 - check-math-partial-sums.js failed with JIT on SPARC. r=wmaddox
--HG--
extra : convert_revision : eceee95267377daa09d5951f6293db752a1b9f77
2010-08-17 16:02:46 +08:00
David Mandelin
3379e781d1 [JAEGER] Merge fallout: move static asserts that break with rval private 2010-08-16 16:23:05 -07:00
David Mandelin
e67c2b7441 [JAEGER] Merge from Tracemonkey. 2010-08-16 15:58:14 -07:00
David Mandelin
f32df484f3 [JAEGER] Finish merge from Tracemonkey. 2010-08-16 15:57:19 -07:00
David Mandelin
6f19cd8199 [JAEGER] Merge from Tracemonkey part 1: don't change visibility of JSStackFrame members yet 2010-08-16 15:37:15 -07:00
David Mandelin
c0001dbe3b [JAEGER] Merge from Tracemonkey. 2010-08-16 15:31:14 -07:00
Michael Wu
a88c2a698d Bug 587597 - Fix ARM/Mobile bustage by building Yarr. Contains Jacob Bramley's load8 fix. r=sayrer a=blocking-fennec 2010-08-16 15:18:10 -07:00
David Mandelin
23b88d71bd [JAEGER] Finish merge from Tracemonkey. 2010-08-16 15:16:24 -07:00
David Mandelin
0a8cb3e43f [JAEGER] Merge from Tracemonkey part 1: don't change visibility of JSStackFrame members yet 2010-08-16 15:10:41 -07:00
David Mandelin
3af2b18345 [JAEGER] Followup for merge from Tracemonkey: update JSStackFrame API usage in JM code 2010-08-16 15:07:28 -07:00
David Mandelin
066c9f1718 [JAEGER] Merge from Tracemonkey. scopeChain and blockChain are still public so I can check one thing at a time--this merge is brutal. 2010-08-16 14:59:44 -07:00
Andreas Gal
f6f96b56f0 Bug 586531 - Make jsapi-tests not use the default compartment by default. r=jorendorff. 2010-08-16 16:42:50 -05:00
David Mandelin
7f4571bf6a [JAEGER] Merge from Tracemonkey. 2010-08-16 14:20:34 -07:00
Jim Blandy
4301b4bb0b Bug 522158: Avoid extra warning for duplicated prop names in object initializers. r=waldo 2010-08-16 13:05:33 -07:00
David Anderson
f585a9f20d Disable recursion for heavyweight functions (bug 583757, r=jorendorff). 2010-08-16 13:37:47 -04:00
Edwin Smith
4cc6394b17 Suppress warnings in NativePPC.cpp
--HG--
extra : convert_revision : 6c8156188b29cdfff217f2f2e658918e55da2dda
2010-08-16 12:36:44 -04:00
Jan de Mooij
b0afe0253c [JAEGER] Check for negative zero after MUL (bug 584770, r=dvander). 2010-08-16 11:16:47 -04:00
Jason Orendorff
25268597de Test for bug 584578.
--HG--
extra : rebase_source : 82a5fa5ac198a9792f2540fea7cbbe7962fc4faf
2010-08-16 09:29:14 -05:00
Jacob Bramley
becdbf3574 [JAEGER] Fix ARM's load8 implementation and enable YARR for ARM. [Bug 564953] [r=me] 2010-08-16 13:20:32 +01:00
Jacob Bramley
bcd9f334be [JAEGER] Update the ARM VMFrame code to re-align with changes in d7b81bd995c3. [Bug 586886] [r=me] 2010-08-16 13:02:01 +01:00
Nicholas Nethercote
62658f05e8 Bug 585839 - JM: reorder StubEqualityOp() to account for common cases. r=dvander. 2010-08-15 17:00:09 -07:00
David Anderson
3ba9b2160f [JAEGER] Fixed assert-botch in tracer integration (bug 587431). 2010-08-15 14:40:13 -07:00
Brian Hackett
ed4defc8b5 Add interface for JSStackFrame.fun/script/thisv/rval, bug 586533. r=lw 2010-08-15 08:44:51 -04:00
Chris Leary
b725adffe8 Bug 586358: make imacpc flagged. (r=lw) 2010-08-15 04:16:54 -07:00
Sean Stangl
8df1d3b34b [JAEGER] Implement Travis Fisher's xor-based loadValueAsComponents(). b=586240, r=dvander.
Thanks to Travis Fisher <traviswfisher@gmail.com>.
2010-08-14 18:07:00 -07:00
Chris Leary
2d26e0cfc8 [Bug 587183] TM merge broke android in Nitro. r=sayrer. 2010-08-14 16:46:37 -07:00
Makoto Kato
d12e22150a Bug 586887 - bustage on TM tree of Win64 build due to no TrampolineMasmX64.asm. r=dvander 2010-08-18 11:29:04 +09:00
Brian Hackett
03a7ed6a9d Add interface for JSStackFrame.annotation/debugHook/callerVersion, bug 586533. r=lw 2010-08-14 11:59:44 -04:00
Mike Hommey
ec9c159829 Bug 586262 - Get rid of blx_lr_bug. r=jbramley,edwsmith
--HG--
extra : convert_revision : 9e1146b15442cde750da5a8edb486a1ffbfda368
2010-08-14 10:09:11 +02:00
Chris Leary
30febd737e Try to fix intermittent refcount assertions in the presence of more than one thread. Bug 587277 - TM: ExecutablePool release race. r=sayrer 2010-08-14 00:34:14 -07:00
Brian Hackett
da6f70519b Second try at adding interface for JSStackFrame.scopeChain/blockChain, bug 586533. r=lw 2010-08-13 23:36:37 -04:00
Sean Stangl
1172060dd0 [JAEGER] Assert MIC, PIC dynamic offset correctness. b=587224, r=dvander. 2010-08-13 18:06:39 -07:00
David Anderson
94c77b4166 [JAEGER] Fixed assert-botch from bug 586886.
--HG--
extra : rebase_source : 51c498d3174ac7778930dfa07984e0f87e316152
2010-08-13 17:43:50 -07:00
David Mandelin
0b41c441e5 [JAEGER] Bug 587224: make offset members big enough to handle big stubs, no_r=me 2010-08-13 17:27:36 -07:00
David Anderson
7e9b41be71 [JAEGER] Fixed bugs in commit bumping (bug 586886 fallout). 2010-08-13 15:27:33 -07:00
Andreas Gal
1084347139 b=586387; Problem with Typed Float32 Arrays and canonicalizeNaNs() / LIR_cmovd; r=nnethercote/edwsmith 2010-08-13 14:57:50 -07:00
David Anderson
28704289d9 [JAEGER] Combine over-recursion and stack commit checks (bug 586886). 2010-08-13 14:22:18 -07:00
David Mandelin
5c039fb714 [JAEGER] Bug 586538 followup: the original fix was accidentally backed out by 91257f67ea38, so restoring it. 2010-08-13 14:10:43 -07:00
Chris Leary
148bbf7986 Unleak regexp arena. Bug 586898 - JM: memory leak due to YARR. r=sayrer 2010-08-13 12:09:44 -07:00
David Mandelin
a8a454c883 [JAEGER] Merge from tracemonkey. 2010-08-13 12:01:02 -07:00
Jeff Walden
e5fd6c565c Bug 429507 - Tests for Function.prototype.bind. r=luke 2010-08-13 10:42:33 -07:00
Jeff Walden
765b61e1cb Bug 429507 - ES5: Function.prototype.bind. r=brendan 2010-08-13 10:42:33 -07:00
Shu-yu Guo
696a6af262 Bug 590750 - Parse regexps inside array initializers. (r=taustin) 2010-08-25 17:08:30 -07:00
Nicholas Nethercote
5d51c58e3d Fix typo in comment for patch in bug 578216. r=me. 2010-08-25 15:50:32 -07:00
Luke Wagner
c69809f6f6 Bug 589340, part 2 - pick up straggler in JSCrossCompartmentWrapper (r=mrbkap)
--HG--
extra : rebase_source : c5dfb92746dda2ae2acfc469a031cb3a735c8245
2010-08-25 14:34:47 -07:00
Gregor Wagner
92079ec405 Bug 590519 - Compile failure on ARM - "'rdtsc' was not declared in this scope" (r=arm-bustage) 2010-08-25 12:07:37 -07:00
Jeff Walden
e1c811e568 Bug 584811 - Date.prototype.toJSON isn't to spec. r=sayrer 2010-08-13 10:42:31 -07:00
Jason Orendorff
37d79b0719 Merge backout. 2010-08-13 08:24:40 -05:00
Jason Orendorff
8a568c9133 Backed out changeset c5e31473b1a6 (assertions for bug 583850). See bug 584578 and bug 585754. 2010-08-13 08:21:13 -05:00
Jason Orendorff
2ca54c3e0e Bug 585257 - "Assertion failure: obj == obj2". r=gal. 2010-08-13 08:17:29 -05:00
Robert Sayre
d91fb6ccdc Merge tracemonkey to mozilla-central. a=blockers 2010-08-28 10:50:34 -04:00
Dão Gottwald
abf1b55a37 Bug 591387 - Default theme shows as "incompatible" (version number wrapped with quotes). r=khuey a=blocking 2010-08-28 15:32:07 +02:00
Robert Sayre
a3b6c5a908 merge 2010-08-27 22:25:03 -04:00
Robert Sayre
e5da7a11b5 merge mozilla-central to tracemonkey. 2010-08-27 22:24:14 -04:00
Brian Hackett
d4b43f3df0 Fix crash on nested Iterator iteration, bug 590813. r=gal 2010-08-27 11:07:18 -07:00
Boris Zbarsky
6944d7713c Bug 590179. Use -fomit-frame-pointer when building opt builds on mac. r=ted, a=beltzner 2010-08-27 14:19:45 -07:00
Bobby Holley
83d399742e Backed out changeset a6c18a123fbb due to everything-on-mac-bustage. a=backout 2010-08-27 09:00:54 -07:00
Boris Zbarsky
f5f1e156fe Bug 590179. Use -fomit-frame-pointer when building opt builds on mac. r=ted a=beltzner 2010-08-26 21:33:00 -04:00
Dão Gottwald
ff02b582e2 Bug 581008 - Remove support for appending arbitrary data to the User Agent string. r=jst,khuey sr=dveditz 2010-08-27 09:02:10 +02:00
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Makoto Kato
ced4f79163 Bug 582910 - change stack size of xpcshell to 2MB on Win64. r=dbaron, a=dbaron 2010-08-23 15:09:27 +09:00
Bobby Holley
8d69ad0207 Bug 513681 - part 2 - remove support for the MOZ_IMG_DECODERS build option.r=joe,khuey.a=blocker 2010-08-22 22:30:45 -04:00
Ted Mielczarek ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
da86351679 Add a GDK/X11 screenshot to png utility b=414049 r=dbaron a=npotb
--HG--
extra : rebase_source : c73326cce47805fd5ce7cda7b8e51b5dda1e39a7
2010-08-23 12:11:43 +12:00
David Anderson
652df661b5 [JAEGER] Merge backout. 2010-08-13 02:23:22 -07:00
David Anderson
e36d4de961 Backed out changeset c0061c6b65b4 (3% perf regression on v8). 2010-08-13 02:22:39 -07:00
David Anderson
2c5c7bc631 [JAEGER] Merge. 2010-08-13 02:22:03 -07:00
David Anderson
60b819690f Backed out changeset 8f45cad0a405. 2010-08-13 02:21:46 -07:00
Sean Stangl
4b7c28362b [JAEGER] Remove unnecessary padding from JSStackFrame, VMFrame. b=586880, r=dvander. 2010-08-13 00:57:14 -07:00
Sean Stangl
88ac406123 [JAEGER] Add standard header boilerplate to assembler/. no_r=me. 2010-08-12 22:17:41 -07:00
Alex Miller
2b52da7be8 [JAEGER] Implement SSE4.2 check. r=sstangl. 2010-08-12 22:05:57 -07:00
Robert Sayre
a00d7f60fe Backed out changeset 1406935fced4. Brian Hackett – Put JSStackFrame.scopeChain/blockChain behind an interface, bug 586533. r=lw. 2010-08-12 21:47:46 -07:00
Alex Miller
f243e896b6 [JAEGER] Use SSE4.1 when available to load doubles faster. b=582785, r=dvander. 2010-08-12 21:43:39 -07:00
David Anderson
0a32a5b9f7 [JAEGER] Attempt at PPC bustage fix. 2010-08-12 21:42:49 -07:00
Brian Hackett
a416b05f95 Put JSStackFrame.scopeChain/blockChain behind an interface, bug 586533. r=lw 2010-08-13 00:08:37 -04:00
Andrew Drake
b4d2bc35d6 [JAEGER] Add support for throw hook. r=dvander, b=586107 2010-08-12 18:57:06 -07:00
Chris Leary
58398dc6a8 Bug 586827: fix bad regexp arena behavior. (r=apierce)
--HG--
extra : rebase_source : 12997990f1015f961539c7b8b8e028a83d1fc5d2
2010-08-12 18:55:26 -07:00
Jason Orendorff
0a72eec1c8 Bug 584648 - Assertion failure: !entry->key.obj && entry->flags == 0. r=brendan. 2010-08-12 21:00:45 -05:00
David Anderson
c7a2157fc9 [JAEGER] Fixed warning in MonoIC.cpp. 2010-08-12 17:58:37 -07:00
Sean Stangl
80f36226d2 [JAEGER] 32-bit MIC shape comparisons. b=586781, r=dvander. 2010-08-12 17:56:25 -07:00
David Anderson
a57d28382a [JAEGER] Fixed think-o in jsop_name(). 2010-08-12 17:06:15 -07:00
David Anderson
6f24fc0c7f [JAEGER] Fixed more linkExit() fail (bug 586538). 2010-08-12 17:03:11 -07:00
Tom Austin
f52b80ff3b Bug 580882. Update to allow Narcissus to work within a browser. r=gal. 2010-08-12 17:00:12 -07:00
Sean Stangl
03963cf4ff [JAEGER] Implement PurgeMICs. b=584182, r=dvander. 2010-08-12 16:58:43 -07:00
Shu-yu Guo
f3322eb6a8 Bug 586817 - eliminate the one use of == that got away. r=pwalton 2010-08-12 16:32:05 -07:00
Brian Hackett
b6fa83e115 Put JSStackFrame.callobj/argsobj behind an interface, bug 586533. r=lw 2010-08-12 18:46:03 -04:00
Brian Hackett
466e80d99b [JAEGER] Second try at start/end iterator fast paths, bug 578756. r=dmandelin, dvander, gal 2010-08-12 17:26:07 -04:00
Jim Blandy
4e04561ee9 Revert fixes for bug 438633, bug 585803 2010-08-12 14:07:52 -07:00
Jim Blandy
ce4b4e5c9e Bug 438633: Give new JSScript objects lifetimes like GCThings. r=brendan
Attach script objects immediately in all JSAPI script-creating functions;
have JS_NewScriptObject simply return the already-allocated object; and
make JS_DestroyScript a no-op.

Verify that all scripts given to JSAPI script-consuming functions have
objects, or are the canonical empty script object.
2010-08-12 12:38:37 -07:00
Jim Blandy
087a52be00 Bug 585803: Pass TCF_NEED_MUTABLE_SCRIPT when producing scripts returned via JSAPI functions. r=brendan
All scripts produced using JSAPI functions should be able to have
JS_NewScriptObject applied to them. However, JS_CompileFile and
JS_CompileFileHandleForPrincipals fail to pass TCF_NEED_MUTABLE_SCRIPT, and
thus will occasionally return JSScript::emptyScript(); applying
JS_NewScriptObject to that causes a crash.
2010-08-12 12:38:37 -07:00
Benedict Hsieh
f0f5cb9f08 bug 520309, startupcache client mozJSComponentLoader, r=dwitte a=bsmedberg 2010-08-12 12:37:52 -07:00
Dan Witte
f2000be3eb Merge. 2010-08-23 17:30:33 -07:00
Dan Witte
5f4dbe5953 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
David Anderson
6c40dd232c [JAEGER] Fixed MonoIC regression from bug 586544. 2010-08-12 11:59:06 -07:00
David Anderson
0bbf7a68b3 [JAEGER] Sync both halves of constant undefined payloads (bug 586544).
--HG--
extra : rebase_source : f9643a32b74b5b7a91950815ac1a1419015705ca
2010-08-12 11:39:22 -07:00
David Mandelin
0f9af001af [JAEGER] Merge. 2010-08-12 11:42:35 -07:00
David Mandelin
9376a78c81 [JAEGER] Merge from Tracemonkey. This picks up Yarr. 2010-08-12 11:42:16 -07:00
Jacob Bramley
708bcc9869 Bug 586600: non-default sprop getter fix in stub call. (r=cdleary,sstangl) 2010-08-12 11:26:46 -07:00
Chris Leary
58d6d3b1aa Missing test for bug 586499. (no_r=me) 2010-08-12 10:26:01 -07:00
Robert Sayre
ff3fd8aeaf Merge mozilla-central to tracemonkey. 2010-08-12 10:12:04 -07:00
Chris Leary
f8f61e5ea2 Forgotten OP_BRAZERO len addition. Fixes Bug 586499 - TM: Yarr mochitest failure browser_plainTextLinks.js. r=gal 2010-08-12 09:08:48 -07:00
Robert Sayre
01009427f4 Try to fix Maemo 4 again again again. 2010-08-12 07:34:47 -07:00
Robert Sayre
a3c5a52a65 Try to fix Maemo 4 again again again. 2010-08-12 07:22:32 -07:00
Igor Bukanov
5b9726fc8e bug 477999 - JS_SuspendRequest should suspend requests from all contexts. r=anygregor,gal
--HG--
extra : rebase_source : 593bcd06380a6d6ade3da1ffed11eeb18b43cdfd
2010-08-12 15:02:51 +02:00
Jacob Bramley
a268e44d2c [JAEGER] Fix broken logic from my previous patch (c5754250e813). [Bug 585918] [r=me] 2010-08-12 13:54:26 +01:00
Mike Hommey
7543a4e737 Bug 586625 - Fix ARM verbose assembly output for BLX. r=jbramley
--HG--
extra : convert_revision : c85f9265a76b8914139ef34bad7d93e1f7b47786
2010-08-12 14:47:58 +02:00
Paul Biggar
abc945b545 Bug 584355: Don't use parent as a proto for a new function. r=brendan 2010-08-12 13:07:20 +01:00
David Anderson
86b6472243 [JAEGER] Fixed regression in bug 583692 that disabled scope ICs. 2010-08-12 02:42:51 -07:00
Andrew Drake
cbd7bb3275 [JAEGER] Correct parameter register for debugger keyword in compiler. r=dvander 2010-08-12 02:04:37 -07:00
Andrew Drake
16edddbf68 [JAEGER] Add support for debugger keyword. r=dvander, b=586105 2010-08-12 02:01:45 -07:00
Mike Hommey
8d86e167eb Bug 586224 - Use clz on android even for armv5 target. r=jbramley
--HG--
extra : convert_revision : 5a56d9f0b2d6170442b51c111b7050aa8c795bc8
2010-08-12 10:14:50 +02:00
Mike Hommey
c6b2a7baa2 Bug 586303 - Fix lirasm test string creation. r=jbramley
--HG--
extra : rebase_source : c79890b778d16ef9b28e9cbfd0139dc03e97a525
extra : convert_revision : f7ae2958e265c6c9e5ee2588ba8c24b5365cc5cf
2010-08-12 10:10:24 +02:00
Andrew Drake
100405bf57 [JAEGER] Fix even more tests regressed by debug mode. r=dvander 2010-08-12 00:53:40 -07:00
Jeff Walden
78b50ef7f3 Bug 516255 - Fix attributes on arguments[i]: index properties on arguments should be enumerable, configurable, and writable. r=dmandelin 2010-08-11 23:27:40 -07:00
Jeff Walden
d5c4a25d9e Bug 516255 - Tests for arguments object functionality inside and outside of strict mode. r=dmandelin 2010-08-11 23:27:37 -07:00
Jeff Walden
24f0559035 Bug 516255 - Eagerly copy initial parameter values into the arguments object when a function's parameters might be mutated, and rely on normal resolution behavior in the remaining cases when parameters are never modified. r=dmandelin 2010-08-11 23:27:33 -07:00
Jeff Walden
b87fb56e06 Bug 516255 - Start analyzing named-parameter assignments in strict mode functions to determine when to eagerly create an arguments object and when creation can be deferred. r=dmandelin 2010-08-11 23:27:03 -07:00
Jeff Walden
88db90ddd5 Bug 516255 - Use different classes for arguments objects created inside and outside strict mode code, with slightly different ops, in preparation for implementing strict mode arguments objects' less magical functionality. r=dmandelin 2010-08-11 23:26:59 -07:00
Robert Sayre
9c2828628c Try to fix Maemo 4 again again. 2010-08-11 21:02:09 -07:00
Robert Sayre
0b7340eabd Try to fix Maemo 4 again 2010-08-11 21:01:30 -07:00
Ehren Metcalfe
0d71672eb0 Bug 578235 - Port jsstack.js to Dehydra with GCC 4.5 r=taras, a=test-only 2010-08-18 18:06:17 -07:00
Ehren Metcalfe
20f9e7eb23 Bug 575720 - static checking suite: use Dehydra multiple-arg support + fix method signature comparison in several scripts r=taras 2010-08-18 18:06:05 -07:00
Kyle Huey
ca4b9a3d8e Sync config/ and js/src/config/ a=me 2010-08-18 18:40:18 -04:00
Robert Sayre
4acde97712 Try to fix Maemo 4 build. 2010-08-11 17:46:06 -07:00
Luke Wagner
1389741508 Bug 585824 - set vp[1] in TraceRecorder::callNative (r=gal,dvander) 2010-08-11 17:32:11 -07:00
Luke Wagner
0fc967db46 Bug 584453 - fix thinko in jsdScript::GetParameterNames (r=bz)
--HG--
extra : rebase_source : a4b2d49c2f84d2faf2fad552eda56aa7ce7f4547
2010-08-11 17:24:39 -07:00
William Maddox
e30e9b3a06 Bug 583413 - Handle platform-dependent field width for %p format in asm_output (r=edwsmith+)
--HG--
extra : convert_revision : f71bf755846459dccf10e7c28aaa5cd2b652b077
2010-08-11 16:31:55 -07:00
Chris Leary
76e8033f0e ARM and PCRE build fixes. (r=red) 2010-08-11 16:00:58 -07:00
Robert Sayre
3479a7bbbf Fix bustage on Mac PPC. 2010-08-11 15:44:32 -07:00
Chris Leary
8d2b390f05 Forgotten jswin.h file. (r=red) 2010-08-11 14:59:19 -07:00
Chris Leary
e0ace5bc86 Bug 564953: Port YARR! Lands macroassembler. (r=gal) 2010-08-11 13:30:07 -07:00
Brian Hackett
16873a1fb8 Bug 579471 - fast constructors (r=dmandelin,lw) 2010-08-10 16:38:08 -07:00
Alex Miller
88abfff302 Bug 584929: Add v8-v5 to trace-tests and check for correctness. r=sayrer 2010-08-10 20:12:14 -07:00
Blake Kaplan
bbbfee476a Fix bustage from bug 577750 2010-08-10 18:46:42 -07:00
Andrew Drake
af9fb85d3c Bug 584912: Fix use after free in jsd_DestroyThreadState. r=timeless, a=sayrer 2010-08-10 17:21:11 -07:00
Andrew Drake
c7dbe5a681 Bug 584882: Don't attempt to compute this for dummy frames. r=jorendorff 2010-08-10 17:21:11 -07:00
Robert Sayre
4aa91b82ce Merge merge. 2010-08-10 17:00:09 -07:00
Ginn Chen
16585a758c Bug 584219 Fix the use of sPayloadOffset for big endian machine r=lw 2010-08-11 06:53:03 +08:00
Dave Herman
ecd49d465e bug 584075, r=taustin: use ExecutionContext.prototype.run instead of push/pop 2010-08-10 15:45:04 -07:00
Robert Sayre
fc8cf1e11d Merge mozilla-central to tracemonkey. 2010-08-10 15:41:49 -07:00
Edwin Smith
a75afd1a6f Fixed uninitialized reads in CSE hashtables from bug 584275 (r=gal+)
--HG--
extra : convert_revision : a7e61d3eb7ca69b0b267937080f0e7456a7c0a96
2010-08-10 15:35:41 -04:00
Luke Wagner
562fc49870 Bug 539144 - Make formal args a jit-time const offset from fp; rm argv/argc/thisv/script/callobj (r=brendan,dvander) 2010-08-09 22:43:33 -07:00
Jeff Walden
a8738dbbb2 Bug 584909 - Properly handle JSON.stringify(_1, _2, numberGreaterThanOne). Also output a space between ':' and property value when serializing object properties, if the gap specified is non-empty. r=sayrer
--HG--
extra : rebase_source : b4868a4a96d1ac89f389b47c0258d68e74e590a9
2010-08-09 16:39:19 -07:00
Jeff Walden
8ccd9fbe20 Bug 584909 - Use AutoIdVector/GetPropertyNames rather than AutoIdArray/JS_Enumerate to avoid unnecessary work and use cleaner APIs. r=sayrer
--HG--
extra : rebase_source : a8711da0c9423f9754a5ca01a2b7b3a26365cc9c
2010-08-09 16:39:19 -07:00
Ginn Chen
0bee7d296d Bug 612237 extra ";" after JS_DECL_USE_GUARD_OBJECT_NOTIFIER r=mrbkap a=benjamin 2010-11-24 15:33:03 +08:00
Luke Wagner
c75a719220 Bug 613732 - Fix bug in f.apply(x, arguments) optimization (r=dvander, a=b8+)
--HG--
extra : rebase_source : 06cbd1194b8c2bc3ac26f548046957acc21ffd5b
2010-11-23 18:20:56 -08:00
David Anderson
48783f4488 Fix another IC patching range check (bug 602333 part 4, r=dmandelin, a=b8+). 2010-11-23 17:07:01 -08:00
Serge Gautherie
f8e384adfb Bug 551724 - Disable ctypes on x86/msvc if MASM is unavailable; (Cv2a) Explicitly check that '$AS' is 'ml.exe'/'ml64.exe' (and not 'cl'), Make the error message more explicit.
r=m_kato a2.0=benjamin.
2010-11-23 23:50:32 +01:00
Paul Biggar
50b46f07f7 Bug 614264 - Fix build problem after tracemonkey merge. r=ted.mielczarek
a=bustage
2010-11-23 09:16:00 -08:00
Robert Sayre
99925aac53 Merge tracemonkey to mozilla-central. a=blockers. 2010-11-23 10:10:32 -05:00
Oleg Romashin
bda5d3206f Bug 609206 - Can't compile JS with --disable-methodjit r=dmandelin a=approval2.0 2010-11-23 01:46:12 +02:00
David Mandelin
0f14e64e7b Backout merge, a=backout 2010-11-22 15:22:17 -08:00
David Mandelin
3c5fb61303 Backed out changeset c29356cef6d4 -- it was a temporary diagnostic 2010-11-22 15:21:54 -08:00
Kyle Huey
e0760603a1 Bug 585011 - Invoke cl.py as a pymake native command. r=Callek, a=bsmedberg 2010-08-08 23:12:54 -07:00
Benjamin Smedberg
ddabab91cb Bug 613061 - test_jetpack.js (and probably code in production) crashes at IPC::Channel::set_listener because the destruction of JetpackProcessParent races with the unwinding of the stack frame which calls JetpackParent::ActorDestroy. Add an extra trip around the event loop to avoid the race. r=cjones a=myself/orange
--HG--
extra : rebase_source : f7e4b3c417051b438e1613d4e9bc685e10af1595
2010-11-22 09:10:39 -05:00
Werner Sharp (wsharp@adobe.com)
d00b1ec4cb bug 495995 - nanojit-central part of VTUNE support for TR
--HG--
extra : convert_revision : 602fdcb7288454f85fe81d401559b7c1639a41e6
2010-08-06 14:18:43 -04:00
Kyle Huey
e9bf267127 Merging backout. a=orange 2010-08-22 10:14:24 -04:00
Kyle Huey
c5800700be Backing out Bug 513681 and Bug 587371 for timeouts. 2010-08-22 10:13:09 -04:00
Edmund Wong
6154f90e82 Bug 546174 - Remove remnant MOZ_PROFILE_MODULES r=ted.mielczarek a=gavin.sharp 2010-08-22 15:01:56 +02:00
Bobby Holley
9de0c252df Bug 513681 - part 2 - remove support for the MOZ_IMG_DECODERS build option.r=joe,khuey.a=blocker 2010-08-11 20:12:24 -04:00
Bob Clary
fd0a6ebf6b Bug 588310 - temporarily disable js1_5/extensions/regress-336410-2.js for browser on Windows, r=brendan, a=test 2010-08-21 13:06:00 -07:00
Andrew Drake
87b879b80c [JAEGER] Fix trapflatclosure.js test. r=dvander, b=582409 2010-08-05 17:35:04 -07:00
Andrew Drake
20a9e349d1 [JAEGER] Fix tests regressed by debug mode. r=dvander 2010-08-12 00:08:30 -07:00
Andrew Drake
bc97d0240e [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -07:00
Sean Stangl
c65f57164a [JAEGER] Remove unused 'recursive' variable in jsinterp.cpp. no_r=me. 2010-08-11 20:21:58 -07:00
Sean Stangl
cd2189af75 [JAEGER] Remove unused syncAllRegs(). no_r=me. 2010-08-11 19:33:28 -07:00
David Anderson
7557b64037 [JAEGER] Paper over unsynced undefineds in StrictlyEqual (bug 585220). 2010-08-11 18:59:42 -07:00
Sean Stangl
2cb41f7686 [JAEGER] Mimic GCC output for loadValueAsComponents(). b=586240, r=dvander. 2010-08-11 16:55:32 -07:00
Sean Stangl
411137012a [JAEGER] Better x64 Value loading. b=586240, r=dvander. 2010-08-11 13:45:57 -07:00
David Mandelin
a5e8e278f4 [JAEGER] Merge from tracemonkey. 2010-08-11 11:36:32 -07:00
David Mandelin
acfc0bc281 [JAEGER] Merge from tracemonkey. 2010-08-11 11:30:10 -07:00
David Mandelin
17a258c673 [JAEGER] Merge from tracemonkey. 2010-08-11 11:23:29 -07:00
David Mandelin
4b7d4e43d2 [JAEGER] Merge from tracemonkey. 2010-08-11 11:05:24 -07:00
Jacob Bramley
e4578e68a1 [JAEGER] Disable optimization of far branches to 'B' on ARM for now, as the branch patcher can't handle it. [No bug] [r=me] 2010-08-11 17:04:22 +01:00
Jacob Bramley
fc7096bbbe [JAEGER] Implement branchTruncateDoubleToInt32 for ARM. [Bug 585918] [r=dmandelin] 2010-08-11 15:23:22 +01:00
Andrew Drake
ebfb6d0eca Backed out changeset a8aeff259925 and fix due to random crashes. 2010-08-11 02:35:10 -07:00
Igor Bukanov
32c740b945 bug 568730 - folloup to add missing activity callback null check 2010-08-10 15:32:33 +02:00
Alon Zakai
8ba541a087 Bug 568730 - Allow customizing the sleep duration in XPCJSRuntime::WatchdogMain. r=igor/jst/gal 2010-08-09 16:39:28 -07:00
David Mandelin
71cf6e222a Bug 584615: adding missing oom check, r=jwalden
--HG--
extra : rebase_source : c3357167c84ab2e2e408facdcbf083df78f2fa9c
2010-08-09 16:18:07 -07:00
Luke Wagner
d75cf631d5 Define gczeal in testBug584650.js so opt builds pass 2010-08-09 15:18:05 -07:00
Dave Herman
c5d0735e45 bug584124, r=shu: njs terminal annoyances 2010-08-09 14:39:01 -07:00
Dave Herman
5da271b2a7 bug 584082, r=pwalton: eliminate uses of == 2010-08-09 14:35:02 -07:00
Luke Wagner
9644ea639c Bug 581900 - obj_getPrototypeOf produces wrong error when Invoked (r=brendan) 2010-08-09 14:07:27 -07:00
Luke Wagner
42f82923f9 Fix bustage; don't #include jstl.h from jsvalue.h, it messes up the mozalloc wrapper ritual
--HG--
extra : rebase_source : ac82f78d3d34a8d58d28d7e556ae4fd516fc83d5
2010-08-09 13:59:28 -07:00
Steve Fink
082cfbef39 Bug 507012: function call/return callback for profiling, r=dmandelin, a=sayrer 2010-08-09 13:38:13 -07:00
Shu-yu Guo
cefdea759e Bug 584436 - Better comments for hoisting/block numbering logic. r=dherman 2010-08-09 12:47:41 -07:00
Tom Austin
5075855584 Bug 584625. Renamed Narcissus modules and removed JSON style labels. r=dherman 2010-08-09 12:37:38 -07:00
Luke Wagner
05d9f91b76 Bug 584650 - address comments in bug missed by previous patch 2010-08-09 12:02:26 -07:00
Luke Wagner
0e832b8f5c Bug 584650 - Make value/id range safe after auto rooter resize (r=waldo) 2010-08-09 11:56:38 -07:00
Paul Biggar
6634b70997 Split object/function allocation paths to avoid branch (578158, r=brendan). 2010-08-09 09:11:22 -07:00
Robert Sayre
a11c4c6043 Merge mozilla-central to tracemonkey. 2010-08-07 23:05:12 -07:00
Robert Sayre
2e619a2217 Merge backout. 2010-08-07 20:11:53 -07:00
Robert Sayre
5672347230 Backed out changeset 96ef97b766e6. (Bug 458271 - Property cache causes resolve hooks not to be called. r=brendan.) 2010-08-07 20:11:42 -07:00
Andreas Gal
5322ed0408 JSString::mLengthAndFlags and mChars are not constant (585309, r=apierce). 2010-08-07 20:01:02 -07:00
Gregor Wagner
35c318f12b Bug 583598 - GC-related JS_ASSERT (r=igor) 2010-08-07 18:56:24 -07:00
Jason Orendorff
6e4e0d61ae Bug 458271 - Property cache causes resolve hooks not to be called. r=brendan. 2010-08-07 14:57:59 -05:00
Igor Bukanov
c834b35395 bug 583763 - followup to add more information into printout about missing roots and an extra assert.
--HG--
extra : rebase_source : 1889cc878be4e8fdf1c1902139208ad12cc28760
2010-08-06 21:45:25 +02:00
Luke Wagner
940ef90c85 Bug 584653 - increase JSVAL_SHIFTED_TAG_MAX_DOUBLE to include innocuous qnans (r=brendan) 2010-08-06 22:10:07 -07:00
Andreas Gal
ea8ed0fbf0 Ensure that JSOPTION_UNROOTED_GLOBAL is set when we cycle collect (stop-gap measure for bug 584495, r=brendan). 2010-08-06 20:24:49 -07:00
Dave Herman
9f5d2e6532 bug 584786, r=shu: s/CompilerContext/StaticContext/g 2010-08-06 19:37:24 -07:00
David Anderson
bbead0c23f Fixed assertion failure in callNative (bug 579740, r=jorendorff). 2010-08-06 18:54:51 -07:00
Dave Herman
667d82cfcc bug 585208, r=taustin: reference to undefined Object.getOwnProperties 2010-08-06 17:23:17 -07:00
Luke Wagner
8d67384340 Bug 585231 - Remove ArgsPrivateNative (r=dmandelin) 2010-08-06 17:19:22 -07:00
Robert Sayre
d1662b9077 Backed out changeset 504bc84513b0. Andreas Gal – Ensure that JSOPTION_UNROOTED_GLOBAL is set when we cycle collect (stop-gap measure for bug 584495, r=brendan). default tip 2010-08-06 18:15:51 -07:00
Andreas Gal
fe2812701c Ensure that JSOPTION_UNROOTED_GLOBAL is set when we cycle collect (stop-gap measure for bug 584495, r=brendan). 2010-08-06 16:37:26 -07:00
Dave Herman
b097f3a7a8 bug 584103, r=taustin: Narcissus Harmony mode 2010-08-06 16:26:59 -07:00
Dave Herman
a9b8553184 bug 583001, r=pwalton: narcissus REPL 2010-08-06 16:16:39 -07:00
Robert Sayre
ca10e5d657 Merge mozilla-central to tracemonkey. 2010-08-06 15:41:41 -07:00
Paul Biggar
8bee826b83 Bug 584993 - Expose js_DumpObject as a shell function. r=jorendorff. 2010-08-06 15:45:14 -05:00
Tom Austin
ce1464db45 Bug 584807 - Simplify Narcissus testing setup. (r=gal) 2010-08-06 11:06:30 -07:00
Chris Leary
83f59dce41 Unbreak narcissus. (r=red) 2010-08-06 10:40:31 -07:00
Chris Leary
d254245df1 Submillisecond now() shell function for benchmark stability. (r=jorendorff) 2010-08-06 10:18:44 -07:00
Andrew Drake
e4ec6d69ff [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -07:00
David Anderson
76face52cb [JAEGER] Fixed primitive string wrapping in callprop_str (bug 584579). 2010-08-10 20:57:40 -07:00
David Mandelin
bc9d853ebd [JAEGER] Just a little MSVC warning fix. 2010-08-10 17:10:49 -07:00
Sean Stangl
dac1b5d37c [JAEGER] x64 tracejit integration. b=585174, r=dvander.
Trips asserts in nanojit when running trace-tests.
2010-08-10 15:28:11 -07:00
David Mandelin
d78a3da1fa Merge. 2010-08-10 14:15:47 -07:00
David Mandelin
7c8913810b Backout merge. 2010-08-10 14:15:07 -07:00
David Mandelin
8cbcfb9f94 Backed out changeset 3a6f645100eb due to tinderbox failures. 2010-08-10 14:14:50 -07:00
David Mandelin
22e9511a95 Backout merge. 2010-08-10 14:12:30 -07:00
David Mandelin
0e58d4a4f5 Backed out changeset a58469686294 to prepare to back out 3a6f645100eb 2010-08-10 14:10:23 -07:00
David Anderson
8ce152834a [JAEGER] Commented the various loads in JaegerFromTracer. 2010-08-10 14:05:27 -07:00
David Anderson
7df4caccee [JAEGER] Disable forceful unboxing of doubles from value pointers.
--HG--
extra : rebase_source : ece46cf9a6c0e31732f50e75abf88eb64ab338d1
2010-08-10 13:41:15 -07:00
Sean Stangl
d03a42819f [JAEGER] Fix 3a6f645100eb x64 breakage. no_r=fire. 2010-08-10 13:25:55 -07:00
Brian Hackett
fa84710155 [JAEGER] Fast paths for start/end iterators and GC hazard removal, bug 578756. r=dmandelin, gal 2010-08-10 11:12:54 -07:00
Jan de Mooij
c9d0890ba0 [JAEGER] Pop comparison inputs before branching (bug 585915, r=dvander). 2010-08-10 09:40:16 -07:00
Jacob Bramley
a82449c758 [JAEGER] Modify calling code on ARM to fix most trace tests (with --methodjit-only). [Bug 581956] [r=dmandelin] 2010-08-10 10:28:23 +01:00
Chris Leary
6ce900676e Bug 585341: fix non-default-getter on with in IC. (r=dvander) 2010-08-09 19:11:24 -07:00
David Mandelin
d61ac77c89 [JAEGER] Manually back out rest of bug 585749 temp fix 2010-08-09 18:36:25 -07:00
Nicholas Nethercote
a4a2356d6b [JAEGER] Bug 585542 - JM: reorder Add() to account for common cases. r=dvander. 2010-08-09 18:20:23 -07:00
David Mandelin
5bcca6fa29 [JAEGER] Bug 585794 temporary fix followup: undisable getelem PICs 2010-08-09 16:21:49 -07:00
Sean Stangl
9eca649c6c [JAEGER] Add tests from bug 585310. 2010-08-09 15:29:58 -07:00
David Mandelin
7d07d174fc [JAEGER] Bug 585749 temporary fix: update cached native iterator's shape array when creating the cache entry 2010-08-09 15:26:19 -07:00
Sean Stangl
ce3d671386 [JAEGER] Fix PIC resetting. b=585750, r=dvander. 2010-08-09 15:13:39 -07:00
David Anderson
83892ce23c [JAEGER] Fixed CALLPROP ICs not reseting the second shape guard offset (bug 585540).
--HG--
extra : rebase_source : 6de6f362a12483838bdc3c571fe7e75d8cc0074d
2010-08-09 12:53:00 -07:00
David Mandelin
8b74c172ba [JAEGER] Bug 585226: fix offset used to reset bindname PIC, r=dvander 2010-08-06 18:03:01 -07:00
David Mandelin
df3e6a9e74 [JAEGER] Merge from tracemonkey. 2010-08-09 11:36:39 -07:00
Jan de Mooij
4f330bd38a [JAEGER] Convert result of division to integer if possible (bug 585272, r=dvander). 2010-08-09 10:18:29 -07:00
David Anderson
ab2d2410fd [JAEGER] Fixed incorrect use of syncExit() in relational compare (bug 585391). 2010-08-08 19:58:42 -07:00
David Anderson
95a614e83c [JAEGER] Added more test cases for bug 585408. 2010-08-08 19:35:21 -07:00
David Anderson
521e364261 [JAEGER] Another semi-rewrite of LOCALINC for edge cases (bug 585408). 2010-08-08 19:26:38 -07:00
David Anderson
604f0a0760 [JAEGER] Fixed bugs when LOCALINC and friends took slow paths (bug 584607, r=sstangl). 2010-08-06 18:44:31 -07:00
Sean Stangl
1c7dffaedb [JAEGER] Use MAX_PIC_STUBS define. r=dvander. 2010-08-06 16:27:39 -07:00
Chris Leary
fdd3d88c3f Bug 578041: eager-this With objects and non-default getters. (r=jorendorff)
--HG--
extra : rebase_source : b25db67f7d0a6069ffbc5281f4e3c5044e1d1b92
2010-08-06 16:21:29 -07:00
David Mandelin
b3eb68b6e5 [JAEGER] Merge from tracemonkey. 2010-08-06 15:39:15 -07:00
David Mandelin
a2a7b11dcb [JAEGER] Fix recent regression in jstest content/base/test/test_bug333198.html 2010-08-06 15:14:21 -07:00
David Mandelin
d17042d2e4 [JAEGER] Bug 584928: fix wrong END_CASE argument in the compiler 2010-08-06 14:38:10 -07:00
Sean Stangl
8082b01358 [JAEGER] Correct ic::BindName::disable() return. b=584587, r=dvander. 2010-08-06 14:12:57 -07:00
Sean Stangl
6e263ae356 [JAEGER] Fix TABLESWITCH, LOOKUPSWITCH. b=584646, r=dvander. 2010-08-06 12:03:45 -07:00
Sean Stangl
3d93fc270c [JAEGER] Don't generate SetGlobalName MIC if !writable. b=584647, r=dvander. 2010-08-06 12:02:38 -07:00
David Anderson
5804faca3c [JAEGER] Added another test case for bug 584644. 2010-08-06 12:01:17 -07:00
David Anderson
f6a63a37bc [JAEGER] Fixed PIC bitfield being too small (bug 584644). 2010-08-06 11:59:33 -07:00
David Mandelin
314a2c0c91 Merge. 2010-08-06 11:41:42 -07:00
David Mandelin
ddcca372a7 Backed out changeset a661b26a83a1 due to tinderbox failures. 2010-08-06 11:41:28 -07:00
David Mandelin
b5d55a4a18 Merge. 2010-08-06 11:40:45 -07:00
David Mandelin
28f62278d3 Backed out changeset 5a5e12cff449 because it goes on top of a661b26a83a1,
which is about to be backout out due to tinderbox failures.
2010-08-06 11:40:28 -07:00
David Mandelin
d54542edd6 Merge. 2010-08-06 11:17:29 -07:00
David Mandelin
c0c6ca3f2e [JAEGER] Disable tests that will fail during trace tuning 2010-08-06 11:15:35 -07:00
Sean Stangl
e2b4773228 [JAEGER] Handle cmpq in JaegerSpew; no_r=me. 2010-08-05 23:13:52 -07:00
Leon Sha
dd23db1af5 [JAEGER] Multiple cases failed in JaegerMonkey on Solaris x86 compiled with Sun Studio 12. r=dvander 2010-08-06 11:13:32 +08:00
Sean Stangl
5b1107a5ba [JAEGER] Try converting jsop_neg() constant doubles to int32. b=584838, r=dvander. 2010-08-05 18:54:38 -07:00
David Mandelin
e2ce3a3d92 [JAEGER] Bug 584579: force string tag on result of addition only
if one operator is a string and the other cannot be a string object, r=dvander

--HG--
extra : rebase_source : 73f00995da7a237408050ca58aebad74be27778e
2010-08-05 18:38:44 -07:00
David Anderson
78f08a7fa5 [JAEGER] Increase HOTLOOP to 4; blacklist after 300 execs. 2010-08-05 18:04:21 -07:00
Andrew Drake
5e0305dd68 [JAEGER] Fix trapflatclosure.js test. r=dvander, b=582409 2010-08-05 17:35:04 -07:00
Andrew Drake
469286fcd4 [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -07:00
Jan De Mooij
335c2b44df [JAEGER] Constant fold neg on ints better (bug 584838, r=dvander). 2010-08-05 16:09:47 -07:00
David Mandelin
2bd80dd548 [JAEGER] Fix MSVC build bustage from recent changesets 2010-08-05 16:04:02 -07:00
David Mandelin
87780bb6a5 Merge. 2010-08-05 15:57:53 -07:00
David Mandelin
d0199725aa Merge from tracemonkey. 2010-08-05 15:57:34 -07:00
Alan Pierce
680c70a8de [JAEGER] Bug 584605: Fix >> on constants. r=dvander. 2010-08-05 15:51:07 -07:00
Sean Stangl
08ddae23d9 [JAEGER] Un-constify BindName's inline jump offset. b=584642, r=dvander. 2010-08-05 13:23:18 -07:00
Jason Orendorff
fbf41f6a18 Bug 584565 - TM: When f.length is resolved at record time, we can fail to emit a shape guard. r=brendan. 2010-08-05 13:44:31 -05:00
Bob Clary
117454e744 bug 584868 - do not use fake document object in test js1_5/extensions/regress-361964.js as it can interfere with test reporting object detection, r=sparky. 2010-08-06 03:42:54 -07:00
Andreas Gal
ed7dc4ad2d Inline unit string comparison (577883, r=njn). 2010-08-06 03:29:14 -07:00
Andreas Gal
db59ff9fcf Fix int -> int32, msvc is being picky about it (follow-up for 584499, r=me). 2010-08-05 23:16:23 -07:00
Andreas Gal
9bfcb05899 Optimize string[idx] on trace (584499, r=lw). 2010-08-05 22:54:34 -07:00
Nicholas Nethercote
b92ac5d6d0 Bug 584275 - nanojit: preparation for adding many more access regions (TM-specific part). r=gal. 2010-08-05 22:17:22 -07:00
Nicholas Nethercote
4d7ec36521 Update nanojit-import-rev stamp. 2010-08-05 22:10:48 -07:00
Nicholas Nethercote
d92d97864a Fix more Windows bustage for bug 584275. r=me.
--HG--
extra : convert_revision : 982cd218ddb049bdbbcdda4fa3a9d7e40e45e0be
2010-08-05 21:38:39 -07:00
Nicholas Nethercote
771a1472de Fix Windows bustage for bug 584275. r=me.
--HG--
extra : convert_revision : 50ab6cea085bd699f13ebac102756531e8c0640f
2010-08-05 18:09:23 -07:00
Nicholas Nethercote
3b63712fcf Bug 584275 - nanojit: preparation for adding many more access regions. r=edwsmith.
--HG--
extra : convert_revision : 64ae262a02031c276f58c3a4c71cfd92828f883f
2010-08-05 17:37:42 -07:00
Dan Witte
37e120853b Bug 573087 - Automangle ctypes stdcall symbols. r=bsmedberg, a=blocker 2010-08-05 16:49:52 -07:00
Dan Witte
348d0617cf Update libffi.patch. 2010-08-05 16:49:52 -07:00
Dan Witte
9f61d27e6a Apply libffi.patch. 2010-08-05 16:49:52 -07:00
Dan Witte
883d6ca049 Mark script files as executable. 2010-08-05 16:49:52 -07:00
Dan Witte
fbed7fb6e0 Pull libffi git revision 3aeecc9eb1a6feba6549849cdd335c926415a4fc to fix bug 528129, bug 556902, bug 538002, bug 581909, bug 573066, bug 564966, and bug 556521. r+a=bsmedberg 2010-08-05 16:49:52 -07:00
Gregor Wagner
e265b8c778 Bug 581589 - TM: add defaultCompartment to compartments array (r=gal) 2010-08-05 15:48:34 -07:00
Luke Wagner
8bb1230898 Bug 584252 - disallow non-standard extensions to float syntax (r=jorendorff) 2010-08-05 13:40:21 -07:00
Blake Kaplan
1cdd12f48b Bug 584551 - Do things that require entering a request on the old compartment before entering a request on the new one. r=igor 2010-08-05 12:38:07 -07:00
Kyle Huey
634b63f3af Turn off error-on-double-including-config.mk for the moment on this CLOSED TREE 2010-08-06 09:21:41 -07:00
Kyle Huey
d7397260c9 Fix build dependencies in content/html/content/src and make double-including config.mk fatal. irc-r=ted
--HG--
extra : rebase_source : 3362befa95b5ab3aff581b49f58652d653d1a8ac
2010-08-06 08:26:20 -07:00
Sean Stangl
4c17f22a19 [JAEGER] PolyIC support for x86_64. b=578245, r=dvander. 2010-08-04 19:24:33 -07:00
David Mandelin
c41fb54261 [JAEGER] Bug 584466: remove nonfunctional dense array code from setelem pic stub generator, r=dvander 2010-08-04 18:53:27 -07:00
David Anderson
7f08721380 [JAEGER] Fixed warning in FastArithmetic.cpp.
--HG--
extra : rebase_source : 70bf9eae527e5a6f3eb85c26db5b094c528dfe24
2010-08-04 15:11:30 -07:00
David Anderson
e7ff26213c [JAEGER] Fixed a warning in Compiler.cpp.
--HG--
extra : rebase_source : 8d0f032140dd2ad6133225246e6604601754f292
2010-08-04 15:09:59 -07:00
Sean Stangl
206f75dd48 [JAEGER] Disable GetProp PIC upon generateStringLengthStub(). 2010-08-04 14:57:28 -07:00
Jeff Walden
47551e8efe Bug 514563 - ES5 strict mode: arguments.caller and arguments.callee poison pills. r=dmandelin
--HG--
extra : rebase_source : 2f0b258624ec065cb019f61f017115998a8835b2
2010-08-04 14:39:45 -07:00
David Anderson
fcfeff1adb [JAEGER] Added another test case for bug 580931. 2010-08-04 14:20:55 -07:00
David Anderson
3095481569 [JAEGER] Ensure stack stores are synced for escaping slots or eval code (bug 580884, r=sstangl). 2010-08-04 14:05:19 -07:00
Jeff Walden
df688c0946 Rename JSObject::getArgsLength to JSObject::getArgsInitialLength, to make clearer precisely what value it returns. r=dmandelin
--HG--
extra : rebase_source : c642dd15d4d1cf5f8ac2211dc2ee33845d11bef1
2010-08-04 13:50:01 -07:00
David Mandelin
48342132f5 Merge from Tracemonkey. 2010-08-04 11:30:05 -07:00
Ginn Chen
41d11b7d84 Bug 584219 Sun Studio doesn't support __attribute__ packed for enum r=lw 2010-08-04 19:40:39 +08:00
Luke Wagner
c650a3d7e3 Bug 584168 - consider canonicalizing nans passed to the JSAPI (r=brendan) 2010-08-04 04:13:19 -07:00
Sean Stangl
54306314e4 [JAEGER] Assert correctness for CallProp PIC. 2010-08-04 02:03:05 -07:00
Luke Wagner
70799ce02c Bug 584158 - ensure that typed arrays cannot produce non-canonical nans (r=gal) 2010-08-03 22:06:44 -07:00
Brian Hackett
06fbb33b82 [JAEGER] MIC fast constructors, bug 579471. r=dvander 2010-08-03 21:24:45 -07:00
Tom Austin
7aea5118ff Bug 584265 - Fix Narcissus error message format. r=gal. 2010-08-03 21:14:49 -07:00
Nicholas Nethercote
787502bbde Update nanojit-import-rev stamp. 2010-08-03 20:48:34 -07:00
Andreas Gal
00c966f8e3 Bug 580534 - implement LIR_cmovd. r=nnethercote.
--HG--
extra : convert_revision : 186f3f376d662375ff9182cf0b470468335ef442
2010-08-03 20:39:21 -07:00
David Anderson
784866e48c [JAEGER] Eagerly initialize Function, Object classes before compiling (bug 582286, rs=brendan). 2010-08-03 19:18:05 -07:00
David Anderson
6754f67b7a [JAEGER] Fixed warning in MonoIC.cpp. 2010-08-03 18:15:50 -07:00
Brian Hackett
469c730371 Fix regression, bug 584199. r=dvander 2010-08-03 18:11:25 -07:00
David Mandelin
bf22d2227a [JAEGER] Bug 583946: don't doubly mark free a pinned register that was stolen during immutable syncing, r=dvander 2010-08-03 17:42:04 -07:00
Brian Hackett
b39b52a99a [JAEGER] Add native call MICs, bug 578912. r=dvander 2010-08-03 17:31:21 -07:00
David Anderson
fbe184bfeb [JAEGER] Added missing test-case for bug 583689. 2010-08-03 16:36:50 -07:00
David Anderson
8ed1354d84 [JAEGER] Fixed crash bug in tracer integration (bug 583689). 2010-08-03 16:36:04 -07:00
David Anderson
6505f56119 [JAEGER] Fixed uninit var warning. 2010-08-03 16:27:08 -07:00
Alan Pierce
91aa99b486 [JAEGER] Reland bug 576934: special-case parseInt(double) in num_parseInt, r=dvander 2010-08-03 15:47:58 -07:00
David Anderson
48b5a4d82a [JAEGER] ScopeNameCompiler didn't check for property existence (bug 583688). 2010-08-03 15:04:50 -07:00
Bill McCloskey
969b3d151b Bug 580931: handle null passed to js_GetPrimitiveThis, r=jorendorff 2010-08-03 14:30:33 -07:00
Andrew Drake
335f853868 [JAEGER] :FIXME: :TODO: :XXX: :URGENT: re-patch type guard r=dvander, b=583680 2010-08-03 13:47:40 -07:00
Brian Hackett
5ab7972159 Fast native constructors, bug 579471. 2010-08-03 12:20:48 -07:00
Jeff Walden
443f3f510a Bug 514581 - ES5: fun.caller and fun.arguments must throw when fun is strict-mode code. r=jimb
--HG--
extra : rebase_source : 10f930852e39b0b1ef917b18b6a1332a9a815d5d
2010-08-02 23:52:12 -07:00
Andrew Drake
99fbe463df [JAEGER] Don't make the GC sad in the middle of compilation. r=dvander, b=583675 2010-08-02 22:50:00 -07:00
Sean Stangl
7fcc3c72ec [JAEGER] Move DBGLABEL definition to CodeGenIncludes.h.
The definition is not useful only for PIC asserts.
2010-08-02 20:36:18 -07:00
David Mandelin
3b5036d774 [JAEGER] Bug 583915: set correct slow path start for getelem pics, r=dvander 2010-08-02 18:22:22 -07:00
David Anderson
941362741c [JAEGER] Merge. 2010-08-02 18:29:10 -07:00
Andrew Drake
004ffe87f1 [JAEGER] Don't try to PIC JSOP_NAME for global setters or getters. r=dvander, b=583692 2010-08-02 18:24:17 -07:00
David Anderson
85b14f8f77 [JAEGER] Fixed regression for non-tracer builds. 2010-08-02 18:15:50 -07:00
David Anderson
69d03d11e9 [JAEGER] Fixed regression in tracer integration. 2010-08-02 17:31:22 -07:00
David Anderson
bfe8c0a315 [JAEGER] Fixed bug in tracer integration where frame popping could return undefined.
--HG--
extra : rebase_source : 15b8bd87a4f8a8ba30b1e9a4cb919e06300bbaf4
2010-08-02 17:22:13 -07:00
David Mandelin
2aeb7a7391 [JAEGER] Bug 583873: sync on all branches to getelem PIC slow path, r=dvander 2010-08-02 15:35:55 -07:00
David Mandelin
5f95f51478 Merge. 2010-08-02 15:55:50 -07:00
David Mandelin
d7f6c4209b Merge from Tracemonkey. 2010-08-02 15:55:29 -07:00
David Anderson
6358aba3e4 [JAEGER] Fixed uncopy() breaking copy invariants (bug 583684, r=sstangl). 2010-08-02 15:52:49 -07:00
Dave Herman
f5415ad358 bug 582999, r=gal: putstr function for JS shell 2010-08-02 15:02:15 -07:00
Jason Orendorff
5534502a01 Bug 583850 - Assert that certain security checks in the JS engine never fail. r=mrbkap. 2010-08-02 16:38:46 -05:00
Jason Orendorff
652b4f196b Bug 583262 - Remove security checks on f.prototype.constructor property at last. r=mrbkap.
--HG--
extra : rebase_source : d41e97b9ec4367ed4eb1f28a082571f37a9696e2
2010-08-02 15:59:06 -05:00
Jeff Walden
ba064bca66 Bug 536472 - ES5: getters in object literals must have no arguments, and setters in object literals must have one argument. r=cdleary
--HG--
extra : rebase_source : 5335e6ebd22d8bc2255a3ddc7a7fcbb944dacd40
2010-08-02 12:35:08 -07:00
Shu-yu Guo
9dbc7ce7d4 Bug 583806 - Fix calling unbound mkIdentifier in narcissus jsparse.js. r=dherman 2010-08-02 12:17:04 -07:00
Sean Stangl
7d356d5f07 [JAEGER] Remove undefined store optimization for SetProp. b=583672, r=dvander. 2010-08-02 11:39:24 -07:00
Jason Orendorff
8ed74ae25b Fix two MSVC warnings. no_r=me. 2010-08-02 09:44:24 -05:00
Jacek Caban
faaaf8264b Bug 580904 - remove jsval_layout.debugView in mingw-w64 r=lw 2010-08-02 12:01:22 +02:00
Jacek Caban
37c9c36c36 Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith 2010-08-02 11:59:50 +02:00
Jacek Caban
29531fc3b8 Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander 2010-08-02 11:58:44 +02:00
David Anderson
d827d4b596 [JAEGER] Random search algorithm for finding tracing optimums. 2010-08-01 23:55:36 -07:00
Dave Herman
21f32eaeb6 bug 583281, r=khuey: njs should get symlinked into objdir
--HG--
rename : js/src/njs => js/src/shell/njs
2010-08-01 22:42:41 -07:00
Sean Stangl
1192e18172 [JAEGER] Assert correctness for inline caches. b=583532, r=dvander.
Previously, offsets into bytecode were calculated manually
by case observation. However, the bytecode length may vary.
We assert that the hardcoded values are correct.
2010-08-01 22:34:23 -07:00
Luke Wagner
49550f19b6 Bug 581747 - Remove JSOP_CONCATN. Good-night, sweet prince. (r=waldo) 2010-08-01 21:54:09 -07:00
Sean Stangl
c8ae808f02 [JAEGER] MonoIC support for x86_64. b=578245, r=dvander. 2010-08-01 18:31:50 -07:00
Nicholas Nethercote
bfc11c41de Bug 582766 - JIT vastly slows down Data Manager (let in .nextSibling loop makes TM loop way too often). r=dvander. 2010-08-01 18:03:12 -07:00
David Anderson
a5dd0204ab [JAEGER] Merge. 2010-08-02 15:31:47 -07:00
David Anderson
9153716887 [JAEGER] Improve trace point coverage. 2010-08-02 15:31:26 -07:00
David Anderson
1a125b3442 [JAEGER] Merge. 2010-08-02 11:55:59 -07:00
David Anderson
b0e3e8c7ff [JAEGER] Add instrumentation for v8-deltablue. 2010-08-02 10:49:14 -07:00
David Anderson
b4effc041b [JAEGER] Finished instrumentation for v8-crypto. 2010-08-02 10:40:33 -07:00
Nicholas Nethercote
e06b7385ea Bug 582766 - JIT vastly slows down Data Manager (let in .nextSibling loop makes TM loop way too often). r=dvander. 2010-08-01 18:03:12 -07:00
Bob Clary
7faee100e4 bug 583155 - reduce log noise from jsreftest in the browser, r=mrbkap,jorendorff. 2010-08-05 07:14:34 -07:00
Igor Bukanov
e48bf454d2 bug 583763 - conservative GC cleanup and better reporting of missing conservative roots. r=anygregor 2010-08-05 14:16:56 +02:00
Chris Leary
c4e96f6d5e Bug 583868: increase heap size to avoid V8 OOM in shell. (r=anygregor) 2010-08-04 16:23:49 -07:00
Shu-yu Guo
d7c1565c57 Bug 584264 - Whitespace cleanup for narcissus and small fix for parser. r=pwalton 2010-08-04 12:07:41 -07:00
David Anderson
05cf227d95 [JAEGER] Exhaustive search for integration optimum.
--HG--
rename : js/src/metrics/jint/preprocess.py => js/src/metrics/jint/treesearch.py
2010-08-01 16:18:59 -07:00
Shu-yu Guo
7a91d0dec5 Bug 579230 - Rewrite narcissus expr parser, refactor into builder pattern. r=gal 2010-08-01 12:20:18 -07:00
Robert Sayre
94a5ae0e6e Merge relanding of bug 577648 and bug 582479. 2010-08-01 09:59:36 -07:00
Robert Sayre
a72794c86d Reland Bug 582479 - TM: Assertion failure: (&cx->regs->sp[1 - (iargc + 2)].toObject())->isFunction(). 2010-08-01 09:59:02 -07:00
Robert Sayre
898b0d6094 Merge 2010-08-01 09:58:16 -07:00
Robert Sayre
250c59eece Reland: Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances. 2010-08-01 09:58:03 -07:00
Robert Sayre
e934a9cb50 Merge. 2010-08-01 09:57:13 -07:00
Robert Sayre
eebc988390 Reland bug 577648 tests. 2010-08-01 09:57:01 -07:00
Kyle Huey
934e198a7e Sync js/src/config/ and config/ build files from silly mistakes on my part on this CLOSED TREE 2010-08-01 03:14:05 -07:00
Kyle Huey
353f0f4dfb Fixing typos on a CLOSED TREE 2010-08-01 02:32:15 -07:00
Kyle Huey
6cabbd4fed Bug 522770: Followup to turn on fakelibs only on Windows since gcc is dumb, even on a CLOSED TREE 2010-08-01 02:12:17 -07:00
Kyle Huey
932ea79b49 Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
David Anderson
82d71ba7b4 [JAEGER] Reverted accidental test changes. 2010-07-31 18:59:53 -07:00
David Anderson
3669a18d8b [JAEGER] Add diagnostic tool for trace JIT tuning. 2010-07-31 18:58:53 -07:00
Robert Sayre
b90c702db2 Remove tests associated with backouts. 2010-07-31 14:19:00 -07:00
Robert Sayre
9bae5e1079 Backout changeset 80382d88b92c. (Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances). The patch is righteous, but MSVC's behavior with a mere 3GB of addressable memory is not. Will reland soon. 2010-07-31 14:01:26 -07:00
Robert Sayre
fcd927ce28 Back out changeset c877176cbbed in order to get Windows compiling. (Bug 582479 - TM: Assertion failure: (&cx->regs->sp[1 - (iargc + 2)].toObject())->isFunction().) 2010-07-31 13:17:20 -07:00
Robert Sayre
6bf99d92ea Merge backout. 2010-07-31 11:16:52 -07:00
Robert Sayre
90cb325bbf Backed out changeset af011e92ad0b. (Dave Herman – bug 583281, r=jimb: njs should get symlinked into objdir). This doesn't build on windows. 2010-07-31 11:16:38 -07:00
David Mandelin
09a44c39fb Bug 583402 followup: use correct new freeslot 2010-07-30 18:52:54 -07:00
Sean Stangl
38edabf198 [JAEGER] Fix typeCheckOffset warning. r=dvander. 2010-07-30 17:25:01 -07:00
David Anderson
a131b38d59 [JAEGER] Fixed warning in MonoIC.cpp. 2010-07-30 17:20:41 -07:00
David Mandelin
103991fb43 Bug 583402: fix loop in js_ClearNative 2010-07-30 16:33:07 -07:00
Dave Herman
1cd082cba6 bug 583281, r=jimb: njs should get symlinked into objdir
--HG--
rename : js/src/njs => js/src/shell/njs
2010-07-30 15:17:14 -07:00
David Mandelin
acc73fdede Bug 583382: reset pics to correct stub, r=dvander 2010-07-30 15:01:08 -07:00
David Anderson
a172933d9b [JAEGER] Fixed DEFVAR using old, invalid GVAR optimization (bug 580883). 2010-07-30 14:53:07 -07:00
David Anderson
b64eb3c2bb [JAEGER] Fixed syncing in JSOP_DIV (bug 582276). 2010-07-30 12:18:48 -07:00
Zack Weinberg
788b4d617f Bug 568863: Add a scriptable interface to operating-system performance measurement APIs (Linux only for now). r=cjones,waldo,mitch a2.0=bz
--HG--
rename : toolkit/components/ctypes/Module.cpp => toolkit/components/ctypes/ctypes.cpp
rename : toolkit/components/ctypes/Module.h => toolkit/components/ctypes/ctypes.h
2010-07-30 12:17:56 -07:00
Chris Leary
460cdeaae5 Rename displaySave member of the stack frame to padding. (r=luke) 2010-07-30 11:57:03 -07:00
David Anderson
04fb4874c7 [JAEGER] Fixed slow path not rejoining when left shifting by zero (bug 583158). 2010-07-30 11:55:33 -07:00
David Anderson
1b40801677 [JAEGER] Relax offset bitfield in PolyIC (bug 583160). 2010-07-30 11:30:29 -07:00
Luke Wagner
b23d605527 Bug 579183 - loosen-up StackSegment invariants - part 5 - CallArgs (r=waldo)
--HG--
extra : rebase_source : 4031cc1def70bef58bfa759a4cc90af06adfc9cd
2010-07-30 10:41:03 -07:00
Luke Wagner
facb1029e6 Bug 579183 - loosen-up StackSegment invariants - part 4 - StackSpace (r=waldo)
--HG--
extra : rebase_source : ef600f1185199cf65e251325995f772170502cca
2010-07-30 10:40:58 -07:00
Jason Orendorff
6972003bf8 Delete obsolete comment. no_r=me.
--HG--
extra : rebase_source : 8b9b7408c0efd682a5f11f827fca2d2304e0a4a3
2010-07-30 10:21:11 -05:00
Ginn Chen
7a935c4faf Bug 568782 add #ifdef SOLARIS for mmap/munmap changes r=igor 2010-07-30 18:51:58 +08:00
William Maddox
356836d1b5 Bug 570276 - Fix code generation for address load on SPARC (r=leon.sha+)
Special case code for LEA formerly fell through to the general case,
resulting in generation of redundant "junk" code.

--HG--
extra : convert_revision : 639cf2aa65734e43194b8b62f4c95f462c918cf0
2010-07-29 19:10:27 -07:00
David Anderson
8adb6cdddb [JAEGER] Put conservative marker in JSTracer, rather than GCMarker (bug 583149). 2010-07-29 18:46:45 -07:00
David Anderson
ba8c0b526c [JAEGER] Fixed tracer integration illegally re-pushing fp->rval (bug 583124). 2010-07-29 17:25:13 -07:00
David Anderson
55ea4cfe6b [JAEGER] Merge. 2010-07-29 17:13:27 -07:00
David Anderson
9621bf247c [JAEGER] Conservatively scan the JS stack (bug 583084, GC changes r=gregor). 2010-07-29 17:13:08 -07:00
Boris Zbarsky
0d44d3fad5 Bug 586204. Remove pointless null-check. r=peterv, a=bsmedberg 2010-08-11 17:05:28 -04:00
Michael Wu
2abb47c1f1 Bug 556644 - 4. Fix tests, r=bsmedberg a=blocking2.0
--HG--
rename : caps/tests/mochitest/test_bug292789.html => caps/tests/mochitest/test_bug292789.html.in
2010-08-10 15:18:40 -07:00
Oleg Romashin
8144f44a16 Bug 584727 - contentaction.h system-header is missed. r=doug.turner 2010-08-10 12:53:17 -07:00
Benjamin Smedberg
50c345a485 Disable test_rooting on a CLOSED TREE, since with the GC changes the handle isn't being collected deterministically. 2010-08-10 13:26:30 -04:00
Steven Michaud
864fe41a26 Bug 581573 - Trunk builds fail when using --enable-cpp-rtti. r=gal a=bsmedberg 2010-08-10 11:31:06 -05:00
Benjamin Smedberg
1e3daa33ff Bustage fix, bug 578821. 2010-08-10 11:48:49 -04:00
David Mandelin
f5adc34f1a [JAEGER] Modify js1_8\extensions\regress-422269.js so that it tests what it is trying to test in JM 2010-07-29 16:22:59 -07:00
David Mandelin
81fa828c0f [JAEGER] Disable failing part of js1_8\regress\regress-384412.js for now. 2010-07-29 16:09:35 -07:00
David Mandelin
365350997e [JAEGER] Bug 583091: fix handling of andx/orx in the bytecode analyzer, r=dvander 2010-07-29 16:07:27 -07:00
David Mandelin
b32d066107 [JAEGER] Bug 582411: Make JM throw an exception setting undefined global vars in strict mode, r=dvander
--HG--
extra : rebase_source : 6ee3399c7f4ffadab34765a4bf3c2ccaa4c8c1f2
2010-07-29 16:04:54 -07:00
Luke Wagner
bbea6273e3 Bug 579183 - loosen-up StackSegment invariants - part 3 - renaming (r=waldo)
--HG--
extra : rebase_source : 3adc886f47b9e0ae77e33cbe15dec9d831576266
2010-07-29 14:43:11 -07:00
David Anderson
8d5dc1764d [JAEGER] Fix torn values in ImmutableSync (bug 582882). 2010-07-29 14:24:29 -07:00
David Anderson
1b797f77b4 [JAEGER] Fix INSTANCEOF (merge fallout). 2010-07-29 14:19:08 -07:00
Jeff Walden
0e3e62e14e Bug 536472 - Move argument parsing into a new function. r=cdleary
--HG--
extra : rebase_source : c22845afb7f961e7347cb22b60bbefef1c9defaf
2010-07-29 13:54:47 -07:00
David Anderson
1a31b84af7 [JAEGER] Fixed some x64 merge fallout. 2010-07-29 13:54:44 -07:00
Jeff Walden
f78ef6bfbf Bug 536472 - Move name parsing from function parsing into the callers, as needed. r=cdleary
--HG--
extra : rebase_source : 002477269ebd8dc3a5a474c4d9d60b232190e0e1
2010-07-29 13:49:03 -07:00
David Mandelin
7aa510d435 [JAEGER] Missing internal API change from previous merge. 2010-07-29 13:38:31 -07:00
David Mandelin
4c5a188923 [JAEGER] Merge from Tracemonkey. 2010-07-29 13:23:33 -07:00
David Anderson
f48600ff4f [JAEGER] Fixed copyDataIntoReg() not invalidating on uncopy (bug 582884). 2010-07-29 12:14:39 -07:00
David Anderson
8e12d36c0a [JAEGER] Merge. 2010-07-29 11:49:03 -07:00
David Anderson
cdef4d6be0 [JAEGER] Fixed assumption about copies which is broken by let expressions (bug 582897). 2010-07-29 11:48:47 -07:00
Chris Leary
8a27ed96a8 Bug 582899: JM: Disable PICs during proto-chain walk if non-JS-native encountered. (r=dvander)
--HG--
extra : rebase_source : 852340ee558dd9e465f022ca1e7912f7b5273053
2010-07-29 11:37:38 -07:00
David Anderson
53496ea9d7 [JAEGER] Merge. 2010-07-29 11:36:00 -07:00
David Anderson
8da8334737 [JAEGER] Fixed constant folding bug in LOCALINC (bug 582898). 2010-07-29 11:35:33 -07:00
Chris Leary
ce1ea451a1 Bug 582900: JM: Missing rsh type set. (r=dvander) 2010-07-29 11:32:36 -07:00
Chris Leary
de4f1f12a2 Fix trace-test.py to work on symlinks. (r=self). 2010-07-29 11:02:54 -07:00
Igor Bukanov
4eff9db05f bug 579957 - parent as a field in JSObject. r=lw 2010-07-29 19:11:27 +02:00
Jason Orendorff
3e23944c3b Fix MSVC warnings about class JSFunction. no_r=me. 2010-07-29 08:08:23 -05:00
Jason Orendorff
566beedf1f Remove extra backslashes. no_r=me. 2010-07-29 08:06:32 -05:00
Andrew Drake
5be4d3eedb [JAEGER] Add support for PUSHA/POPA/emulation for X86/X86_64 to masm. 2010-07-29 01:36:31 -07:00
David Anderson
3b3499e173 [JAEGER] Merge. 2010-07-28 18:18:51 -07:00
David Anderson
d3dc737c16 [JAEGER] Define gczeal in trace-tests to an empty function, when not present, for opt builds. 2010-07-28 18:18:36 -07:00
David Mandelin
1467de97e7 [JAEGER] Backout merge. 2010-07-28 18:17:42 -07:00
David Mandelin
60d30c1178 Backed out changeset 71d776c0ec08 -- this modified some tests to disable an
old syntax, but we are keeping that syntax for now.
2010-07-28 18:17:17 -07:00
David Mandelin
d8f5b969ca [JAEGER] Bug 582449: remove unneeded slow path to prevent us from falling through and calling functions twice, r=dvander 2010-07-28 18:13:13 -07:00
Nicholas Nethercote
bdd9c63662 Bug 582191 - nanojit: fix formatImm[IQ] bogons. r=edwsmith.
--HG--
extra : convert_revision : ce704edcab9d092627ad29e60efc0991ee2682e0
2010-07-28 17:06:14 -07:00
Jeff Walden
d87075cb43 Bug 536472 - Remove unnecessary getter/setter-setting in JSFunction::flags code. r=cdleary
--HG--
extra : rebase_source : c8365682d92693493adaa74f5f69e8837d1bd5cd
2010-07-28 15:52:15 -07:00
Chris Leary
8089ea803d Bug 578517: JM: double >> int fast path. (r=dvander) 2010-07-28 15:40:31 -07:00
David Anderson
d1269a00d4 [JAEGER] Improve performance of loading doubles (bug 582152). 2010-07-28 14:32:39 -07:00
Brian Hackett
e56731d546 JM: OOL fast path for setting array holes, bug 580355 2010-07-28 13:07:26 -07:00
David Anderson
211b338724 [JAEGER] Merge fallout, use JSSLOT_DENSE_LENGTH_CAPACITY instead of dslots[-1]. 2010-07-28 12:40:36 -07:00
David Mandelin
a73ecdeee1 Merge from Tracemonkey. 2010-07-28 11:16:36 -07:00
Gregor Wagner
c026160d8e Bug 582471 - TM: followup for Bug 579100 (r=igor) 2010-07-28 10:48:28 -07:00
Luke Wagner
dd44050eb2 Bug 581875 - use js::HashSet in JSAtomState (r=igor) 2010-07-28 09:54:14 -07:00
Robert Sayre
909914ff10 Merge backout. 2010-07-29 18:15:03 -07:00
Robert Sayre
c7bd912564 Backed out changeset d8bbb2ef3038. (Igor Bukanov – bug 579957 - parent as a field in JSObject. r=lw) 2010-07-29 18:11:41 -07:00
Edwin Smith
06143a5acb Fixed initialization of Assembler::nHints (bug 581702, r=nnethercote+)
--HG--
extra : convert_revision : d8dccd548db136e88ea1a8be0627088b6a78cc78
2010-07-28 11:24:25 -04:00
Igor Bukanov
181c2cdf3a Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution. 2010-07-28 14:36:06 +02:00
Jacek Caban
f504194cd6 Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith
--HG--
extra : convert_revision : 85b2cf98c09be7ba490c85f2ffcf8dd38cfa4929
2010-07-28 13:44:01 +02:00
Jacek Caban
ea42f28b0d Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander
--HG--
extra : convert_revision : bb90a35c6382aeb519a789e1f018d52000a4d6fe
2010-07-28 13:40:37 +02:00
Tom Austin
e4536e1112 Refactored Narcissus to use the module pattern (bug 583913, r=pwalton) 2010-08-03 17:15:02 -07:00
Neil
5846822884 Bug 581909 - Don't pass -safeseh to ml64 because the behaviour is buggy. r=dwitte 2010-08-03 14:05:54 -07:00
Eli Friedman
dc13880547 Bug 579686 - StringToInteger not declared before first use in CTypes.cpp. r=dwitte, a=blocking 2010-08-03 14:01:47 -07:00
Jeff Walden
7b1b9cb9db Fix trace-test bustage from bug 583925. r=smokeythebear 2010-08-03 08:26:20 -07:00
Jim Blandy
0201054fcc Bug 583925: parseInt should not depend on its caller's strictness. r=waldo 2010-08-02 18:04:29 -07:00
Sean Stangl
e339d4e92f [JAEGER] x86_64 masm: do not swap into %eax for loads, stores. 2010-07-27 21:35:13 -07:00
Sean Stangl
dd89f414c2 [JAEGER] Introduce JS_NUNBOX32, JS_PUNBOX64 defines. r=dvander. 2010-07-27 18:26:57 -07:00
Andrew Drake
ec2419a1db [JAEGER] Add interrupt check to function calls. r=dmandelin, b=582419 2010-07-27 18:00:02 -07:00
David Mandelin
fba2c79282 [JAEGER] Bug 582449: remove obsolete regexp syntax from test cases 2010-07-27 17:44:26 -07:00
David Mandelin
00f96529d9 [JAEGER] Trying to get rid of build bustage and strict aliasing warnings surrounding usage of JS_ATOMIC_SET_MASK 2010-07-27 17:30:19 -07:00
David Mandelin
2a664efa82 [JAEGER] Bug 582268: add lhs-is-constant specialization to mod check for negative zero result, r=dvander 2010-07-27 17:14:04 -07:00
David Mandelin
76163eaed4 [JAEGER] Bug 582429: fix stubs::GetElem handling of negative indices to match jsinterp.cpp, no_r=me 2010-07-27 17:06:36 -07:00
David Anderson
269487046d [JAEGER] Merge. 2010-07-27 16:58:47 -07:00
David Anderson
433eea0e1c [JAEGER] Fixed syncing bugs when comparing doubles (bug 582392). 2010-07-27 16:57:39 -07:00
David Mandelin
6bc3cc34bf [JAEGER] Bug 582423: use unsigned shift for string length stub, no_r=me 2010-07-27 16:47:01 -07:00
David Mandelin
490de59ddd [JAEGER] Fix MSVC warnings. 2010-07-27 14:44:25 -07:00
David Mandelin
377329cf14 [JAEGER] Make the jsreftest shell suite actually run in methodjit mode 2010-07-27 14:42:09 -07:00
David Anderson
7ff58771b6 [JAEGER] Merge. 2010-07-27 14:32:43 -07:00
David Anderson
21ffa0531f [JAEGER] Fixed EQ/NE with non-int32 known types (bug 582185). 2010-07-27 14:32:03 -07:00
Sean Stangl
22e444cff1 [JAEGER] Fix x86_64 strict aliasing warnings again.
The last merge with TraceMonkey blew away these changes.
2010-07-27 14:19:10 -07:00
Andrew Drake
fecdab5ba0 [JAEGER] Fix segfault adding upvars when eval is present. r=dvander, b=582279 2010-07-27 13:41:42 -07:00
Benjamin Smedberg
d2b5f1a5d7 But 578821 - Give jetpacks a way to mark a handle as unrooted, so that it can live as long as client code holds it alive without having to be explicitly deleted, and give the other side the ability to see handle deletion, r=bent/atul/cjones 2010-07-27 16:18:08 -04:00
David Mandelin
da52d7c98c [JAEGER] Fix MSVC warning. 2010-07-27 12:21:14 -07:00
David Mandelin
e650554a3a [JAEGER] Bug 582143: don't use int32 negation on MIN_INT, r=dvander
--HG--
extra : rebase_source : 545d1acee88fc383928548d1ca03253916593c66
2010-07-27 12:19:09 -07:00
Luke Wagner
247c0a1b9f [JAEGER] Add empty op to js::Interpret
--HG--
extra : rebase_source : ad4737763fdd7d7a68ca26d7baa9c26f6805d4a2
2010-07-27 12:09:07 -07:00
Luke Wagner
271d6b6562 Bug 579183 - loosen-up StackSegment invariants - part 2 - xpconnect (r=mrbkap)
--HG--
extra : rebase_source : af3a68294495984e06db7c73a84e444f12c97a8d
2010-07-26 19:49:27 -07:00
Luke Wagner
c9c381b11c Bug 579183 - loosen-up StackSegment invariants - part 1 - decompiler (r=brendan)
--HG--
extra : rebase_source : 77f1977e20773431266c7794b6cf8a2595b1c8f2
2010-07-30 14:49:29 -07:00
David Mandelin
eccb347f74 [JAEGER] Bug 528129: correct equality comparison on two undefined values, r=dvander 2010-07-26 18:02:13 -07:00
David Mandelin
904ccc994c Merge from Tracemonkey. 2010-07-27 11:48:08 -07:00
Jan de Mooij
976053d03c [JAEGER] Fast-path for ValueToBoolean with ints (bug 579527, r=dvander). 2010-07-27 11:14:57 -07:00
Andrew Drake
5622b86554 [JAEGER] Fix incorrect use of return value of setter. r=dvander, b=580712 2010-07-27 01:12:37 -07:00
Sean Stangl
01f70eadcb [JAEGER] Use scratchRegister to swap on x86_64. Don't use XCHG. XCHG is slow. 2010-07-26 19:04:41 -07:00
David Anderson
9a12ccc5e5 [JAEGER] Fast-path for comparing doubles (bug 579225). 2010-07-26 18:12:51 -07:00
David Mandelin
45c205f566 Bug 582084: make sure int tags get written on fast path of globalinc, r=dvander 2010-07-26 17:59:40 -07:00
Jeff Walden
ea07e60efa Bug 536472 - Parser::functionDef declaration-delaying. r=cdleary
--HG--
extra : rebase_source : cf878ea44079cf562eb433b01ffe945431c47c88
2010-07-26 16:11:40 -07:00
Gregor Wagner
d58c414a8f Bug 587805 - TM: Clean GCMeter (r=igor) 2010-08-17 11:54:54 -07:00
Sean Stangl
efe74a5af3 [JAEGER] Implement punbox Value -> {Type,Payload} conversion helpers. 2010-07-26 16:05:50 -07:00
David Mandelin
882f581f03 [JAEGER] Bug 582039: deoptimize globals if the initial var object is not the global object, r=dvander 2010-07-26 14:36:32 -07:00
David Mandelin
977f07340e [JAEGER] MSVC build fix, probably fallout from today's merge from TM. 2010-07-26 14:24:31 -07:00
David Anderson
fda084345f [JAEGER] Merge. 2010-07-26 11:57:01 -07:00
David Anderson
d231b7a841 [JAEGER] Merge. 2010-07-26 11:56:45 -07:00
David Anderson
914b19b17c [JAEGER] Fixed new arithmetic fast-paths not OOL syncing properly (bug 581936). 2010-07-26 11:56:30 -07:00
David Mandelin
fff17561b9 [JAEGER] Fixed a few warnings 2010-07-26 11:54:12 -07:00
David Mandelin
8702c2649d Merge from Tracemonkey. 2010-07-26 11:52:26 -07:00
Chris Leary
4c5fd024ab Bug 578272: Remove Algol-like display optimization. (r=brendan) 2010-07-26 06:35:38 -07:00
Jacob Bramley
284942704b [JAEGER] Fix ARM build. [No bug] [r=me] 2010-07-26 09:44:41 +01:00
Igor Bukanov
041b1e86e5 bug 574313 - checking that autoroots are conservatively scanned and aborting if not. The check is enabled in optimized build for better test coverage. r=anygregor 2010-07-26 10:24:27 +02:00
Igor Bukanov
b4a4d8d48e bug 579957 - parent as a field in JSObject (relanding after wixing bug 583404). r=lw 2010-07-31 11:54:01 +02:00
Igor Bukanov
fc98a499af bug 583404 - backport of fix from David for JM branch. 2010-07-31 11:42:28 +02:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Robert Sayre
fdb70f359e Change a comment to match the surrounding code. 2010-07-30 20:26:06 -07:00
Robert Sayre
d733703b0c Change a comment to match the surrounding code. 2010-07-30 20:12:45 -07:00
Jeff Walden
cfbbbaa362 Really test bug 583429. :-) rs=tpyo 2010-07-30 19:17:15 -07:00
Jeff Walden
f6cbfcea4c Bug 582643 - Reject '0x' without any hex digits. r=jorendorff 2010-07-29 17:37:25 -07:00
Jeff Walden
9bb90b0bc3 Bug 583126 - parseInt(string) traceable native ignores OOM. rs=jorendorff
--HG--
extra : rebase_source : b9244f62e7f4bc0e0db96a7b5fa21b43ffc1b7de
2010-07-30 17:25:20 -07:00
Andreas Gal
482da28f6d Test for bug 583429 2010-07-30 19:04:03 -07:00
Andreas Gal
98a47a4f07 Array.prototype lost its length property (583429, r=brendan). 2010-07-30 18:24:03 -07:00
Jeff Walden
5891afb00c Followup to bug 577536: move parse-as-octal inference to a slightly different location so as not to cause |parseInt('0A', 16)| to be parsed as octal. r=jorendorff 2010-07-30 14:39:51 -07:00
Luke Wagner
48166dd26f Fix warning in js_DumpAtoms on 64-bit (no bug) 2010-07-30 16:50:38 -07:00
Sean Stangl
688f7fa149 [JAEGER] Stop using ValueReg unnecessarily on x86_64. 2010-07-26 01:07:53 -07:00
Sean Stangl
ddd8e6e425 [JAEGER] Fix strict-aliasing bug on x86_64. 2010-07-26 00:49:48 -07:00
Nicholas Nethercote
be11c2f1c9 Backout TM-specific patches for bug 552812 due to assertion failures on Win2003. 2010-07-26 00:03:02 -07:00
Nicholas Nethercote
a5a53b1d2e Update nanojit-import-rev stamp. 2010-07-25 23:47:10 -07:00
Nicholas Nethercote
da850ce005 Backout the last four patches for bug 552812 due to downstream Windows assertion failures on TM. Argh.
--HG--
extra : convert_revision : eb7dfecbdf2fd32d78673e10eb2289129966f6ce
2010-07-25 23:42:51 -07:00
David Anderson
4ac3b9b36e [JAEGER] Remove Assembler::storeLayout() for good. 2010-07-25 22:55:52 -07:00
David Anderson
b592c08a74 [JAEGER] Merge. 2010-07-25 22:54:18 -07:00
David Anderson
b47e6b3529 [JAEGER] Fixed register allocation bug in IFEQ (bug 581871). 2010-07-25 22:53:25 -07:00
Nicholas Nethercote
13a120823a Fix Win2003 bustage for bug 552812. 2010-07-25 22:29:20 -07:00
Nicholas Nethercote
73f4f96e19 Bustage fix for bug 552812. 2010-07-25 22:02:18 -07:00
Nicholas Nethercote
03a540e016 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (TM-specific part). r=gal. 2010-07-25 21:23:02 -07:00
Nicholas Nethercote
91f9fc9591 Update nanojit-import-rev stamp. 2010-07-25 21:17:28 -07:00
Sean Stangl
a232e99084 [JAEGER] Update PunboxAssembler.h. 2010-07-25 20:40:15 -07:00
David Anderson
31e9292046 [JAEGER] Merge from tracemonkey. 2010-07-25 20:21:14 -07:00
Nicholas Nethercote
dc9e1d9cf8 One more Windows fix, this time get it right, sigh.
--HG--
extra : convert_revision : a02f8611cec9efe5feb8d7ccb19f03b9b86e0b68
2010-07-25 19:58:45 -07:00
Nicholas Nethercote
ddd6c611f8 Fix more (unrelated) Windows breakage.
--HG--
extra : convert_revision : a9c4abf9041e1a0190c0f4788d0df7a242593601
2010-07-25 19:53:27 -07:00
Nicholas Nethercote
21a5ae4df8 Try to force MSVC to pack bit-fields properly, argh.
--HG--
extra : convert_revision : 09d69292e4ade9c77ce88f32e1840bd06071e2d6
2010-07-25 19:49:58 -07:00
David Anderson
670d1e14a1 [JAEGER] Place double constants into a literal pool (win on math-spectral-norm). 2010-07-25 19:44:09 -07:00
Nicholas Nethercote
e82972a6ac Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 2). r=edwsmith.
--HG--
extra : convert_revision : 7e11df137a4d30bd8411cf3b35cb26a003188f86
2010-07-25 19:17:39 -07:00
Nicholas Nethercote
5272ac360b Backout last three patches for bug 552812 due to further Windows breakage, sigh.
--HG--
extra : convert_revision : 1909331461436f43dad16a22e502f332e7ad3488
2010-07-25 18:39:41 -07:00
Nicholas Nethercote
3013ab8162 Groan, fix syntax error.
--HG--
extra : convert_revision : 8dd52f216fd251c7ae0d250f64afdfade4892fbc
2010-07-25 18:32:15 -07:00
Nicholas Nethercote
c179be068c Fix Windows bustage from bug 552812.
--HG--
extra : convert_revision : bd1e180e8836da69c228bac3bb8e268020ccaba4
2010-07-25 18:27:49 -07:00
Nicholas Nethercote
208a727c1b Bug 552812 - nanojit: factor out AccSet differences into TM and TR. r=edwsmith.
--HG--
extra : convert_revision : 2d211c925ffabfc0a5dcc6ba9a6eaf02a32b47d4
2010-07-25 18:20:42 -07:00
Luke Wagner
618736ad26 Shark says some js::Vector ops were not being inlined. Fix. (no bug) 2010-07-25 17:17:44 -07:00
Alan Pierce
430a559d48 [JAEGER] Use setNumber instead of setDouble for array lengths (bug 581800, r=dvander). 2010-07-25 16:38:01 -07:00
David Anderson
a8c9f0015c [JAEGER] Fixed type propagation with LOCALINC (bug 581800). 2010-07-25 16:29:15 -07:00
David Anderson
627cf4de83 [JAEGER] Merge. 2010-07-24 23:55:17 -07:00
David Anderson
947e1c2238 [JAEGER] Follow-up fix to bug 580701. 2010-07-24 23:54:16 -07:00
Sean Stangl
6bef627293 [JAEGER] Clean up x86_64 port. VMFrame::inlineCallCount is now uint32. 2010-07-24 23:22:30 -07:00
Andrew Drake
26459a9067 [JAEGER] Fixed incorrect handling of escaping local variables' registers. r=dvander, b=580701 2010-07-24 22:59:21 -07:00
Alan Pierce
879d3e777d Bug 578205 - Keep string characters inline for small strings (r=gal) 2010-07-24 20:26:34 -07:00
David Anderson
ea5e66bc2c [JAEGER] Merge. 2010-07-24 20:23:30 -07:00
Alan Pierce
e951ce56be Bug 578189 - Add the invariant that dependent strings must have a flat string as the base (r=gal) 2010-07-24 20:22:35 -07:00
David Anderson
56f2d5583c [JAEGER] Removed over-zealous assert (bug 580703). 2010-07-24 20:22:27 -07:00
Luke Wagner
67448fe840 [JAEGER] Move regs->sp dec from popInlineFrame to caller to get ready for upcoming changes 2010-07-24 20:09:39 -07:00
David Anderson
ee57811aae [JAEGER] Fixed thinko. 2010-07-24 20:05:01 -07:00
David Anderson
7754b95ac5 [JAEGER] Fixed PROPINC and friends illegally using property cache w/ ICs (bug 580712). 2010-07-24 20:01:13 -07:00
Sean Stangl
0b73f6f71e [JAEGER] Fix x86_64 Windows build. 2010-07-24 18:14:35 -07:00
Andrew Drake
0a27760171 [JAEGER] Add licensing information to trap header files. 2010-07-24 18:02:59 -07:00
Andrew Drake
3355f1e9f5 [JAEGER] Fix trap support for 64-bit, Windows. 2010-07-24 17:37:01 -07:00
Andreas Gal
3eefbea893 Move GC triggering into the runtime (580803 part 2, r=igor). 2010-07-24 15:30:33 -07:00
Makoto Kato
514a532f7b Bug 580904 - remove jsval_layout.debugView in msvc x64 (r=lw) 2010-07-24 09:10:31 -07:00
Edwin Smith
0e52940a92 Fix Sparc bustage (just add unreachable return statement)
--HG--
extra : convert_revision : 27cc2c4bbcb9b103bed3c5803078f7d7ee58f599
2010-07-24 10:01:18 -04:00
Luke Wagner
b4626a511d Bug 581574 - Remove JSVAL_IS_UNDERLYING_TYPE_OF_PRIVATE (r=mrbkap) 2010-07-23 17:20:12 -07:00
Luke Wagner
5f73207275 Remove js::Value default ctor (jsval doesn't have one) (no bug) 2010-07-23 17:16:00 -07:00
Andreas Gal
404cbee80f Don't lock the GC if its already locked (follow-up for 580803). 2010-07-23 20:02:13 -07:00
Paul Biggar
1504032238 Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan) 2010-07-23 19:33:49 -07:00
Jeff Walden
aef4ed93a4 Followup to bug 465199: properly perform ToInteger rather than just ToNumber when determining lastIndex in RegExp.prototype.exec; could have sworn I did this already...
--HG--
extra : rebase_source : c63fa22c169751610bc09e7d2c91858ec9cd56b5
2010-07-23 18:30:34 -05:00
Andreas Gal
2588647cb3 Remove leftover use of js_NewArrayObjectWithCapacity (follow-up for bug 581264). 2010-07-23 16:05:36 -07:00
Andreas Gal
c9bde05bd6 Always allocate dslots for dense arrays (580877, r=njn). 2010-07-23 15:29:02 -07:00
Andreas Gal
a5591066f8 Don't use broken js_NewArrayObjectWithCapacity API (581264, r=bz,jst,dwitte). 2010-07-23 15:25:42 -07:00
Andreas Gal
d1c3d893c1 Trigger all operation callbacks from triggerGC (follow-up for 580803). 2010-07-23 15:21:13 -07:00
Andreas Gal
ff0430908b Consolidate GC heuristics (580803, r=igor). 2010-07-23 15:17:42 -07:00
Igor Bukanov
6b8de5f2a8 bug 576596 - follow up to rename js_HasInstance into HasInstance
--HG--
extra : rebase_source : 2f4d4db7a849d3683a85f971e88855b1e72d8398
2010-07-23 23:56:16 +02:00
Brendan Eich
794e678554 Arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-23 14:41:56 -07:00
Wan-Teh Chang
c415ddd0a4 Bug 561510: fix unrecognized option /L... linker warning on
Windows.  Define MOZALLOC_LIB using EXPAND_LIBNAME_PATH instead
of EXPAND_MOZLIBNAME.  r=bsmedberg,ginn.chen.  approval2.0+ by
bsmedberg.
2010-08-06 06:51:38 -07:00
Kris Maglione
eb65b93f11 Bug 377498 - mozIJSSubscriptLoader::loadSubScript does not support specifying the character encoding (treats all files as ISO-8859-1); r=bzbarsky a=jst 2010-10-07 13:44:55 -04:00
Oleg Romashin
e210df374a Bustage fix, caused by Bug 598561, empty line difference in system-headers. a2.0=bustage 2010-10-07 16:18:43 +03:00
Mike Hommey
07319448c4 Bug 594611 - Use upstream fix for stack allocation for ffi function calls on x86-64. r=dwitte,a2.0=bsmedberg 2010-10-07 14:19:37 +02:00
Oleg Romashin
dcaa6b57c6 Bug 598561 - Don't rename pixman functions when system pixman is in use. r=jmuizelaar a=approval2.0
--HG--
extra : rebase_source : 7b5b80f59973a5d5fb55ae49170776f80284c9ec
2010-10-07 10:49:43 +03:00
Edwin Smith
e90975d4e7 Whitespace cleanup.
--HG--
extra : convert_revision : 1781d2187c43ed282a061efb7d945eafefed5ef9
2010-07-21 10:33:02 -04:00
Jacek Caban
c279f260e5 Backed out changeset f10fc9e3be99 (orange test_request_line_split_in_two_packets.js tests). 2010-08-07 22:13:06 +02:00
Jacek Caban
bae482540c Bug 508905 - /Zc:wchar_t- is no longer required r=ted a=dbaron 2010-08-07 17:41:41 +02:00
Robert Sayre
f4f6b295e7 Merge tracemonkey to mozilla-central. 2010-08-06 22:46:37 -07:00
Robert Sayre
aa1e8901ac Merge tracemonkey to mozilla-central. 2010-08-06 19:01:14 -07:00
Boris Zbarsky
32175657dc Bug 584298. Do a bit less work in ReadableToJSVal on the fast path. r=jst 2010-08-06 20:46:52 -04:00
Andrew Drake
0040af619a [JAEGER] Implement trap part of debug API. r=dvander, b=570650 2010-07-21 03:04:39 -07:00
David Mandelin
b081a07e4a [JAEGER] Bug 581256: sync everything before control-flow slow calls; also sync types whenever we sync data, r=dvander 2010-07-23 18:58:34 -07:00
David Mandelin
fb9b65ac19 [JAEGER] Merge. 2010-07-23 18:47:46 -07:00
David Mandelin
3c3566af26 [JAEGER] Merge from tracemonkey. 2010-07-23 18:47:24 -07:00
Sean Stangl
ac2a0f19a9 [JAEGER] Fix x86_64 build on OSX. Thanks to cdleary and apierce. b=578245, r=dvander. 2010-07-23 16:31:13 -07:00
David Anderson
fd2569efb9 [JAEGER] PIC for global scope name resolutions (bug 581291). 2010-07-23 15:35:48 -07:00
Sean Stangl
d5baa10a17 [JAEGER] Remove nunbox/ folder; make NunboxAssembler, PunboxAssembler. b=578245, r=dvander.
--HG--
rename : js/src/methodjit/nunbox/FastArithmetic.cpp => js/src/methodjit/FastArithmetic.cpp
rename : js/src/methodjit/nunbox/FastOps.cpp => js/src/methodjit/FastOps.cpp
rename : js/src/methodjit/nunbox/Assembler.h => js/src/methodjit/NunboxAssembler.h
rename : js/src/methodjit/nunbox/Assembler64.h => js/src/methodjit/PunboxAssembler.h
2010-07-23 15:20:53 -07:00
Sean Stangl
6a4816128b [JAEGER] 64-bit MethodJIT support. b=578245, r=dvander. 2010-07-23 14:46:13 -07:00
Jacob Bramley
b278d2d970 [JAEGER] Build fix for ARM. [No bug] [r=me] 2010-07-23 10:41:19 +01:00
Sean Stangl
7fc4e35945 [JAEGER] Fix jsop_mod() stub call path. r=me. 2010-07-23 01:28:03 -07:00
Sean Stangl
bb198c50c6 [JAEGER] Implement masm.subPtr(ImmPtr, Address) for x86_64. r=dvander. 2010-07-23 00:53:57 -07:00
Sean Stangl
e907f4fd5c [JAEGER] Implement masm.loadFunctionPrivate(). r=dvander. 2010-07-23 00:07:35 -07:00
David Anderson
26f3429eb7 [JAEGER] Fast-path for MOD with integers (bug 579466). 2010-07-22 23:36:37 -07:00
David Mandelin
0a43327d9f Merge fallout. (1) Update instanceof stub correspondingly to interprter case. (2) add MSVC annotation to MIC kind 2010-07-22 18:38:09 -07:00
David Mandelin
cf0c3c24a7 Merge from tracemonkey. 2010-07-22 18:31:01 -07:00
Alan Pierce
76244684a9 Bug 579173 - Use ropes to avoid large copies in simple string replace cases (r=lw) 2010-07-22 17:54:39 -07:00
Luke Wagner
131d736cea Bug 578922 - remove wasteful store/load in box_value_for_native_call on x64 (r=njn) 2010-07-22 17:47:59 -07:00
David Anderson
a872d66e6e [JAEGER] Keep track of which operations result in numbers. 2010-07-22 17:34:29 -07:00
David Anderson
60ca899930 [JAEGER] Simplify double arithmetic paths. 2010-07-22 17:34:26 -07:00
Andrew Drake
d49648b78a [JAEGER] Band-aid to always kill type when killing data. r=dvander, b=580694 2010-07-22 17:32:23 -07:00
David Mandelin
b7fa67c098 Backout merge. 2010-07-22 17:12:24 -07:00
David Mandelin
2d74ccfb40 Backed out changeset d1d52f7820f2 due to Mochitest crashes. 2010-07-22 17:11:10 -07:00
Dan Witte
1d912899b3 Fix build. 2010-07-22 15:30:03 -07:00
Dan Witte
39e10d599b Bug 573841 - Assertion of non-null-terminated string on returning a ctypes array.readString(). r=mrbkap, a=sayrer 2010-07-22 15:01:17 -07:00
Dan Witte
3babb202bc Marshal small integer return values through ffi_arg to avoid invalid writes. b=564739, r=bsmedberg, a=blocking2.0 2010-07-22 14:55:49 -07:00
David Mandelin
931a8bfef2 [JAEGER] Bug 580144: put JS_METHODJIT in js-config.h so that everyone sees the same jscntxt.h structs 2010-07-22 14:32:52 -07:00
Luke Wagner
3a499b8646 Bug 579183 - CallStack was a confusing name, CallStackSegment is more accurate (r=dvander) 2010-07-22 13:46:43 -07:00
Jacob Bramley
a270f147cf [JAEGER] Modify branch patching to get the ARM port working. [Bug 572633] [r=dvander] 2010-07-22 11:44:32 +01:00
Sean Stangl
b4ea12f2ab [JAEGER] Use type instead of tag in FastOps.cpp. r=dvander.
Tags are still used in PolyIC.cpp; these will require special care
for the x86_64 port.
2010-07-21 23:08:24 -07:00
Sean Stangl
05cbb86f23 [JAEGER] Fix building without --enable-methodjit. 2010-07-21 17:25:04 -07:00
Sean Stangl
bc4a91ac4d [JAEGER] Various changes to Assembler.h. r=dvander, b=580749.
Remove storeData32/loadData32; replace with store32(), storePayload(), etc.
Use JSValueType instead of JSValueTag, since 64-bit will have a different tag representation.
2010-07-21 15:03:16 -07:00
Sean Stangl
e8cc90baae [JAEGER] Use CodeGenIncludes.h instead of Assembler.h directly. 2010-07-21 14:52:05 -07:00
Sean Stangl
1643e014b3 [JAEGER] Add license blocks, defines, and vim headers to Retcon.{cpp,h}, TrampolineCompiler.{cpp,h}. 2010-07-21 13:28:31 -07:00
David Anderson
547a0cd703 [JAEGER] Merge. 2010-07-21 10:44:44 -07:00
David Anderson
836838225b [JAEGER] Fixed --disable-pic build warning. 2010-07-21 10:43:42 -07:00
Andrew Drake
3f3b764d82 [JAEGER] Implement trap part of debug API. r=dvander, b=570650 2010-07-21 03:04:39 -07:00
Michael Wu
2be2e1f425 Bug 533038 - 5. Support loading jar uris in the js subscript loader, r=bsmedberg a=blocking-beta6 2010-09-08 20:39:00 -07:00
Sean Stangl
5abdc6ec59 [JAEGER] Fix mac build: inlineCallCount is a uintN, not uintptr_t. 2010-07-20 23:41:46 -07:00
Sean Stangl
7388a70f72 [JAEGER] Merge from TraceMonkey (which pulled m-c). 2010-07-20 22:24:39 -07:00
Chris Leary
a887840fdf Bug 578761: PIC for JSOP_GETELEM. (r=dvander) 2010-07-20 21:16:47 -07:00
Nicholas Nethercote
efc24067fd Update nanojit-import-rev stamp. 2010-07-20 21:10:57 -07:00
Blake Kaplan
45243e880e Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky 2010-07-20 21:05:11 -07:00
Nicholas Nethercote
e56dfae6ff Bug 574969 - add LIR_qasd / LIR_dasq. r=edwsmith.
--HG--
extra : convert_revision : 06774ab0e7e002b4fe6f4091a5dd59904fb6b080
2010-07-20 21:04:21 -07:00
Luke Wagner
53a742ae98 Bug 579598 - Help GCC out in array_splice (r=waldo) 2010-07-20 20:27:15 -07:00
Luke Wagner
d4e0a53756 Bug 578044 - fix setterOrUndefined (r=waldo) 2010-07-20 19:33:51 -07:00
Sean Stangl
cdeede6c82 [JAEGER] Fix build when JS_TRACER is not defined; r=dvander. 2010-07-20 19:33:21 -07:00
Luke Wagner
0fd878fe59 Bug 580051 - Catch ints-as-doubles in JSOP_TABLESWITCH (r=jorendorff) 2010-07-20 19:32:11 -07:00
Luke Wagner
890c4cda11 Bug 580187 - Pass vp to ComputeThisFromVp (r=dvander) 2010-07-20 19:32:04 -07:00
Luke Wagner
de91418c20 Mark some inline JSString members as JS_ALWAYS_INLINE 2010-07-20 19:31:55 -07:00
David Anderson
36811b5c06 [JAEGER] Corrected spacing in trace-tests.py. 2010-07-20 18:03:20 -07:00
David Anderson
fa4e27c745 [JAEGER] Basic integration of tracing JIT and method JIT (bug 578727). 2010-07-20 18:01:16 -07:00
Jason Orendorff
6f5fe37ae7 Bug 580411 - AutoCompartment and JS_Enter/LeaveCrossCompartmentCall should support the trivial case of not changing compartments. r=mrbkap. 2010-07-20 18:59:29 -05:00
David Mandelin
c53f67c93c [JAEGER] Now using an environment variable to turn off crash dialog 2010-07-20 16:04:13 -07:00
David Mandelin
a2fe7a9ab2 [JAEGER] Remove another test that won't be used for a while; a bug has been filed on reviving it 2010-07-20 16:01:36 -07:00
David Mandelin
8d5573dc6b [JAEGER] Remove test that won't be used for a while; a bug has been filed on reviving it 2010-07-20 15:58:46 -07:00
David Mandelin
787a2356c8 [JAEGER] Remove unneeded error metaline from a test case
--HG--
extra : rebase_source : 433ee32c42e8c0eb6c283361f1719becbe398281
2010-07-20 15:52:18 -07:00
Robert Sayre
ec27ccd212 Merge. 2010-07-20 15:49:14 -07:00
David Anderson
deb8096288 [JAEGER] Fixed bug where LAMBDA + INITMETHOD did not honor cloning optimizations. 2010-07-20 15:43:03 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Jason Orendorff
02f46a123c Bug 580084 - JS_InitClass with no methods or properties breaks JSScope::emptyScope invariant. r=brendan. 2010-07-20 16:57:12 -05:00
David Anderson
c86e32a060 [JAEGER] Fixed build warnings from merge fallout. 2010-07-20 13:53:24 -07:00
Jeff Walden
bb1681a89f Bug 580200 - Assertion failure, or duplicated enumeration, enumerating own properties of proxy returning duplicated property names. r=jorendorff
--HG--
extra : rebase_source : 19d4bf112e0dfdb5ed619f9d6e1f72b72a3e0801
2010-07-20 12:46:58 -05:00
Jeff Walden
496e7515a9 Bug 581067 - U+FEFF should be a WhiteSpace character (change in ES5 from ES3). r=cdleary
--HG--
extra : rebase_source : 38947caa8d4f21d0867137d0933495061a88d052
2010-07-22 22:28:33 -05:00
Dan Witte
19ef0aac72 Fix warning. 2010-07-20 10:13:54 -07:00
Jason Orendorff
a1ade780e3 Merge backout. 2010-07-20 11:57:51 -05:00
Jason Orendorff
7282960790 Backed out changeset a8d0c83fe7c7 due to debug-mode assertions in mochitests. 2010-07-20 11:57:29 -05:00
Gregor Wagner
8bd7a472cd Bug 579586 - TM: remove doubles from GCTIMER (r=jorendorff) 2010-07-20 09:52:02 -07:00
Mitchell Field
fc426c6d37 Clean up configure.in a bit. r=khuey 2010-07-20 15:43:54 +10:00
Ted Mielczarek
337fe01582 Bug 578751: Use @loader_path instead of @executable_path on Mac OS X. Committing as a bustage fix, still needs review. 2010-07-20 01:41:22 -04:00
David Anderson
c1a644c526 [JAEGER] Fixed bug in lambda replace w/ eager this. 2010-07-19 21:14:44 -07:00
David Anderson
cf5a8cf505 [JAEGER] Merge from tracemonkey. 2010-07-19 20:49:26 -07:00
Dimitrios Vardoulakis
0a1b9ea452 Incorporating patch recommendations for changeset 669386771b5e (bug 579564, r=gal) 2010-07-19 18:41:36 -07:00
David Mandelin
d5a8633709 [JAEGER] Bug 580114: fix constant-type optimization of JSOP_INSTANCEOF in the method jit, r=dvander
--HG--
extra : rebase_source : c98b6a8d1e40cc5597afcefffdb1a3091813d381
2010-07-19 18:34:08 -07:00
David Anderson
3c92cb6c14 [JAEGER] Added PIC for arguments.length (bug 580036). 2010-07-19 18:21:34 -07:00
David Mandelin
8c885cf46b Bug 580086: fix typos in non-PIC path of NAMEINC, r=dvander 2010-07-19 18:05:19 -07:00
Dimitrios Vardoulakis
b5325aea84 Allow more LHS values in for/in loops and fixed yield to take 0 or 1 args. (bug 579564, r=gal) 2010-07-19 17:07:29 -07:00
Tom Austin
31a5964734 Updated and sorted narcissus failures list (bug 579564, r=gal) 2010-07-19 17:02:47 -07:00
David Mandelin
42b61b21ad [JAEGER] Bug 578897: teach property cache about our prototype lookup for JSOP_INSTANCEOF, r=dvander 2010-07-19 16:06:55 -07:00
Jason Orendorff
62b592404f Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=gal.
--HG--
extra : rebase_source : e063e91c61f159c98ac4f8f0e3bb74eceee069e6
2010-07-19 18:04:50 -05:00
Andreas Gal
c8091508b9 Support independent cycle collection and garbage collection (573175, r=jst). 2010-07-19 23:31:01 -07:00
Blake Kaplan
de74d9d8f4 Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst 2010-07-19 13:36:49 -07:00
Luke Wagner
9870b95ead Fix testBug579646.js in opt trace-tests 2010-07-19 16:06:42 -07:00
Luke Wagner
6f0a0727b9 Bug 579646 - Avoid recording when negating double(0) (r=gal) 2010-07-19 14:24:09 -07:00
Ted Mielczarek
be942c946d Backed out changeset 1362f0ca86d2 (bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save) due to test failures. 2010-08-18 13:04:31 -04:00
David Humphrey
960122a5de bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-17 09:40:00 -04:00
lsblakk
506e42aeeb bug 583967 version bumps for firefox 4.0b4 p=lsblakk a=aki 2010-08-17 15:32:34 -07:00
Gavin Sharp
be5d8bffff Backed out changeset 43b490ef9dab (bug 585877), a=beltzner 2010-08-17 15:27:06 -04:00
Robert Sayre
87f1cb0c48 Paper over some missing refactoring on mozilla-central. 2010-08-17 01:51:32 -04:00
David Anderson
ef47b0907f Disable recursion for heavyweight functions (bug 583757, r=jorendorff). 2010-08-16 13:37:47 -04:00
David Mandelin
c48d229789 Bug 570663: turn a tableswitch on trace into a no-op if it has no cases, r=njn 2010-08-16 18:56:04 -07:00
Michael Wu
5af9297e63 Bug 587597 - Fix ARM/Mobile bustage by building Yarr. Contains Jacob Bramley's load8 fix. r=sayrer a=blocking-fennec
--HG--
extra : rebase_source : f1bb2164f9a0e1cad4389258b6a356f73a4ccf3f
2010-08-16 15:18:10 -07:00
Chris Leary
eb1ad26dd0 Try to fix intermittent refcount assertions in the presence of more than one thread. Bug 587277 - TM: ExecutablePool release race. r=sayrer 2010-08-14 00:34:14 -07:00
Edmund Wong
7ef58c704b Bug 585336: Fix "a the" in comments (for General core code). r=timeless a=NPOTB (comment-only) 2010-08-15 15:50:02 -07:00
Ms2ger
eabbd18c18 Bug 585877 - remove document.height / document.width. r=sicking, sr=jst 2010-08-15 11:02:20 +02:00
Chris Leary
49275c8275 [Bug 587183] TM merge broke android in Nitro. r=sayrer. 2010-08-14 16:46:37 -07:00
Vladimir Vukicevic
67ec40f4fa b=576716; crash with ArrayBuffer test case; r=waldo 2010-08-14 10:52:51 -07:00
Andreas Gal
d7b82eb0c4 b=586387; Problem with Typed Float32 Arrays and canonicalizeNaNs() / LIR_cmovd; r=nnethercote/edwsmith 2010-08-14 10:52:08 -07:00
Dan Witte
53a5ef6fe9 Merge mozilla-central -> e10s. 2010-08-13 21:24:11 -07:00