Andreas Gal
4017bf1be3
str_match should use js_GetCurrentBytecodePC (484308, r=mrbkap).
2009-03-20 17:07:30 -07:00
Andreas Gal
7b58dd1b90
Make new String() trace (484333, r=brendan).
2009-03-20 16:30:31 -07:00
Vladimir Vukicevic
3e006f19eb
void -> bool
2009-03-20 16:10:31 -07:00
Vladimir Vukicevic
3b44833a46
call underrunProtect more aggressively, and remove some LD32_nochks that weren't being protected
2009-03-20 15:53:38 -07:00
Vladimir Vukicevic
005b46e678
b=484196; fix softfloat due to missing iu2fArg call; r=gal
2009-03-20 15:53:35 -07:00
Vladimir Vukicevic
d317d0075d
b=480796; detect whether ARM chip has VFP and/or v6t2 instructions; r=gal
2009-03-20 15:53:33 -07:00
Vladimir Vukicevic
904d0dce27
Fix asm_quad to use existing load instructions; fix branch macros to use existing conditional branch macro
2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
ffb503790f
trace-tests: Add int overflow/underflow test
2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
0034034e03
[arm] b=481761; use movw/movt when possible for loading 32-bit constants; r=graydon
2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
b72889b918
[arm] b=481761; clean up load and store instructions; change move macro to follow covention; r=graydon
2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
6ec71623d5
[arm] b=481761; rename MOV instructions to match ARM, not x86; r=graydon
2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
7d6eca6372
[arm] b=481761; fix up asm_cmov; assert on non-qcmov; r=graydon
2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
d0fa8fe9c9
[arm] b=481761; Finish up ALU op conversions; r=graydon
2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
b992e5da9e
[arm] b=481761; ARM ALU step 1; r=graydon
2009-03-20 15:53:14 -07:00
Vladimir Vukicevic
4afdab4e12
[arm] b=481761; Rename ccName -> condName, rename Scratch to IP; r=graydon
2009-03-20 15:53:14 -07:00
Jeff Walden
bb500538a7
Bug 483103 - Better fixes for getting the lengths of strings and String objects. r=brendan
2009-03-20 15:31:01 -07:00
Andreas Gal
2018b20826
Bump maxbranches to 32 (484341, r=dmandelin).
2009-03-20 14:24:23 -07:00
Igor Bukanov
05591c4681
bug 426827 - removing incorrect assert. r=mrbkap
2009-03-20 12:37:20 +01:00
Igor Bukanov
f0dbec109f
436700 - fixing backref assert. r=dmandelin
2009-03-20 12:30:40 +01:00
Peter Van der Beken
2d53648dcd
Fix --enable-shark build bustage, r=ted. This is a temporary fix, real fix will be in bug 473563.
2009-01-14 16:47:43 +01:00
Ted Mielczarek
405f3caf99
followup from bug 467862, forgot to sync up js/src/config/rules.mk
2009-01-14 08:56:13 -05:00
Peter Van der Beken
e557d2b23c
Make DEBUG_CC compile again (broken by the fix for bug 458099). r=bent, NPOTB.
2009-01-14 13:24:10 +01:00
Phil Ringnalda
425a26e188
Bug 473485 - snarf is no longer built by default in js.cpp, among other reverted changes, r=jorendorff, a=NPOTDB
2009-01-23 21:55:29 -08:00
Blake Kaplan
2ddd004009
Bug 462428 - Make __lookup[GS]etter__ work on quickstubbed properties by faking it for XPConnect prototype objects only. r=jorendorff sr=brendan
2009-01-23 15:44:01 -08:00
Brad Lassey
4326214d10
Brad Lassey - bug 463561 - mkdepend crashes while compiling freetype, follow up push to js/src r=bsmedberg a191=beltzner
2009-01-23 16:06:15 -05:00
Benjamin Smedberg
f9db07aa38
Bug 475027 - only MSVC needs jscpucfg.h... everyone else should be using jsautocfg.h and the configure-generated defines. If you're doing something crazy like cross-compiling from FreeBSD to Windows using MSVC, this will make your life happier r=crowder
2009-01-23 14:46:15 -05:00
Peter Van der Beken
5a2f84bb76
Back out changeset 32dc89bc34ad (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.) to fix orange.
2009-01-23 17:05:05 +01:00
Peter Van der Beken
9157343457
Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.
2009-01-23 15:47:24 +01:00
Brendan Eich
db675f458e
Bug 453955 - "Assertion failure: sprop->setter != js_watch_set || pobj != obj, at jsdbgapi.c" (r=mrbkap).
2009-01-23 00:54:12 -08:00
Ginn Chen
ea9689bd2a
Bug 474757 Several build failures on Solaris build for js/src r=danderson
2009-01-23 16:09:27 +08:00
Ginn Chen
9473943bf6
Bug 474757 Several build failures on Solaris build for js/src r=danderson
2009-01-23 15:57:54 +08:00
Blake Kaplan
52a4e552ea
Bug 472794 - Deal with XPCNativeWrapper.prototype properly. r+sr=jst
2009-01-15 16:34:55 -08:00
Blake Kaplan
57f49c4364
Bug 473437 - DumpJSStack() can set a pending exception in cx. r+sr=jst
2009-01-15 16:34:54 -08:00
Jeff Walden
314cf39c41
Bug 472592 - unbox_jsval is infallible, make the signature reflect that. r=gal
2009-01-11 13:57:42 -08:00
Jeff Walden
179a1749fb
Despite the previous log message, the previous push was r=brendan
2009-01-10 15:25:03 -08:00
Jeff Walden
949fc3d056
Bug 466905 - Fix JSOP_NEWARRAY to be not-buggy and use it when possible. NOT REVIEWED YET
2009-01-10 12:15:08 -08:00
Blake Kaplan
a403a02f00
Bug 472787 - Eagerly set the return value. r=brendan
2009-01-09 18:32:04 -08:00
Andreas Gal
73fd6451b9
Track timeout side exits separately in jitstats (472761, r=jwalden).
2009-01-09 16:38:57 -08:00
Andreas Gal
4a9dbdaf12
Push a dummy copy of EBP onto the stack to make sure EBP is aligned in the new stack frame (472791, r=graydon,edwsmith).
2009-01-09 15:18:00 -08:00
Jason Orendorff
436a268bae
Fix trace-test bustage due to my last checkin.
2009-01-09 17:12:20 -06:00
Robert Sayre
8e5f7ba091
Merge m-c to tracemonkey.
2009-01-09 01:23:32 -05:00
Robert Sayre
8549b885a1
Bug 466781 - TM: inconsistent (0 in d) where d is a String. r=brendan
2009-01-09 00:59:24 -05:00
Jeff Walden
75243b3b86
Destroying the temporary context used in evalcx and also doing a GC invalidates shape numbers, which kinda makes testing hard because it breaks shapeOf(evalcx("lazy")) === shapeOf(evalcx("lazy")); don't GC. rs=brendan
2009-01-08 17:54:04 -08:00
Jason Orendorff
cf74ec9191
Bug 471540 - TM: "Assertion failure: cp >= buf" at homicideReport.php. r=gal.
...
--HG--
extra : rebase_source : 7f3bc4e8db9ce307360792b889943d8609e8ff6e
2009-01-08 17:09:16 -06:00
Graydon Hoare
e0464655cd
Bug 472594 - Make analysis-tests work in out-of-tree objdir, r=jorendorff.
2009-01-08 10:40:36 -08:00
Igor Bukanov
85bdf95da4
bug 419086 - replacing the branch callback with the operation callback. r=brendan
2009-01-08 00:44:52 +01:00
Graydon Hoare
8424af9530
Bug 472553 - Annotations required by jsstack.js analysis, r=jorendorff.
2009-01-07 14:14:51 -08:00
Igor Bukanov
3d5269621d
bug 465030 - Support terminating long-running scripts without using extra threads or signals. r=gal,sayrer
2009-01-07 18:45:13 +01:00
Igor Bukanov
33ba59a269
Backed out changeset 763b96e81579 - I committed the wrong patch
2009-01-07 18:44:50 +01:00
Igor Bukanov
01c091bb60
bug 465030 - Support terminating long-running scripts without using extra threads or signals. r=gal,sayrer
2009-01-07 18:40:58 +01:00
Robert Sayre
9aa7891d67
Merge m-c to tracemonkey.
2009-01-07 11:42:59 -05:00
Graydon Hoare
6383e1d5d2
Bug 470388 - Tighten assertion for JSFRAME_POP_BLOCKS on trace-entry frame, r=brendan.
2009-01-06 18:20:33 -08:00
Jesse Ruderman
22cd32241d
Add five crashtests
2009-01-06 16:47:56 -08:00
Jason Orendorff
7f92f10b08
Bug 468641 - TM: Add bytecode disassembly to JS_JIT_SPEW output (r=crowder)
2009-01-06 16:51:32 -06:00
Jason Orendorff
be00149c86
Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 4 of 4, rename recoveryDoublePool to reservedDoublePool, r=brendan)
...
--HG--
extra : rebase_source : d865549cb727aada20fbaa78286de37a97b85bca
2009-01-06 13:39:14 -06:00
Blake Kaplan
c878e5becb
Bustage fix from bug 458020
2009-01-06 14:34:16 -05:00
Blake Kaplan
63803e5282
Bug 458020 - Ensure that the display is correct when evaluating a script in a stack frame. r=brendan
...
--HG--
extra : rebase_source : 01aba83379c17c0abda66ce44adb5d04686fc923
2009-01-06 14:17:12 -05:00
Blake Kaplan
872a17cbfa
Bug 470720 - Don't automatically unwrap XOWs or SJOWs in XPCNativeWrappers. r+sr=jst
...
--HG--
extra : rebase_source : a670c95a103ae0ced9ff50b31d07c7f7958d9339
2009-01-06 14:17:02 -05:00
Blake Kaplan
d269689358
Bug 471366 - Deal with XPCNativeWrapper.prototype correctly. r+sr=jst
...
--HG--
extra : rebase_source : d651d4f31f41e17a5c31b586cb5906eb7aaab271
2009-01-06 14:16:58 -05:00
Brian Crowder
36fd05589c
Bug 471513 - invalid C++ in jsopcode.cpp, r=brendan
2009-01-06 09:18:36 -08:00
Brian Crowder
5bd03bd9a9
Bug 411726 - Use localtime_r when available, to improve Date reporting for locales like Venezuela on platforms like OS X. r=mrbkap, r=ted (for build changes)
2009-01-06 09:18:35 -08:00
Brian Crowder
ca4eed1e1d
Bug 433073 - jsregexp.cpp should use dependent strings, r=igor
2009-01-06 09:18:35 -08:00
Robert Sayre
34560c2aa8
Merge m-c to tracemonkey.
2009-01-02 12:37:55 -08:00
Andreas Gal
a59109830e
Use a single lirbuf for the tracer and rewind lirbuf during GC (471821, r=danderson).
2009-01-02 10:55:02 -08:00
Andreas Gal
a046abd718
Merge.
2009-01-01 17:57:11 -08:00
Andreas Gal
8b28ae8610
Store frame state information in the code cache and merely put a pointer to it onto the native call stack (470375, r=danderson).
2009-01-01 17:55:43 -08:00
Robert Sayre
ed2bf0b595
Mergre mozilla-central to tracemonkey.
2009-01-01 14:25:18 -08:00
Jesse Ruderman
cf4b91bb09
Add 19 crashtests
2009-01-01 14:18:58 -08:00
Phil Ringnalda
b6f4c63c3c
Backed out changeset e0cce6a738c9 (Bug 466224 - Make quickstubs call nsINode/nsINodeList methods) for failing mochitest
2008-12-31 18:21:52 -08:00
David Mandelin
90baccb99f
Bug 471602 part 1: make regexp compiler use one shared LIR buffer, r=gal
2008-12-31 16:41:33 -08:00
Brendan Eich
67cd92d2ce
Bug 471531 - js1_7/decompilation/regress-379925.js | js1_8_1/decompilation/regress-371802.js FAIL (r=jorendorff).
2008-12-31 12:32:35 -08:00
David Mandelin
5ca9583177
Merge.
2008-12-31 11:46:10 -08:00
David Mandelin
77dfbdd679
Attempted fix for bug 470492: top crash in regexp LIR generation, r=gal
2008-12-31 11:43:50 -08:00
Peter Van der Beken
9f2cfc5446
Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst.
2008-12-31 14:55:20 +01:00
Robert Sayre
98792ddd09
Merge.
2008-12-31 01:53:26 -05:00
Andreas Gal
e47badd3c9
Merge.
2008-12-30 17:04:04 -08:00
Andreas Gal
21b0d26f45
Allocate the next page to be used in a lirbuf early to avoid running OOM during a page overflow (471316, r=danderson).
2008-12-30 17:03:43 -08:00
Peter Van der Beken
78fa6325a2
Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst.
2009-01-02 18:00:18 +01:00
Bo Yang
86206e20f5
Bug 453094 - Some strong type conversion make GCC not complain; r=jorendorff sr=peterv
2009-01-02 07:21:26 +01:00
Brendan Eich
bf1a6adcb8
Bug 470374 - Decompiler fixes from bug 469625 (r=jorendorff).
2008-12-29 23:22:23 -08:00
Andreas Gal
1abb0dc188
Merge.
2008-12-29 15:30:54 -08:00
Andreas Gal
8cebbe8e58
Backed out changeset 4acb47a25eb5
2008-12-29 15:30:25 -08:00
Andreas Gal
8d9dc45719
Merge.
2008-12-29 14:27:15 -08:00
Andreas Gal
c05bef5b82
Convert String objects into primitive strings when invoking String functions on them (470609, r=jorendorff).
2008-12-29 14:26:51 -08:00
Jeff Walden
6f05e9de07
Make similar-acting code similar-reading as well (but not shared due to the +/- difference), no bug
2008-12-29 07:59:06 -06:00
Igor Bukanov
b2f4132cb7
bug 471197 - during GC call js_GetTopStackFrame only for contexts with frames. r=brendan
2008-12-27 00:05:15 +01:00
Jeff Walden
af717d86d5
Bug 470739 - Trace more == cases. r=gal
2008-12-26 14:48:33 -05:00
Robert Sayre
c36cc631e9
Ho ho ho, it's a lump of hg coal. Merge.
...
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2008-12-25 20:19:52 -05:00
Igor Bukanov
72063471f8
bug 471044 - fixing upgvar detection for for-in loop. r=mrbkap
2008-12-25 01:23:38 +01:00
Blake Kaplan
22b6fad69e
Bug 470758 - Don't generate upvars on the left side of a for-in loop. r=brendan
2008-12-23 15:45:44 -08:00
Phil Ringnalda
7663cc21c2
Merge for backout of changeset 55e23c647137 (bug 462004) so the backout for bug 467862 to solve bug 471097 can actually build
2008-12-25 19:51:35 -08:00
Phil Ringnalda
2d35d8d90f
Backed out changeset 55e23c647137 (bug 462004) so the backout for bug 467862 to solve bug 471097 can actually build
2008-12-25 19:49:53 -08:00
Phil Ringnalda
6b1e0c2bec
Merge for backout of changeset 73be1c836d7f (bug 467862) to see if that fixes Windows bustage (bug 471097)
2008-12-25 19:28:31 -08:00
Phil Ringnalda
46e630cc96
Backed out changeset 73be1c836d7f (bug 467862) to see if that fixes Windows bustage (bug 471097)
2008-12-25 19:27:15 -08:00
Ted Mielczarek
b597404d2c
bug 467862 - Build system should support building both a static and a shared library from the same Makefile. r=bsmedberg
2008-12-24 14:04:43 -05:00
Igor Bukanov
81c3a2b632
Backed out changeset 2d5e6b1c7254 - busted the WINNT 5.1 talos tracemonkey.
2008-12-23 19:24:09 +01:00
Andrei Saprykin
11dac3f234
bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap
2008-12-23 16:12:11 +01:00
Jesse Ruderman
dba23c0ab9
Fix bustage
2008-12-22 16:07:49 -08:00
Jeff Walden
5d25aca194
Bug 470737 - TM: "switch(1/0){case Infinity:}" 4X slower with JIT enabled. r=gal
2008-12-22 15:42:24 -08:00
Jim Blandy
1107758ffc
Bug 469225: Move HAVE_ARM_SIMD test after header file tests. r=vladimir
...
This should have no effect; the test there is in the midst of a
section titled, "Checks for header files", and doesn't belong there.
I've made the same change in both the top-level configure.in and
js/src/configure.in, just to keep things parallel.
2008-12-22 13:59:28 -08:00
Jim Blandy
d22127996a
Bug 467583: Make js/src share the 'dist' tree with the enclosing build. r=ted.mielczarek
2008-12-22 13:22:38 -08:00
Benjamin Smedberg
6f98baeeca
Bug 470000 - JS_GET_SCRIPT_ATOM needs to use cx->fp safely, r=brendan
2008-12-22 11:07:40 -05:00
Jeff Walden
5d05cfd543
Bug 470409 - TM: Crash [@ js_EqualStrings]. r=brendan
2008-12-21 21:26:08 -08:00
Jeff Walden
6f0de3c4e0
Bug 470137 - TM: Behavioral difference in addition of objects between JIT, non-JIT. r=brendan
2008-12-21 21:26:08 -08:00
Igor Bukanov
136838d60b
Backed out changeset 7184e014cd05 - the patch for bug 453157 bursted tgfx test on Windows.
2008-12-21 21:49:06 +01:00
Andrei Saprykin
c68c632137
bug 453157 - watchdog thread as an alternative to operation count
2008-12-21 17:16:09 +01:00
Igor Bukanov
5d5cb0738c
bug 469233 - using interrupt hook support in the interpreter for trace recording. r=brendan
2008-12-21 12:55:09 +01:00
Igor Bukanov
8062218e55
Backed out changeset 605fd1985d05 - more merge typos.
2008-12-21 12:50:36 +01:00
Igor Bukanov
1be7edd38e
bug 469233 - using interrupt hook support in the interpreter for trace recording. r=brendan
2008-12-21 12:31:38 +01:00
Igor Bukanov
635ca1d23a
Backed out changeset f13e2a2a5d66 - I was not careful when merging the unary op changes
2008-12-21 12:23:08 +01:00
Michael Ventnor
f3922bdde6
Bug 470165 - Cleanup the GTK nsFilePicker code; r+sr=roc
2008-12-21 02:33:04 +01:00
Igor Bukanov
3388b615ce
bug 469233 - using interrupt hook support in the interpreter for trace recording. r=brendan
2008-12-21 00:16:41 +01:00
Jeff Walden
4710efd8a4
Bug 469942 - TM: 20% slower to compute unary +/-. r=brendan
2008-12-19 19:30:09 -08:00
Jeff Walden
aa66ca5eb0
Whitespace patrol, move some tests before mandelSet where they should have been, add big scary warnings about not putting anything after mandelSet because they won't get run very often (not until just pre-commit, usually).
2008-12-19 19:09:27 -08:00
Ted Mielczarek
e41c278e04
bug 467271 - JS not being PGOed on win32. r=bsmedberg
2009-01-08 13:52:38 -05:00
Ted Mielczarek
d8bff4cf58
bug 471188 - stop calling 'make install' for spidermonkey. r=bsmedberg,jimb
2009-01-08 13:51:27 -05:00
Graydon Hoare
67237b98c7
Bug 469012 - crashing LirBufWriter::insLinkToFar, r=danderson.
2008-12-19 16:20:51 -08:00
Graydon Hoare
77e4ed2e26
Bug 464862 - Calculate call-argument deltas relative to last word of LirCallIns, not first, r=danderson.
2008-12-19 16:20:13 -08:00
Blake Kaplan
d34f6dd726
Bug 468552 - Enforce 'funobj' conditions in the XPCNativeWrapper case. r+sr=jst
...
--HG--
extra : rebase_source : 6023cc8a797167551461fe6f8fb003d98b4f5b9b
2008-12-19 15:47:20 -08:00
Blake Kaplan
bab2bf9e49
Bug 468581 - Use a better function to compute principals. r=brendan
...
--HG--
extra : rebase_source : 137705045b8b528c49405a52f91455306ecf9857
2008-12-19 15:47:20 -08:00
Brendan Eich
7826ab3e9f
Fix warnings pointed out by Waldo from apply patch (465214).
2008-12-19 14:15:35 -08:00
Robert Sayre
ee109c9def
Merge m-c to tracemonkey.
2008-12-19 15:50:52 -05:00
Jim Blandy
41e717de51
Bug 462914: Test for setlocale at configure time in js/src r=crowder
2008-12-19 10:31:43 -08:00
Jim Blandy
b3a9d80456
Bug 469225: Make js/src/configure take a --disable-arm-vfp option. r=vladimir
...
This controls whether NJ_ARM_VFP is #defined in the SpiderMonkey
build. By default it is enabled.
Note that commenting out the hard-wired definition of NJ_ARM_VFP in
js/src/nanojit/NativeARM.h makes that line of the file match what's in
tamarin-redux, so hopefully there won't be conflicts with whatever
arrangement Adobe comes up with to control this.
2008-12-19 10:20:36 -08:00
Brendan Eich
608700e168
Back out patch for bug 469625, it mysterious busts stuff.
2008-12-19 01:32:48 -08:00
Brendan Eich
16350be804
Merge, dammit!
2008-12-18 22:40:58 -08:00
Brendan Eich
b9cf426072
Bug 469625 - TM: Crash [@ js_String_getelem] (r=jorendorff).
2008-12-18 22:35:46 -08:00
Brendan Eich
90fd9c4313
Merge m-c into tm again.
2008-12-18 22:11:42 -08:00
Brendan Eich
9af4f618a7
Bug 470300 - "Assertion failure: StackBase(fp) + blockDepth == regs.sp" with |let| (r=gal).
2008-12-18 21:08:57 -08:00
Andreas Gal
bbf40348b6
Trace apply/call with an imacro (465214, r=brendan).
2008-12-18 19:20:47 -08:00
Graydon Hoare
d248d11954
Bug 470176 and bug 470173 - prevent traces from writing to imported properties, r=brendan.
2008-12-18 18:25:12 -08:00
Robert Sayre
c918482535
Merge m-c to tracemonkey.
2008-12-18 15:17:19 -05:00
Igor Bukanov
5f6b121715
bug 467441 - avoiding js_(Add|Remove)Root for regexp statics. r=crowder
2008-12-18 21:06:45 +01:00
Jeff Walden
201e000573
Bug 470133 - TM: fails to trace case with a type mismatch. r=gal
2008-12-18 10:35:09 -08:00
Igor Bukanov
1a1341cdb4
bug 465032 - operationCount as the first field in JSContext. r=brendan
2008-12-18 16:24:34 +01:00
Brendan Eich
3abd77d8ea
Bug 469927 - TM: much slower than interpreter with short loop with |let| (r=mrbkap, a=sayrer).
2008-12-18 01:31:15 -08:00
Brendan Eich
8476ea6560
Bug 469940 - Automatic semicolon insertion wrongly done after var with multi-line initializer (r=mrbkap, a=sayrer).
2008-12-18 01:11:04 -08:00
David Anderson
dbab136074
Fixed bogus assertion in a rare type-instability case (bug 470061, r=gal).
2008-12-18 03:15:09 -05:00
Andreas Gal
589fb9eb38
Merge.
2008-12-17 23:09:55 -08:00
Andreas Gal
3af573343f
Backed out changeset 95b210c2fc92 preemptively. Seems to crash the browser.
2008-12-17 23:09:26 -08:00
Andreas Gal
65b4bad89c
XP_MACOSX and DARWIN are not set in the shell, so use __APPLE__ (another follow-up for 465460, r=danderson).
2008-12-17 22:58:02 -08:00
Andreas Gal
2dffadf0fb
Merge.
2008-12-17 22:54:02 -08:00
Andreas Gal
62f0547add
Trace apply/call using an imacro (465214, r=brendan).
2008-12-17 22:53:35 -08:00
Graydon Hoare
3477355ddd
Bug 465443, bail off trace when readonly properties are written, r=brendan.
2008-12-17 20:50:05 -08:00
Robert Sayre
7b0ca330e8
Bug 423231. bustage fix.
2008-12-17 18:27:17 -05:00
Andreas Gal
4074f82a15
Return -0 for ceil if x < 0 and x > -1 (423231, r=jim).
2008-12-17 14:23:53 -08:00
Brendan Eich
bbd3fdab2a
Bug 469927 - TM: much slower than interpreter with short loop with |let| (r=mrbkap).
2008-12-17 12:34:06 -08:00
Igor Bukanov
c67f58e20d
bug 465377 - avoid useless duplication of Exception native. r=crowder
2008-12-17 20:31:24 +01:00
Benjamin Smedberg
a417fbee4c
Bug 468937 - Add some basic tests for the red/green (cx->fp) analysis
2008-12-17 13:27:26 -05:00
Benjamin Smedberg
252eab1177
Bug 469995 - js_DecompileValueGenerator uses cx->fp and should be made safe, r=crowder+jorendorff
2008-12-17 13:15:08 -05:00
Andreas Gal
954913ca57
Follow-up fix for the follow-up fix for 465460 (r=me, again).
2008-12-16 21:19:00 -08:00
Andreas Gal
74a6ad1f62
Trivial follow-up fix for 465460 (r=me).
2008-12-16 21:16:03 -08:00
Brendan Eich
6bfce6b6b0
Windows lacks ssize_t, who knew?
2008-12-16 20:42:39 -08:00
Brendan Eich
56658da21f
Bug 465460 - TM: valueOf ignored on third iteration of loop (r=gal).
2008-12-16 19:03:42 -08:00
Blake Kaplan
c3dc1ab151
Bug 469761 - Protect against apply on a non-function. r=gal
2008-12-16 15:09:05 -08:00
Benjamin Smedberg
c088c75c85
Bug 469191 - jsstack.js: give better locations for errors, r=dmandelin
2008-12-16 16:20:19 -05:00
David Mandelin
7f85908dd4
Bug 469177 - red/green analysis (cx->fp) doesn't actually run the analysis, r=jorendorff
2008-12-16 16:15:09 -05:00
Blake Kaplan
3c05b67fc0
Bug 469582 - Add -j to the ./js usage string if the tracer is enabled. r=brendan
2008-12-15 17:03:05 -08:00
Blake Kaplan
3f3f4048f8
Bug 469621 - Protect the new scope object from garbage collection. r=crowder
2008-12-15 16:42:40 -08:00
Jim Blandy
dc9a66856f
Bug 461180: Add coverage tests for traceable math native functions. r=mrbkap
...
These cases are adapted from those in js/tests/ecma/Math.
2008-12-15 14:45:56 -08:00
Jim Blandy
a49451a0af
Bug 461180: Define traceable native versions of the rest of the math funcs. r=jorendorff
2008-12-15 14:45:56 -08:00
Andreas Gal
85f01f421d
Merge.
2008-12-14 19:35:29 -08:00
Brendan Eich
2bbb1f2b7b
Bug 469313 - TM: crash (GMail): JS_Assert (s=0x368d8f "!JS_ON_TRACE(cx)", file=0x3724c8 "/Users/roc/mozilla-checkin/js/src/jsobj.cpp", ln=3765) (r=gal).
2008-12-13 17:32:44 -08:00
Brendan Eich
422e4198fe
Bug 469313 - TM: crash (GMail): JS_Assert (s=0x368d8f "!JS_ON_TRACE(cx)", file=0x3724c8 "/Users/roc/mozilla-checkin/js/src/jsobj.cpp", ln=3765) (r=gal).
2008-12-13 17:30:04 -08:00
Neil Rashbrook
13238265ed
Bug 469289 Make nanojit build with VC7.1 r=danderson
2008-12-13 23:45:38 +00:00
Blake Kaplan
87667890ab
Bug 462851 - Protect against enumerating the call object's prototype. r=brendan a=sayrer
2008-12-13 14:17:24 -08:00
Jim Blandy
73253da291
Bug 468041: List the object files that depend on javascript-trace.h explicitly. r=bsmedberg
...
It seems gratuitous to rebuild every object file when
javascript-trace.h changes.
2008-12-16 11:50:21 -08:00
Jim Blandy
471974d852
(no bug): Add echo-tier-dirs target, to display tiers' directories. r=bsmedberg
2008-12-16 10:46:16 -08:00
Peter Van der Beken
0eeeec31c5
Switch to sets module instead of using builtin set type to support Python 2.3 on mobile. Bustage fix.
2008-12-16 17:20:38 +01:00
Peter Van der Beken
65eeb9ac06
Fix for bug 461566 (Don't call FindTearoff when not needed and cache XPCNativeInterfaces in quickstubs). r/sr=jst.
2008-12-16 16:46:18 +01:00
Peter Van der Beken
8473174cb4
Fix for bug 461563 (Allow WrapNative to return a jsval without the wrapper). r/sr=jst.
2008-12-16 16:46:18 +01:00
Igor Bukanov
6df56327b7
bug 458099 - DOMOperationCallback can get a JSContext with no global object. r=peterv sr=mrbkap
2008-12-14 22:40:10 -08:00
Brian Crowder ext:(.)
f3d3814803
Bug 446026 - restore utility of eval(s, o). r=mrbkap
2008-12-12 23:47:23 -08:00
Wan-Teh Chang
3a07a18e58
Bug 467677: fixed typo "ranslated" => "translated".
2008-12-12 21:29:45 -08:00
Phil Ringnalda
35062f6605
Bug 468575 bustage, if there's no revdepth.pl, it won't export very well
2008-12-12 21:16:37 -08:00
Wan-Teh Chang
187643c049
Bug 467677: Removed test -n "$CROSS_COMPILE". Moved
...
"cross_compiling=yes" to the very end of the if block so that it
is not overridden by AC_PROG_CC and AC_PROG_CXX. Removed the Mac
OS X ppc<->x86 code in the "else" block. r=jim,ted.mielczarek.
2008-12-12 21:00:38 -08:00
Phil Ringnalda
3dcc5ea3aa
Bug 468575 - Scrape some gunk off the config/ grout, r=ted
2008-12-12 19:45:07 -08:00
Andreas Gal
c96b30085e
Merge.
2008-12-12 17:06:55 -08:00
Andreas Gal
7ba58d96a8
Backed out changeset 5f64a0d18e53
2008-12-12 17:04:32 -08:00
Andreas Gal
7ddb12bdbc
Merge.
2008-12-12 16:28:34 -08:00
Oleg Romashin
a356fe2d9a
Bug 468824 - libosso.h and hildon-uri.h should be defined in system-headers list. r=benjamin.
2008-12-13 00:22:41 -05:00
Andreas Gal
f7da8821da
Branch-exit and attach traces on shape mismatches (r=danderson).
2008-12-12 14:26:55 -08:00
Robert Sayre
443f738d12
Backed out changeset f682453c06d0. Failing scriptaculous unit tests, doesn't build on windows or mac ppc.
2008-12-11 20:43:32 -08:00
Brendan Eich
ece10ee8df
Bug 465460 - TM: valueOf ignored on third iteration of loop (r=gal).
2008-12-11 17:50:56 -08:00
Graydon Hoare
39ed76ba7c
Bug 468484 - Back out further arm-wince breakage from recent merging activity.
2008-12-11 17:09:45 -08:00
Graydon Hoare
aac4a6a13a
Bug 468484 - Back out further arm-wince breakage from recent merging activity.
2008-12-11 16:11:29 -08:00
Jason Orendorff
b20c028359
Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 3 of 4, call objects, r=brendan)
...
--HG--
extra : rebase_source : 14a82b2b08c8b7dbae5e72623685b7c3947df603
2008-12-11 17:53:05 -06:00
Jason Orendorff
acc67a8b40
Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 2 of 4, stack, r=gal)
...
--HG--
extra : rebase_source : f8e3e4853793d02e0771ea663cebe7e1a0d98e4e
2008-12-11 17:53:05 -06:00
Jason Orendorff
999ec8e790
Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 1 of 4, easy stuff, r=gal)
...
--HG--
extra : rebase_source : 46b26c86f02bb0db70ca357ed71f5a8a9464dc9c
2008-12-11 17:53:04 -06:00
Blake Kaplan
6dd93666f1
Bug 470129 - Skip parentheses when doing optimizations based on parse node type. r=igor
2009-01-06 15:13:57 -05:00
Jeff Walden
d39a0ed158
Move trace-test-math.js to math-trace-tests.js and remove trace.js because they defy my tab-complete-fu
...
--HG--
rename : js/src/trace-test-math.js => js/src/math-trace-tests.js
2009-01-05 18:28:48 -08:00
Andreas Gal
89c862278e
Merge.
2009-01-05 16:23:07 -08:00
Andreas Gal
135f143d10
Backed out changeset adbe8e4b21dc due to tinderbox failures/timeouts (453157).
2009-01-05 16:22:42 -08:00
Andreas Gal
8582d80da4
Merge.
2009-01-05 16:14:14 -08:00
Andreas Gal
61a1479f3e
Don't try to deallocate the trace recorder from inside one of its own instance methods (472049, r=brendan).
2009-01-05 16:13:53 -08:00
Andrei Saprykin
9f7c96f36f
bug 453157 - watchdog thread as an alternative to operation count. r=myself,mrbkap
2009-01-05 22:09:23 +01:00
Andreas Gal
deb8272b88
Merge.
2009-01-02 15:51:25 -08:00
Andreas Gal
6a2d183fee
Stop generating LIR when running out of memory in the regexp compiler (471924, r=danderson).
2009-01-02 15:50:56 -08:00
David Mandelin
4202e18d74
Bug 463997: JS regression test bug with 'with (window) ...', r=mrbkap
2009-01-02 13:11:46 -08:00
Robert Sayre
1afdec58da
Merge tm to m-c.
2008-12-11 15:17:58 -08:00
Blake Kaplan
f3228fcb87
Bug 464092 - Censor access to block objects when they're the parents of functions. r=igor a=beltzner
2008-12-11 14:16:46 -08:00
Graydon Hoare
bb7e9793cf
Bug 468484 - back out most of changeset 2963765d5585 and ifdef-guard members of avmplus::Config, fix arm build.
...
* * *
Bug 468484 - ifdef-guard members of avmplus::Config structure that broke ARM build.
2008-12-11 13:50:55 -08:00
Benjamin Smedberg
6205031244
Bug 466486 - Don't use a subshell to recurse over DIRS when DIRS is empty (try #2 ) r=ted
2008-12-19 09:50:24 -05:00
Brendan Eich
db295b5972
Back out patch for bug 469625, it mysteriously busts stuff.
2008-12-19 01:38:09 -08:00
Ted Mielczarek
39e658d4df
bug 468515 - configure doesn't set OS_TEST properly in 64-bit OS X builds. r=bsmedberg
2008-12-11 09:52:18 -05:00
Graydon Hoare
3cbd1cd998
Bug 450000 - Back out nanojit jump-patching machinery, r=danderson.
2008-12-10 17:31:17 -08:00
Graydon Hoare
ba3dc13800
Bug 468484 - Minor adjustments to match changes in tamarin, r=gal.
2008-12-10 17:25:46 -08:00
Graydon Hoare
37cfe58e72
Bug 468484 - Rename avmplus::AvmConfiguration, adjust sites of use, r=gal.
2008-12-10 17:19:40 -08:00
Benjamin Smedberg
e8ea9cf02d
Merge mozilla-central into tracemonkey, specifically to pick up bug 467579.
2008-12-09 21:37:35 -05:00
Jeff Walden
6afac16038
Bug 465255 - Rewrite TraceRecorder::cmp, take five. (Three, sir!) Three! r=gal
2008-12-08 21:11:56 -08:00
Boris Zbarsky
dc570eacdd
Bug 466935. Make JS_JIT_SPEW non-DEBUG build again. r=dmandelin,brendan
2008-12-11 13:55:04 -05:00
Benjamin Smedberg
893f114acb
Bug 468717 - enable static analysis for js/src, r=jorendorff
...
--HG--
rename : xpcom/analysis/static-checking.js => config/static-checking.js
rename : xpcom/analysis/string-format.js => config/string-format.js
rename : xpcom/analysis/static-checking.js => js/src/config/static-checking.js
rename : xpcom/analysis/string-format.js => js/src/config/string-format.js
rename : xpcom/analysis/jsstack.js => js/src/jsstack.js
2008-12-11 11:40:04 -05:00
Jim Blandy
1e6522ed70
Bug 463339: Have js/src use symlinks when installing in dist. r=bsmedberg
...
A directory's 'libs' target should create symlinks in the top-level
dist/bin and dist/lib directories to the libraries (and any other
generated files) in the build tree, so that when one has changed
sources in $src/js/src, simply running 'make' in $obj/js/src and then
re-running $obj/dist/bin/firefox will pick up the new libraries.
The js/src/Makefile.in 'install' target has many double-colon rules
with commands; we'd like to use these all in two circumstances:
. For 'make install' in a stand-alone js/src build. Since we're
following GNU behavior, this should copy the files it's installing.
. For 'make libs' in an in-tree js/src build. To interact properly
with the rest of the Mozilla build system, this should create
symlinks as explained above.
To accomplish this, we use plain old $(INSTALL) in all the install
targets, have js/src/Makefile.in set NSDISTMODE to copy (to get the
GNU behavior), and then have config/js/Makefile.in override that (to
get the Mozilla in-tree behavior).
2008-12-08 09:35:58 -08:00
Ted Mielczarek
68f2eb86cc
bug 462004 - JavaScript shell should provide line editing facilities. r=bsmedberg
...
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2008-12-03 08:55:27 -05:00
Ted Mielczarek
8370a127e4
bug 467862 - Build system should support building both a static and a shared library from the same Makefile. r=bsmedberg
2008-12-24 14:04:43 -05:00
Jim Blandy
a04892f62e
Bug 465640: Use autoconf to declare stdint types on platforms that don't have stdint.h r=bsmedberg
...
At configure time, check for <stdint.h>. If we don't have it, find
integer types of various sizes. On Windows, where we can't run
compilation tests in configure, hard-code definitions suggesting the
use of the built-in __intN types for the exact-size types, and
<stddef.h> for the pointer-sized types.
Use namespace-clean names for the preprocessor macros we define.
Since these types are used in the public JavaScript API, the configure
script needs to place the definitions it finds in js-config.h, the
installed configure-generated header, so it can be used by jsapi.h and
that gang.
New header js/src/jsstdint.h does what it takes to get definitions for
the exact-size and pointer-size integral types. It includes
<stdint.h> when available, uses the types found by configure.in to
define the {,u}int{8,16,32,64,ptr}_t types itself, or uses the __intN
types and the <stddef.h> header.
Remove now-unnecessary and possibly conflicting definitions of intN_t
types from js/src/nanojit/avmplus.h.
2009-01-13 10:50:24 -08:00
Benjamin Smedberg
fc65bccce5
Followup to bug 463172 (implement --disable-jit) - this block needs to be outside of the SKIP_COMPILER_CHECKS block so that it affects Windows
2009-01-13 12:54:35 -05:00
Benjamin Smedberg
fec9af26d0
Bug 463172 - add a --disable-jit option, r=ted
2009-01-13 11:34:51 -05:00
Benjamin Smedberg
d42ae41122
Backed out changeset 8f347bf50a53 due to x86-64 build bustage, and the fact that the committed patch didn't match the reviewed patch in an important way (bug 469558)
2009-01-13 10:19:25 -05:00
Bobby Holley
475a3a6720
Bug 469558: --enable-system-lcms build option should be removed.r=vlad,sr=ted
2009-01-12 16:20:45 -08:00
Benjamin Smedberg
08c8aadf40
Add a static analysis pass to verify that for any do_QueryFrame<Interface> there is an Interface::kFrameIID declared. NPODB, static-checking only.
...
--HG--
extra : rebase_source : 0bcfa5b446d0c19610d9d61dd7e281d3923c8736
2009-01-12 14:21:11 -05:00
Ted Mielczarek
1603009445
bug 462004 - JavaScript shell should provide line editing facilities. r=bsmedberg
...
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2008-12-03 08:55:27 -05:00
Benjamin Smedberg
2e26c94375
Bug 472461 part 2 - jsgc crashes with !JS_TRACER, r=jorendorff for immediate bustage fix, and I'll get ex-post-facto review from Igor
2009-01-08 10:44:16 -05:00
Benjamin Smedberg
9d2a991be0
Bug 472461 part 1 - jsgc.cpp fails to compile with !JS_TRACER, initial patch by Igor, r=jorendorff with nits fixed by bsmedberg
2009-01-08 10:43:33 -05:00
Michael Ventnor
80e906d414
Bug 469880. Support a libnotify-based implementation of nsIAlertsService for GTK. r+sr=roc,r=ted
...
--HG--
extra : rebase_source : f9a6a01ffaf868712429a42193a275eecaf9a614
2009-01-08 21:12:16 +13:00
timeless@mozdev.org
c42ddc47be
Bug 468045. r+sr=jst.
2008-12-07 16:15:54 -08:00
Ben Turner
f94fff590e
Bug 453865 - 'Workers: Allow JSON-able objects to be passed as messages to worker threads.' r+sr+a=jst.
2008-12-07 16:15:49 -08:00
Ben Turner
7340738ad2
Bug 467162 - 'uninitialized local variable warning in xpcwrappedjsclass.cpp'. r+sr=jst, a=blocking1.9.1
2008-12-07 16:15:43 -08:00
Aiko
aae680fe23
Bug 341901 - versioninfo for js3250.dll is bad. r=bsmedberg
2008-12-07 15:34:58 +01:00
Brendan Eich
1c1214a195
Bug 449657 - JS_SealObject fails on Array objects (r=mrbkap, a=sayrer).
2008-12-07 00:03:12 -08:00
Wan-Teh Chang
289d854372
Bug 466531 - Crash/hang [@ mult][@ Balloc] when loading pages on PPC; Proposed patch for JS (trunk); r=jim
2008-12-06 16:50:49 +01:00
Justin Wood
0a12c9f85c
Bug 467050, add config.mk to the GLOBAL_DEPS list as well
...
r=ted
2008-12-05 23:04:01 -05:00
Peter Van der Beken
d17bae28e1
Partially back out fix for bug 461563 to try to fix Txul regression on Windows.
2008-12-05 14:38:05 +01:00
Peter Van der Beken
71f8bac27f
Partially back out fix for bug 461563 to try to fix Txul regression on Windows.
2008-12-05 10:42:17 +01:00
Jeff Walden
443bee95c7
Bug 397227 - Forgot to sync js's config/rules.mk; it would have been helpful if that were checked at build time rather than 'check' time. r=redness still
2008-12-04 00:56:31 -08:00
Jeff Walden
f9ce0e9aa7
Bug 397227 - Reduce the effort needed to write C++ tests. r=ted
2008-12-03 22:25:00 -08:00
Brad Lassey
fdb2d669b4
Bug 464052 - windows compilers don't like variables named far r=crowder
2008-12-03 08:41:12 -05:00
Brian Crowder
91cded4902
Bug 462912 - THIS is defined on windows mobile r=jim
2008-12-03 08:41:12 -05:00
Benjamin Smedberg
438d35294c
Merge backout of bug 466486
2008-12-02 17:18:28 -05:00
Benjamin Smedberg
2adc9eec08
Backed out changeset f71446b6fc7e: bug 466486- directories are getting skipped, causing things like xpcshell not to be built
2008-12-02 17:17:41 -05:00
Benjamin Smedberg
f8a9c1a885
Bug 467579: --with-static-checking is broken in spidermonkey. There is currently no useful static checking infrastructure for spidermonkey, so disable it for the time being, r=jimb
2008-12-02 14:46:37 -05:00
Benjamin Smedberg
69b2ad97cb
Merge bug 466492, bug 466486, bug 463289, bug 442012, and bug 463420
2008-12-02 14:08:12 -05:00
Igor Bukanov
8626be1ad8
bug 466990 - check for valid option name in js shell. r=crowder
2008-12-02 14:03:30 +01:00
Peter Van der Beken
e58d168174
Fix for bug 461563 (Allow WrapNative to return a jsval without the wrapper). r/sr=jst.
2008-12-02 11:07:34 +01:00
Ben Hearsum
611df67e19
Version bump mozilla-central to 3.2a1pre/1.9.2a1pre. CLOSED TREE
2008-12-01 12:17:55 -05:00
Jesse Ruderman
8641b22aca
Add bug 453935 crashtest to CLOSED TREE
2008-11-29 19:13:55 -08:00
Jesse Ruderman
42252a60cc
Add crashtest for bug 400349. sdwilsh gave me permission to check in crashtests in today's CLOSED TREE.
2008-11-29 18:12:46 -08:00
Blake Kaplan
f32e0ba3e6
Bug 454142. r=brendan, r=igor, a=beltzner
2008-11-28 18:15:06 -08:00
Shawn Wilsher
60611b98b8
merge to tip after backout
2008-11-28 17:05:05 -08:00
Shawn Wilsher
d4bf0c5514
Backed out changeset a4495a0cf2ff (bug 458397) to investigate Txul regression (bug 467102)
2008-11-28 17:04:16 -08:00
Blake Kaplan
f0ec5c81f8
Bug 464788 - Fix warnings in XPConnect. r/sr=jst, a191=beltzner.
2008-11-28 11:08:37 +01:00
Blake Kaplan
128130b215
Bug 456284 - JSExtendedClass requires an equality hook. r=crowder, a191=beltzner.
2008-11-28 11:06:30 +01:00
Shawn Wilsher
1558aa2eeb
Merge to tip for backout of bug 461566.
2008-11-27 20:33:33 -08:00
Shawn Wilsher
b5ea3312de
Backed out changeset 037f635ced9f (bug 561566)
2008-11-27 20:32:48 -08:00
Shawn Wilsher
3bc6a3921f
Merge to tip for peterv's bundle
2008-11-27 20:07:06 -08:00
Justin Wood
2c68d67b74
Bug 463824, Introduce GLOBAL_DEPS to build system
...
r=ted, a1.9.1=beltzner [js bits rs=sdwilsh]
(really include js bits this time, forgot to *not* use |hg qref -s|)
2008-11-27 21:58:44 -05:00
Philipp Kewisch
b18d4c4fbd
Fix bug 435474 - Provide a readline function for xpcshell to read a line from stdin. r/sr=mrbkap,a191=beltzner,p=philipp,dbo
2008-11-27 18:25:35 -08:00
Shawn Wilsher
1aec67653d
Merge for backout of bug 453865
2008-11-27 14:18:21 -08:00
Shawn Wilsher
bd1f24e85b
Backed out changeset 17842a2d0c7f (bug 453865) due to test failures
2008-11-27 14:16:55 -08:00
Shawn Wilsher
177e7e9738
Merge for bent's worker thread bundle.
2008-11-27 13:07:14 -08:00
Peter Van der Beken
9b83315e60
Fix for bug 461566 (Don't call FindTearoff when not needed and cache XPCNativeInterfaces in quickstubs). r/sr=jst.
2008-11-27 18:50:52 +01:00
Peter Van der Beken
c747cab7cf
Fix for bug 461563 (Allow WrapNative to return a jsval without the wrapper). r/sr=jst.
2008-11-27 18:47:58 +01:00
Peter Van der Beken
97f5b22d33
Fix for bug 464067 (memory leak while running SVG reftests). r/sr=jst.
2008-11-27 18:45:25 +01:00
Roy Tam
d3c6e1f3d0
Bug 453636 Make nanojit build with VC7.1 r=danderson a191=beltzner
2008-11-27 10:21:22 +00:00
Igor Bukanov
306805aa02
bug 466206, r=brendan a191=beltzner
2008-11-27 10:16:30 +00:00
Ben Turner
0c73f1437e
Bug 453865 - 'Workers: Allow JSON-able objects to be passed as messages to worker threads.' r+sr+a=jst.
2008-11-27 01:16:41 -05:00
Ben Turner
d1e776def5
Bug 459790 - 'Following Error console link causes uncaught exception ( 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface] ).' Followup fix for JS impls. r+sr=jst, a=blocking1.9.1+
2008-11-27 01:16:41 -05:00
Benjamin Smedberg
5a96be0cbd
Bug 466492 - test for the existence of jar.mn in make, rather than in a shell script: this allows us to avoid launching the subshell in the common case where a jar.mn is not present r=ted
2008-11-26 14:43:59 -05:00
Benjamin Smedberg
a3f1bc7d9c
Bug 466486 - Don't launch subshells to build subdirectories if there aren't any subdirectories to build r=ted
2008-11-26 14:43:26 -05:00
Benjamin Smedberg
92e9d4714f
Bug 463420 - SIMPLE_PROGRAMS leads to bustage with generated.pdb r=ted
2008-11-26 14:38:09 -05:00
Igor Bukanov
54b6b33d7d
bug 461158, r=brendan a191=blocker
2008-11-26 20:59:47 -05:00
Boris Zbarsky
5ab8d15933
Marge backout
2008-11-26 17:56:02 -05:00
Boris Zbarsky
55472dc351
Backed out changeset 7bc1ba9f91fe to fix test orange
2008-11-26 17:54:40 -05:00
Boris Zbarsky
a0adc7dc83
Merging in bug 453432
2008-11-26 16:54:54 -05:00
Igor Bukanov
427be2e6d3
bug 457521, r=brendan a191=blocking
2008-11-26 10:16:48 -08:00
Andrei Saprykin
651c16ba12
Bug 453432 - Checking for MaybeGC conditions when allocating GC things.
...
r=igor,mrbkap a191=blocker
2008-11-26 18:09:24 +01:00
Ben Hearsum
952efa1bf3
bug 463036: version/config bumps for Firefox 3.1b2. r=anodelman CLOSED TREE
2008-11-25 14:59:40 -05:00
Igor Bukanov
1c6685433f
Backed out changeset 700ae4e59496 - bug 453157 caused talos oranges. CLOSED TREE
2008-11-24 11:36:44 +01:00
Andrei Saprykin
3cfcbdb3c5
bug 453157 - watchdog thread as an alternative to operation counting, r=igor,mrbkap a19b2=beltzner (CLOSED TREE)
2008-11-24 00:15:46 +01:00
Igor Bukanov
957d522969
Backed out changeset 04cecb0ec24c to see if it fixes tinderbox oranges. CLOSED TREE
2008-11-22 16:33:09 +01:00
Andrey Saprykin
b6507b326f
bug 453157 - using watchdog thread as an alternative to the operation count. r=igor,mrbkap a19b2=beltzner (CLOSED TREE)
2008-11-22 01:53:37 +01:00
Igor Bukanov
b7df88f931
Backed out changeset c54f1957d564 - bug 453157 - build system changes caused mouchi test failures. CLOSED TREE
2008-11-22 00:13:42 +01:00
Andrey Saprykin
c87e2d80c8
bug 453157 - using watchdog thread as an alternative to the operation count. r=igor,mrbkap a1.9.0b2=beltzner (CLOSED TREE)
2008-11-21 22:58:16 +01:00
Blake Kaplan
24f49eeef4
Bug 465705 - There must always be at least one source note. r=brendan a=sayrer
...
Pushing on a CLOSED TREE with a=josh
2008-11-21 12:03:58 -08:00
Blake Kaplan
c1a551e9d9
Bug 465901 - DVG confused by |let|. r=brendan a=sayrer
2008-11-21 12:03:28 -08:00
Igor Bukanov
b13ff5429c
Backed out changeset 8329a91db67d - bug 453157, CLOSED TREE
2008-11-21 00:18:43 +01:00
Ted Mielczarek
3e3567237e
bug 472877 - Add configure option to enable gczeal. r=crowder
2009-01-10 17:00:20 -05:00
L. David Baron
e84f7f11b1
Add ability to mark JSDHashTable/PLDHashTable as immutable and thus prevent RECURSION_LEVEL assertions from firing due to lookups racing on multiple threads. (Bug 469004) r=brendan,mrbkap
2009-01-10 08:28:16 -08:00
Andrei Saprykin
9fea491071
bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap a1.9.0b2=beltzner
2008-11-20 22:25:34 +01:00
Edwin Smith
b5094e7c4a
Bug 468484 - isQuad(LIR_callh) on 32bit cpu's should be false (r=dvander+), r=danderson.
2008-11-20 15:39:45 -05:00
Ben Turner
f3e5b8842d
Bug 459790 - "Following Error console link causes uncaught exception ( 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface] )". r+sr=jst, a=mconnor.
2008-11-20 10:34:02 -08:00
timeless@mozdev.org
dd62a51a03
Backed out changeset 1d817f9d842f per beltzner
...
the windows leak tests were red and osx talos tests were orange
2008-11-20 16:23:57 +01:00
Andrei Saprykin
aed08c8c99
bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap a1.9.0b2=blocker
2008-11-20 10:43:06 +01:00
David Anderson
7356da10de
Fix CALLPROP not guarding that the callee is not NULL (bug 465580, r=gal).
2008-11-19 20:41:45 -08:00
Edwin Smith
6415706f0d
Bug 468484 - Fixed a couple more small nanojit injections, r=danderson.
2008-11-19 15:16:20 -05:00
David Anderson
a776f7137a
Fixed unsafe coercion of JSVAL_VOID to string on trace entry (bug 465483, r=brendan).
2008-11-18 19:48:02 -06:00
Robert O'Callahan
72029ea360
Backing out bug 463339 due to Mac build failure
2008-11-19 14:52:16 +13:00
Ben Turner
214ca641e9
Bug 462389. Solaris bustage fix. r=neil@httl.net,sr=jst,a=beltzner
2008-11-19 14:16:15 +13:00
Jim Blandy
772d66ffe6
Bug 463339. Have js/src use symlinks when installing in dist. r=bsmedberg,a=sayrer
2008-11-19 14:14:04 +13:00
Vladimir Vukicevic
7a34f9500d
Merge mozilla-central into tracemonkey
2008-11-18 13:54:21 -08:00
Brendan Eich
83c020dce3
Bug 465220 - nested imacro abort not cleanly handled (botches assertions) (r=mrbkap, a=beltzner).
2008-11-17 16:56:01 -08:00
Brendan Eich
37c40ca7c0
Merge.
2008-11-17 16:29:40 -08:00
Simon Bünzli
ce05a1e500
Bug 462774: Drop JSON.jsm. r=gavin, r=sayrer, sr=brendan, a1.9.1b2=beltzner
2008-11-17 13:57:43 +00:00
Igor Bukanov
b31f8300ea
bug 452913 - fixing sprop management, r=brendan, a.9.1b2=sayer
2008-11-17 13:59:39 +01:00
Igor Bukanov
a76c374322
bug 464334 - removal of no longer applicable asserts that sp <= static spdepth. r=brendan a1.9.1b2=beltzner
2008-11-17 13:48:57 +01:00
Andreas Gal
27b72971da
Removed bogus assert when stringifying objects (465209, r=brendan, a=mconnor).
2008-11-17 01:12:18 -08:00
Ginn Chen
5600ce1618
Bug 452390 Tracemonkey will crash if the compiler doesn't have FASTCALL r=danderson
2008-11-17 07:02:06 +08:00
Andreas Gal
f7ca65fe0f
Don't demote multiplication, even if result is demoted and inputs are demotable (465308, r=danderson).
2008-11-17 01:39:49 -08:00
Andreas Gal
36cc27f654
Make sure to flush the JIT cache after a gc even if we didn't import globals (464418, r=brendan, 2nd attempt to push).
2008-11-17 01:20:54 -08:00
Andreas Gal
4287473ba2
Merge.
2008-11-17 00:05:59 -08:00
Andreas Gal
cdbe1015e3
Don't attempt to do CSE across labels (465276, r=danderson).
2008-11-17 00:05:29 -08:00
Brendan Eich
4f1fb4a478
No else after return if you please.
2008-11-16 23:16:30 -08:00
David Anderson
442b376986
Fixed regression from recent constant folding patch (bug 465272, r=gal).
2008-11-16 22:52:15 -08:00
Andreas Gal
c19528a655
Inline int32 to id fast path into the builtins (465268, r=danderson).
2008-11-16 22:20:34 -08:00
Andreas Gal
a9d9eff7ee
Merge.
2008-11-16 22:13:37 -08:00
Andreas Gal
3c5889df4e
Fix tracing of JSOP_IN (465241, r=danderson).
2008-11-16 22:13:13 -08:00
David Anderson
a653ef6015
Fixed branch traces being erroneously marked as dependent trees (bug 464979, r=gal).
2008-11-16 21:58:35 -08:00
David Anderson
637ce7666a
Merge.
2008-11-16 21:37:28 -08:00
David Anderson
d46ed014cf
Fixed edge case in nanojit register allocation for shl/shr (bug 465135, r=gal).
2008-11-16 21:36:33 -08:00
Andreas Gal
bd10f75bdb
Can't bypass ECMADoubleToInt32 in js_StringToInt32 (465239, r=danderson).
2008-11-16 20:43:13 -08:00
Andreas Gal
0218a2502b
Merge.
2008-11-16 20:22:52 -08:00
Andreas Gal
b1e33fe0ff
JIT affects truthiness of "" <= null (465234, r=Waldo).
2008-11-16 20:22:01 -08:00
David Anderson
6f0cd7b8ba
Constant fold additions to avoid erroneous isPromoteInt detection (bug 465249, r=gal).
2008-11-16 20:14:27 -08:00
Jeff Walden
7c2bb3cab6
Bug 465137 - TM: JIT thinks !NaN is false. r=gal
2008-11-16 18:28:51 -08:00
David Anderson
43c8a3cb27
Fixed deep abort logic when onTrace is set without a recorder (bug 465192, r=gal).
2008-11-16 17:55:01 -08:00
Andreas Gal
43dcf98a44
Backed out changeset 2601301b793d
2008-11-16 16:50:19 -08:00
Andreas Gal
cd3869dd9c
Use regexp string as key for the regexp fragment cache (464866, r=brendan).
2008-11-16 15:17:16 -08:00
Andreas Gal
78fbb9e673
Merge.
2008-11-16 13:53:02 -08:00
Andreas Gal
012365500f
Removed bogus assert when stringifying objects (465209, r=brendan).
2008-11-16 13:51:29 -08:00
David Anderson
db46b11fa1
Fixed recorders already deeply aborted being pushed onto the deep abort stack (bug 465145, r=gal).
2008-11-16 02:34:51 -06:00
Brendan Eich
93a63ea9b2
Avoid bogus assertbotch (more work needed to reconstruct imacro stack depth).
2008-11-15 23:56:49 -08:00
Andreas Gal
4da6188c80
Implement ordered comparison for objects (465133, r=brendan).
2008-11-15 23:19:46 -08:00
David Anderson
321ce0dc05
Deep abort recorders outer recorders if we need to flush the JIT cache early (bug 463829, r=brendan,gal).
2008-11-15 18:54:24 -06:00
Jeff Walden
dded0f5f95
Bug 462060 - TM: JIT: Initializing an array to a constant in a loop doesn't work for some constant values. r=brendan
2008-11-15 16:42:35 -08:00
Brendan Eich
d3da4b8e87
Fast followup to pick nit in last commit.
2008-11-15 12:49:00 -08:00
Brendan Eich
eb9a67cd20
Bug 465013 - TM: General Error trying to play video on CNN (r=gal).
2008-11-15 12:41:26 -08:00
Brendan Eich
bab1f697ee
Bug 464978 - TM: hang with "[] + null" (r=danderson).
2008-11-15 10:33:50 -08:00
Graydon Hoare
acc4b45377
Bug 450000 - Support script timeouts in compiled code, r=gal.
2008-11-14 16:56:00 -08:00
Jeff Walden
8e7fb5c94b
Bug 464986 - Crash trying to compile a trace generated from stdin in debug build. r=danderson
2008-11-14 14:36:32 -08:00
Jim Blandy
2798283907
Bug 464127 - Don't use -Os with Intel C/C++ compilers r=ted.mielczarek
...
Intel recommends against the use of -Os, and using it seems to produce
incorrect code in many recent versions of Intel's compilers.
js/src/Makefile.in tries to use -Os only with G++, but it tests
INTEL_CC, not INTEL_CXX --- even though almost all the sources are
C++. Check INTEL_CXX instead.
2008-11-14 14:15:02 -08:00
Jim Blandy
26611f0fb3
Bug 464379: remove committed debugging 'echo'. r=bsmedberg
...
Here's the commit that added this:
1.1764 <benjamin@smedbergs.us> 2007-01-31 08:12
No bug: checking to see which tinderboxes don't have python available.
It seems unlikely that this echo was meant to stay in the configure script.
2008-11-14 14:10:29 -08:00
Brendan Eich
264e667808
Fix bogus assertion left in bug 463334.
2008-11-14 13:17:40 -08:00
Rick Reitmaier
a70c5b7d48
Bug 468484 - LirBuffer has been modified to provide advance warning of out of memory (OOM) conditions, r=danderson.
...
LirBuffer has been modified to provide advance warning of
out of memory (OOM) conditions.
A new page is allocated LIR_BUF_THRESHOLD instructions
prior to reaching the end of page. If the page allocation fails,
call to outOmem() will return true. The buffer can still be
safely written to during during this period but it is assumed
the higher level code will catch this condition and handle
it appropriately as writing LIR_BUF_THRESHOLD instructions
past this point will cause a crash.
This opportunity was also taken to re-factor the code for
LirBufWriter making it more platform agnostic.
- All non-LInsp data in the instruction stream is now managed
through structures that overlay the memory region.
- prepFor() was added to replace the multiple
ensureReferenceable() calls for each instruction.
- insCall() was also modified somewhat in that the
arguments are now stored growing downwards from
the position of the pseudo instruction LirCallIns.
CodegenLIR now has LirBuffer checks at the granularity
of each emitXXX() call that is exposed publicly. This seemed
like a reasonable approach since a client could potentially
call at this level indefinitely. If we want to reduce the frequency
of these checks then we'd have to push the check up into the
verifier.
Assembler OOM handling has also changed. The variable
_startingIns was added and contains the location at which
the assembler began writing code for the current
begin/assem/end sequence. If an OOM condition occurs
the assembler will reset the current instruction pointer
to _startingIns, effectively overwriting the code that has
been generated. This allows the assembler to produce
code indefinitely (and without error) until the upper layers
have noticed the error and respond accordingly.
The constant LARGEST_UNDERRUN_PROT was added
and needs to be set to a platform specific value that is
equal to or greater than the number of NIns written for
the largest possible instruction. i.e. you cannot write
more than this number of NIns to the buffer for each
call to underrunProtect().
2008-11-14 12:46:35 -08:00
Andreas Gal
10733f686b
Merge.
2008-11-14 08:07:19 -08:00
Neil Rashbrook
297e12e670
Bug 463896 Make xterm updates work with PARALLEL_DIRS for those people not on -j19 r=ted
2008-11-14 14:11:18 +00:00
Dave Townsend
0c402e5439
Backed out changeset ec9a1864d1fb from bug 462774, drop JSON.jsm due to OSX
...
burning
2008-11-14 12:36:07 +00:00
Simon Bünzli
aa05a6321f
Bug 462774: drop JSON.jsm. r=gavin, r=sayrer, sr=brendan, a1.9.1b2=beltzner
2008-11-14 12:11:11 +00:00
Andreas Gal
4deed08183
Merge.
2008-11-14 00:14:52 -08:00
Andreas Gal
8d8bb6d3bc
Compile native code for regexp first and don't shrink bytecode (464867, r=dmandelin).
2008-11-13 22:41:33 -08:00
David Mandelin
3891561ee3
Fixing bug 463803. Fixing crash on Windows with native regexp compiler. r=gal
2008-11-13 17:10:18 -08:00
David Mandelin
e82bebbc82
Fixing bug 463789. Native regexp compiler regression sweet crash. r=gal
2008-11-13 17:08:57 -08:00
David Mandelin
309949e188
Bug 463803: win32 crash in w/ regex compiler, r=gal
2008-11-13 16:56:24 -08:00
Andreas Gal
acebe116c1
Don't flush JIT cache from within the recorder (464403, r=brendan).
2008-11-13 15:58:58 -08:00
Andreas Gal
3214b2fe7a
Bug 464413 - "Assertion failed: _stats.freePages == _stats.pages". r=brendan
2008-11-13 10:33:45 -08:00
Edwin Smith
d1925631b4
Bug 468484 - trivial cleanups to simplify armjit merge (r=me), r=danderson.
2008-11-13 12:52:26 -05:00
Brendan Eich
9cbc195e82
Fix from Ginn Chen <ginn.chen@sun.com> for bug 464645.
2008-11-13 09:10:27 -08:00
Peter Van der Beken
c39cb1e482
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-13 17:54:52 +01:00
Jim Blandy
d79ee2ff98
Bug 462272: Record dependency on generated header javascript-trace.h, r=mrbkap, NPOB
...
Record object files' dependency on javascript-trace.h, when
HAVE_DTRACE is set.
Use $(CURDIR) where javascript-trace.h appears as a target or
dependency, to ensure that VPATH doesn't cause us to use a copy other
than the one in the object directory.
2008-11-13 14:51:37 +01:00
Brendan Eich
fab08e017c
Fast followup to fix for-each-in (imacros bug, r=me).
2008-11-13 00:43:00 -08:00
Brendan Eich
cb47c4cf08
Bug 456511 - (imacros) TM: Make conversion work on arbitrary JSObjects (r=gal).
2008-11-13 00:30:20 -08:00
David Anderson
30101c6443
Fixed recursion in thin loops accidentally trying to close the parent loop (bug 464089, r=gal).
2008-11-12 19:00:15 -08:00
Jesse Ruderman
e23679569a
Remove '\n' from NanoAssertMsgf calls (made redundant by the patch in bug 452674)
2008-11-12 18:02:34 -08:00
David Mandelin
5d10ab6833
Bug 463789: regression suite stack oflow on windows with regex compiler, r=gal
2008-11-12 17:55:56 -08:00
Andreas Gal
074d900a57
Backed out changeset a40f2117bcc0
2008-11-12 17:39:48 -08:00
Brendan
0ca607d76b
Add imacros to support conversion of arbitrary JSObjects (456511, r=gal).
2008-11-12 16:55:45 -08:00
Igor Bukanov
31d283c656
bug 464442 - various JSOP_APPLY fixes. r=brendan
2008-11-12 22:42:13 +01:00
Andreas Gal
d3c38eade4
Backed out changeset 313d3d61333d
2008-11-12 10:12:22 -08:00
Neil Rashbrook
23ff2e72e7
Followup to bug 462440 to remove redundant line r=ted a=beltzner
2008-11-12 12:16:21 +00:00
Andreas Gal
348e1dc001
Make sure to flush the JIT cache after a gc even if we didn't import globals (464418, r=brendan).
2008-11-11 23:58:36 -08:00
Andreas Gal
00f4a7853a
Merge.
2008-11-11 22:48:26 -08:00
Andreas Gal
a994665c09
Don't allocate a new lirbuf if we already have a fragment for the regexp (464413, r=brendan).
2008-11-11 22:48:00 -08:00
David Mandelin
f7418603b9
Bug 464138: invalid use of regexp addr as unique key, r=gal
2008-11-11 19:20:18 -08:00
Jim Blandy
377dcbc87b
Bug 462004: Use automatic variables in make rules, to allow VPATH to work. r=ted.mielczarek
...
Note that this applies to the js/src/Makefile.ref build system, not
the global Mozilla build system.
We would like to use VPATH to find js.cpp once it moves into a 'shell'
subdirectory. However, the rules changed by this patch use $* (the
pattern stem) to generate their source filenames, not $<, which
expands to the filename found in the VPATH.
2008-11-11 16:54:20 -08:00
Blake Kaplan
093ecbb6c7
Bug 463715 - Be less wasteful when emitting escapes. r=sayrer
2008-11-11 15:09:20 -08:00
timeless@mozdev.org
de4863a534
Bug 464214 warnings in jstracer
...
r=gal
2008-11-11 11:21:12 +01:00
timeless@mozdev.org
1efe45f72f
Bug 464212nanojit/Nativei386.cpp(148) : warning C4309: 'initializing' : truncation of constant value
...
r=gal
2008-11-11 11:20:07 +01:00
Andreas Gal
51726b48f9
Backed out changeset cb559a14ad77
2008-11-10 19:14:00 -08:00
Jeff Walden
c90c1d272e
Bug 463697 - Need an equivalent to jsopcode.tbl, but for LIR opcodes/instructions, take two. r=gal, r=edwsmith on the first iteration as well
2008-11-08 01:45:50 -08:00
Jeff Walden
932287a573
Bug 463697 - Need an equivalent to jsopcode.tbl, but for LIR opcodes/instructions. r=gal, r=edwsmith
2008-11-08 01:45:50 -08:00
timeless@mozdev.org
04d8f53350
Bug 464099 jit pref isn't honored by regexp code
...
r=dmandelin
2008-11-11 00:16:19 +01:00
Jim Blandy
d50747d1a8
Bug 462451: Restore js/src/Makefile.ref and supporting files. r=brendan
...
This patch simply restores the deleted files unchanged, except for the
following:
o Makefile.ref now generates the js-config.h header file, based on the
values of JS_THREADSAFE and JS_GC_ZEAL it is invoked with.
o The subdirectory containing platform-specific files for Makefile.ref
has been renamed from 'config' to 'ref-config'; the former name
conflicts with the new unified build system. config.mk has been
updated accordingly.
2008-11-10 12:55:46 -08:00
Jim Blandy
07a52be674
Bug 462451: Don't find generated SpiderMonkey headers via VPATH. r=bsmedberg
2008-11-10 12:55:46 -08:00
Jim Blandy
6721e0d7d2
Bug 462451: Don't be confused by .deps dirs in the source tree. r=bsmedberg
...
$(MDDEPDIR) needs to be created in the build tree, but if make rules
list $(MDDEPDIR) as a dependency, then the VPATH search will tend to
find dependency directories in source trees if the source tree has
been configured in the past. So use $(CURDIR)/$(MDDEPDIR) instead.
Some directory Makefiles have been adding $(MDDEPDIR) to MAKE_DIRS and
GARBAGE_DIRS explicitly, since they're not setting any of the
variables that would cause config/rules.mk to create $(MDDEPDIR)
automatically. Those makefiles would have to use the $(CURDIR) trick
to defeat the VPATH search, too. Instead, have rules.mk check an
additional variable NEED_MDDEPDIRS, and let the makefiles set that;
this keeps the magic in one place.
2008-11-10 12:55:46 -08:00
Andreas Gal
fbb6976032
Backed out changeset dbb2a6559cf5
2008-11-10 12:49:56 -08:00
David Mandelin
f17c0039c2
Bug 463545: lazy compilation of regexps to native, r=gal
2008-11-10 12:04:07 -08:00
Vladimir Vukicevic
1667535360
b=464010, remove bogus #ifdef JS_TRACER in jsregexp.cpp that got rid of regexp.test on non-JS_TRACER builds; r=sayrer
2008-11-10 11:20:07 -08:00
Vladimir Vukicevic
1ad86545f7
[arm] b=462430, implement LIR_ldcs, re-enable regexp jit for ARM
2008-11-09 17:36:30 -08:00
Vladimir Vukicevic
55861cdf74
[arm] Fix up ARM nj backend to take into account exit block merging and other changes. Also simplify some branch code along the way.
2008-11-09 14:22:28 -08:00
Vladimir Vukicevic
1ecb39bb70
[arm] Disable regexp tracer on ARM
2008-11-09 14:22:28 -08:00
Vladimir Vukicevic
26b45638d4
whitespace/tab cleanup in NativeARM.cpp
2008-11-08 22:27:24 -08:00
Robert Sayre
a1bf2f89c4
Merge mozilla-central to tracemonkey.
2008-11-08 02:21:20 -05:00
Andreas Gal
34deb27634
Merge.
2008-11-07 18:19:52 -08:00
Andreas Gal
55c5823950
Backed out changeset 594ec832d9a8
2008-11-07 18:19:35 -08:00
Andreas Gal
533b7866b1
Add back typedef for JSTraceMonitor (compilation fix for legacy C use of JS engine includes, no bug).
2008-11-07 16:58:36 -08:00
Andreas Gal
54ba19de70
Trace Function.apply and Function.call (462482, r=brendan).
2008-11-07 15:58:52 -08:00
Andreas Gal
43daeaca87
Don't spill type definitions in avmplus.h into the global namespace (462288, r=danderson).
2008-11-07 15:52:51 -08:00
Andreas Gal
41cc8a6bd1
Merge.
2008-11-07 15:24:16 -08:00
Andreas Gal
e609f0bb95
Cleanup GuardRecord, SideExit, and InterpStruct and extract VM-dependant fields (463313, r=danderson).
2008-11-07 15:23:43 -08:00
Robert Sayre
8e4a6beb13
Bug 462778. Fix JSON top crash. r=brendan
2008-11-07 18:10:39 -05:00
David Mandelin
cc483659e4
Fixing build bustage and nits from bug 464138.
2008-11-11 17:23:15 -08:00
David Mandelin
5fc0b531f5
Bug 464138 - Intermittent JS regexp error on tinderbox. r=gal a=dsicore
2008-11-11 17:05:45 -08:00
Vladimir Vukicevic
7b53df46a7
b=464010, remove bogus #ifdef JS_TRACER in jsregexp.cpp that got rid of regexp.test on non-JS_TRACER builds; r=sayrer
2008-11-10 11:11:06 -08:00
Brendan Eich
40acf84539
Bug 443071 - Assertion failure with "for (;;[]=[])" (r=mrbkap).
2008-11-07 14:01:11 -08:00
David Anderson
fa14a92fe7
Fixed multitrees assert when building failed speculated branches (bug 463490, r=gal).
2008-11-07 13:22:05 -08:00
Robert Sayre
f976ddfecf
Merge mozilla-central to tracemonkey.
2008-11-06 11:12:04 -05:00
Peter Van der Beken
c39e172979
Backed out changeset 874aba8a9a8a to fix orange
2008-11-06 15:01:22 +01:00
Peter Van der Beken
88df046c41
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-06 12:09:30 +01:00
Ben Newman
6b0b398a1c
Bug 462389 - 'XPCVariant used in nsXPCException::SetThrownJSVal can cause cycle collection on non-main threads'. r=bent, sr=jst.
2008-11-05 22:42:51 -08:00
Ben Turner
c031080e02
Bug 460811 - 'Bring workers up to latest spec'.r+sr=jst.
2008-11-05 22:41:52 -08:00
Andreas Gal
96aec85318
If the regexp cache runs full flush it and make sure to keep bytecode version around in case the native code was thrown away (463281).
2008-11-05 22:30:19 -08:00
Leon Sha<leon.sha@sun.com>
314e79c76f
Bug 468484 - Bug 463182 - Can not build tamarin-redux on solaris with Sun compiler. stejohns: review+, r=gal.
2008-11-06 13:37:37 +08:00
Andreas Gal
a19551a824
Fix GC hangs when OOM during recovery pool re-allocation (463190, r=brendan).
2008-11-05 19:09:12 -08:00
Blake Kaplan
d3f8a13075
Bug 370461 - Fix the scope returned from Components.utils.lookupFunction. r=bzbarsky sr=jst
2008-11-06 18:06:32 -08:00
Andreas Gal
56b1b4e24a
Merge.
2008-11-05 14:27:16 -08:00
Andreas Gal
2b6b89a66e
Use GuardRecord/SideExit provided by the tracer in regexp (463281, r=danderson).
2008-11-05 14:26:51 -08:00
Brendan Eich
7f1675516e
Bug 463259 - "Assertion failure: VALUE_IS_FUNCTION(cx, fval)" (r=mrbkap).
2008-11-05 14:25:39 -08:00
David Mandelin
0dd975151b
Bug 461050: remove extraneous comment, indexed loads are generated automatically
2008-11-05 11:46:49 -08:00
David Mandelin
69cebc3c8d
Bug 461050: regexp compiler, style fixes, r=brendan
2008-11-05 11:38:18 -08:00
David Mandelin
45e1fa1027
Bug 461050: oom handling, somehow omitted from original commit, r=gal
2008-11-04 20:07:37 -08:00
Andreas Gal
bf204b37e3
Merge.
2008-11-04 19:33:29 -08:00
David Anderson
a6c715fb81
Fixed memory leak in nanojit's LabelStateMap (no bug, r=gal).
2008-11-04 19:22:13 -08:00
Andreas Gal
0d6e29aa6c
Scale down regexp native code cache to 1MB and delete cache on shutdown (r=danderson).
2008-11-04 19:11:23 -08:00
Ben Turner
c16fd87aa3
Backed out changeset 4fc7c6f6f45e
2008-11-04 18:58:24 -08:00
Ben Turner
a3da8488d8
Bug 460811 - "Bring workers up to latest spec". r+sr=jst.
2008-11-04 18:01:05 -08:00
David Anderson
5ee0ea8b50
Fix using wrong regalloc helper in asm_ld peephole opt (r=rreitmai).
2008-11-04 16:52:25 -08:00
David Anderson
16b6dd740c
Peephole optimize various LIR load patterns for x86 addressing (bug 444682, r=gal).
2008-11-04 16:34:13 -08:00
Graydon Hoare
6901121f8d
Fix MSVC sensitivity to symbols called 'far'
2008-11-04 16:28:05 -08:00
David Mandelin
f96c978165
Fixing regexp compiler nanojit spew to conform with TM
2008-11-04 16:10:38 -08:00
David Mandelin
c761727be4
Adding JS_TRACER guards to regexp compiler for ppc builds & other non-tracing
2008-11-04 16:03:57 -08:00
David Mandelin
19ac0a15e0
Adding cast to make MSVC happy
2008-11-04 15:49:48 -08:00
Robert O'Callahan
cca234e798
Back out changeset b83d3c8ac166 (bug 460811) to try to fix bustage
2008-11-05 12:47:52 +13:00
Robert O'Callahan
01ff4e2538
Backing out changeset dc1aff36a411 (bug 462389) to try to fix bustage
2008-11-05 12:36:19 +13:00
David Mandelin
dca6d46eec
Fixing Linux breakage, stupid jump crosses initialization errors
2008-11-04 15:21:23 -08:00
David Mandelin
d245bf6acb
Fixing OSX build, seems related to namespace trickery
2008-11-04 15:17:51 -08:00
Andreas Gal
b8168d74d9
Merge.
2008-11-04 15:08:24 -08:00
Andreas Gal
cdec6ab0a7
Interpreter directly emits the this object found in the property cache for JSOP_CALLNAME, so do the same in the tracer (462989, r=mrbkap).
2008-11-04 15:07:38 -08:00
David Mandelin
c92c2000cc
Bug 461050 WIP: compiling simple regexps, r=danderson,agal
2008-11-04 14:51:51 -08:00
Graydon Hoare
9198f045ad
Bug 462228 - Add interface to disconnect and reconnect loops in nanojit, r=gal.
2008-11-04 14:20:19 -08:00
Graydon Hoare
5cfd909934
Bug 462228 - Merge code-patching functions in nanojit, r=rreitmai.
2008-11-04 14:18:17 -08:00
Peter Van der Beken
146cbb323b
Bug 462926 - 'Crash [@ xpc_qsSelfRef::~xpc_qsSelfRef] with getUserData.call'. r+sr=jst.
2008-11-04 13:50:50 -08:00
Ben Newman
7f61ea749a
Bug 462389 - 'XPCVariant used in nsXPCException::SetThrownJSVal can cause cycle collection on non-main threads'. r=bent, sr=jst.
...
--HG--
rename : dom/src/threads/nsAutoJSObjectHolder.h => js/src/xpconnect/public/nsAutoJSValHolder.h
2008-11-04 13:49:05 -08:00
Ben Turner
718025a3f8
Bug 460811 - 'Bring workers up to latest spec'.r+sr=jst
2008-11-04 13:49:04 -08:00
Peter Van der Beken
fbe83f43ff
Backed out changeset 47c0377779bb to fix orange
2008-11-04 20:56:16 +01:00
Peter Van der Beken
f4f6bc2300
Backed out changeset 47c0377779bb to fix orange
2008-11-04 20:55:48 +01:00
Peter Van der Beken
3bb228a9e8
Backed out changeset 81c0a2ec449f to fix orange
2008-11-04 20:54:50 +01:00
Peter Van der Beken
5a6c152342
Backed out changeset 81c0a2ec449f to fix orange
2008-11-04 20:54:08 +01:00
Benjamin Smedberg
6cd85a8589
Bug 462740 - Building spidermonkey on Windows with -j3 fails: conflicts in PDB files. Related to bug 382297 and bug 286179, where we flip-flop back and forth about this. Document the way things should actually be!
2008-11-04 14:38:40 -05:00
Peter Van der Beken
eac8c19c52
Fix for bug 462926 (Crash [@ xpc_qsSelfRef::~xpc_qsSelfRef] with getUserData.call). r/sr=jst
2008-11-04 18:18:12 +01:00
Peter Van der Beken
24a73db424
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-04 18:10:43 +01:00
Robert Sayre
03d49a666b
Merge mozilla-central to tracemonkey.
2008-11-04 02:05:05 -05:00
David Anderson
158e7f3bb0
Don't cache pointer to recorder since it might change in js_MonitorRecording (462980, r=gal).
2008-11-03 20:57:50 -08:00
Phil Ringnalda
bbe7e1d08a
Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg
2008-11-03 19:46:28 -08:00
David Anderson
db369008ec
Fixed memory leak in LInsHashSet (bug 462826, r=gal).
2008-11-03 19:43:47 -08:00
David Mandelin
d0a8376658
Bug 462412: API to delete a single fragment, r=danderson
2008-11-03 16:14:44 -08:00
David Anderson
2be8898675
Merge.
2008-11-03 16:11:36 -08:00
David Anderson
65f7adbd31
Fixed OOM handling when starting a recorder or assembler (bug 451322, r=gal+rreitmai).
2008-11-03 16:10:20 -08:00
Blake Kaplan
dab238daea
Bug 462910 - Add a JS_ValueToSource API. r=brendan
2008-11-03 14:28:36 -08:00
Brendan Eich
94ae1a5b36
Bug 462879 - "Assertion failure: UPVAR_FRAME_SKIP(uva->vector[i]) == 1" with nested eval (r=mrbkap).
2008-11-03 13:55:51 -08:00
Benjamin Smedberg
7954d6ff25
Bug 462730 - Parallel builds with -j20 don't build the submakefiles before recursing into them. Switch back to using $* in the rule because we found out the make 3.80 bug: it doesn't set $* in double-colon rules, but it does in single-colon rules. r=ted (copy rules.mk to the JS build system)
2008-11-03 14:30:05 -05:00
Peter Van der Beken
2b8cf3c2d4
Backed out changeset ba895ab8cbe7 to fix orange
2008-11-03 16:28:50 +01:00
Peter Van der Beken
28ba94cca8
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-03 14:49:53 +01:00
ause<ause@sun.com>
0fd9e68163
Bug 462516 - add -isysroot to find fat version of system libraries
2008-11-03 13:05:30 +01:00
Peter Van der Beken
e743beb9c4
Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst.
2008-11-03 11:31:47 +01:00
Jim Blandy
e9a790f333
Bug 462356 - Build fails on mac in js/src/configure.in with error: Library requirements (glib-2.0 >= 1.3.7 gobject-2.0) not met; glib part; r=ted.mielczarek
2008-11-02 18:40:57 +01:00
Jim Blandy
75ebba4f18
Bug 462356 - Build fails on mac in js/src/configure.in with error: Library requirements (glib-2.0 >= 1.3.7 gobject-2.0) not met; elf-dynstr-gc part; r=ted.mielczarek
2008-11-02 18:39:54 +01:00
Brendan Eich
9eb3ee8b6a
Bug 456692 - "Assertion failure: slot < fp2->script->nslots" with nested eval (r=mrbkap).
2008-11-02 01:15:06 -07:00
Edwin Smith
774d38113c
Bug 468484 - Fix cascading register spilling bug 462522 (r=rreitmai+), r=danderson.
2008-10-31 15:56:02 -04:00
Jason Orendorff
413e752410
Bug 453564 - TM: Assertion failure: JSVAL_IS_NULL(vp[0]) || (!JSVAL_IS_PRIMITIVE(vp[0]) && OBJ_IS_ARRAY(cx, JSVAL_TO_OBJECT(vp[0]))). r=gal.
...
--HG--
extra : rebase_source : be08d1a4ca8a3765523b992a5d4e469e67ba8811
2008-12-09 11:43:32 -06:00
timeless@mozdev.org
b93635a72f
Bug 454561 TM: Crash when JavaScript-Debugger is enabled [ @ jsd_lock ]
...
js_SynthesizeFrame needs to fill in all fields of JSInlineFrame.
r=brendan
2008-10-29 11:06:01 +01:00
Benjamin Smedberg
2ba4044e4b
Bug 462440 - Creating directories is really racy, and has an rm -rf in the middle of the race, r=ted
...
Adding the other part to js/src/config like we had to do earlier today to fix windows orange.
2008-10-30 21:39:37 -04:00
Doug Turner
dfcd6ade60
merge to tip
2008-10-30 14:43:10 -07:00
Doug Turner
e5a3cd9352
Bug 462215 - javascript autoconf busted on windows mobile. r=ted
2008-10-30 14:41:21 -07:00
Mark Banner
dca5e94716
TUnit bustage fix from follow up to bug 461395 - fix a bug in make 3.80 by avoiding in pattern rules with explicit targets and keep mozilla/config and mozilla/js/src/config in sync. r=ted over irc
2008-10-30 21:28:21 +00:00
Ted Mielczarek
26dab6f284
bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg
2008-10-30 13:02:14 -04:00
Brendan Eich
b038cc78c9
Bug 456692 - "Assertion failure: slot < fp2->script->nslots" with nested eval (r=mrbkap).
2008-11-02 01:13:45 -07:00
David Mandelin
f8d1b7798b
Preserve param1 over loop iters if it is used, desk r=danderson
2008-10-31 16:48:14 -07:00
Jason Orendorff
2c9b2dd1b4
Fix build breakage --with-static-checking. No bug#.
2008-10-31 11:54:48 -07:00
Andreas Gal
37b4dbe474
Don't manipulate stack during cpuid detection (fix for icc, r=danderson).
2008-10-30 17:56:27 -07:00
Andreas Gal
3a1c5becb7
Merge.
2008-10-30 17:47:55 -07:00
Andreas Gal
2a666c87e8
Emit JSOP_APPLY for .call(...) (462445, r=brendan).
2008-10-30 16:01:53 -07:00
David Anderson
00bfbb7d80
Make sure double slots are marked as undemotable when stabilizing a tree with failed speculation (bug 462407, r=gal).
2008-10-30 15:54:22 -07:00
Andreas Gal
2e3beeb970
Resolve atom/str naming conflicts in the source for narcissus, make narcissus extensions compile again (462436, r=brendan).
2008-10-30 15:38:10 -07:00
Andreas Gal
f5d2244679
Merge.
2008-10-30 14:18:06 -07:00
Andreas Gal
4eafb60801
Add 16-bit non-volatile loads to nanojit (454301, r=danderson).
2008-10-30 14:17:42 -07:00
David Anderson
48b976a104
Don't coerce void to string when compiling inner tree calls (bug 462388, r=gal).
2008-10-30 13:48:22 -07:00
Andreas Gal
047344b36b
Merge.
2008-10-30 12:32:08 -07:00
Andreas Gal
0cc2b0cfdf
Fixed assert (fallout from 462265).
2008-10-30 12:31:39 -07:00
David Anderson
9763f21aae
Added multitrees test to trace-tests.js for bug 456479.
2008-10-30 11:52:48 -07:00
David Anderson
2f8b8195c3
Added multitrees test to trace-tests.js for bug 454315.
2008-10-30 11:42:12 -07:00
David Anderson
1f8d249207
Fixed not tracking linked peers as dependencies (bug 462282, r=gal).
2008-10-30 11:29:25 -07:00
Andreas Gal
948aa93d60
Perform Function.apply in the interpreter loop bypassing js_Invoke (462265, r=brendan).
2008-10-29 23:59:19 -07:00
Andreas Gal
b037831bd9
Merge.
2008-10-29 22:50:43 -07:00
Andreas Gal
fe13c87572
Fix missing JSOP_APPLY case in an assert and a condition (462292, r=brendan).
2008-10-29 22:46:56 -07:00
Boris Zbarsky
d1afdda41f
Bug 462184. Make INCLUDE_VERBOSE_OUTPUT actually work, and rename it to JS_JIT_SPEW. r=brendan
2008-10-29 21:56:35 -07:00
David Anderson
685543cd89
Mark any double slot in an unstable exit as undemotable (bug 462071, r=gal).
2008-10-29 17:57:14 -07:00
Brendan Eich
1f02db1e77
ug 460870 - Round-trip change with RHS of || (r=jorendorff).
2008-10-29 17:37:12 -07:00
David Anderson
7247e3ffe4
Fixed trees stabilizing from the wrong peer fragment (bug 462240, r=gal).
2008-10-29 16:12:16 -07:00
David Anderson
7a4b84aa29
Bump XDR version, followup from changeset bd981b7737da (r=gal).
2008-10-29 15:36:30 -07:00
Andreas Gal
4548b3e585
Remove JSOP_UNUSED78 as 78 is now JSOP_APPLY (follow-up for 462209).
2008-10-29 13:43:53 -07:00
Andreas Gal
a0b3296770
Merge.
2008-10-29 13:31:07 -07:00
Andreas Gal
868e7934a2
Emit JSOP_APPLY for .apply(...) similar to JSOP_EVAL for .eval(...) (462209, r=brendan).
2008-10-29 13:30:41 -07:00
Graydon Hoare
f5f48d7fac
Bug 461801 - Followup correctness fix. r=brendan.
2008-10-29 13:20:34 -07:00
Jason Orendorff
8a27d784a7
Bug 461233 - Incorrect decompilation of ({0: (4, <></>) }). r=brendan.
2008-10-29 11:36:08 -07:00
Graydon Hoare
a9b37c59c0
Bug 461801 - Bind containing function to eval script, so upvars work in decompiler. r=brendan
2008-10-29 11:25:36 -07:00
Brendan Eich
2dfbe828cf
Prune deadwood missed in commit for bug 462103.
2008-10-29 00:19:06 -07:00
Brendan Eich
6ddc16bbe2
Bug 462103 - TM: We don't trace some variants of string + other type (gal+brendan red-headed stepchild).
2008-10-29 00:14:30 -07:00
Andreas Gal
7b8859883f
Merge.
2008-10-28 22:41:05 -07:00
Andreas Gal
4eca106b8a
Handle dslots == NULL case when reading past the actual length of an array (461974, r=danderson).
2008-10-28 22:40:10 -07:00
Jim Blandy
0704b2cc96
(fix tree burn; no bug): The js/src subtree needs its own copy of pgomerge.py.
...
--HG--
rename : build/win32/pgomerge.py => js/src/build/win32/pgomerge.py
2008-10-29 15:26:11 -07:00
Jim Blandy
11426062d7
Fix Win32 burn: js/src/config/autoconf.mk shouldn't override MOZ_MEMORY-related LIB and PATH exported from top-level config/autoconf.mk
2008-10-29 11:30:36 -07:00
Jim Blandy
e8bc490fa7
Bug 97954: Compare SpiderMonkey's copies of build files with originals at check time. r=luser
...
SpiderMonkey now has its own copy of some of the files from ./config
and ./build. Since there is a decent amount of churn in that area, I
don't want it to become a burden to make merges back and forth. This
patch adds a comment explaining the 'identical if present' policy, and
runs a script to verify that it's actually being observed.
2008-10-29 08:40:39 -07:00
Jim Blandy
216f4ef465
Bug 97954: Record configuration details in an installable header. r=bsmedberg
...
Have js/src/configure create a header file, js-config.h, that records
configure-controlled options that affect the SpiderMonkey API, like
'--enable-threadsafe'. js-config.h is namespace-clean, so it can be
installed with jsapi.h.
This means that clients can configure SpiderMonkey however they like,
and then simply #include "jsapi.h" and have everything work; they
don't have to remember to match their own compiler -D flags with those
SpiderMonkey's configure script chose. For example, mozilla-config.h
needn't concern itself with JS_THREADSAFE.
It seems to me this could also be done by having js-config --cflags
print -D options. The approach taken here seems a bit more robust: if
you can find jsapi.h at all, then you know you're getting the right
settings.
2008-10-29 08:29:37 -07:00
Jim Blandy
f83d8c9ea3
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla.
...
Give SpiderMonkey its own configure script and top-level Makefile.
Adjust js/src/Makefile as appropriate for life as a stand-alone
makefile, instead of a 'make export; make libs'-style Mozilla tier
makefile. Have the configure script accept '--with-nspr-cflags' and
'--with-nspr-libs' options for using an in-tree NSPR. Also accept
'--with-system-nspr', '--with-nspr-prefix', and
'--with-nspr-exec-prefix' flags for using an installed NSPR. Default
to --disable-jemalloc, assuming we don't have that part of the tree
available; have the top-level configure script pass --enable-jemalloc
as needed.
Since we no longer have an export phase to copy header files into
dist/include/js before we build the library, we need to be able to
find nanojit.h in the nanojit directory; fix references in
jsbuiltins.h and jstracer.cpp.
Give SpiderMonkey it its own copies of many of the files from ./config
and ./build. These are all exact copies, except as follows:
. js/src/config/Makefile.in: js/src only has a subset of
js/src/config, and thus a subset of the makefile targets.
. js/src/config/autoconf.mk.in: js/src/configure.in has its own make
variables to set, not set by the top-level configure script, so it
needs a custom automake.mk template.
. js/src/config/make-system-wrappers.pl: a copy from nsprpub/config,
so that we can build without having an NSPR source tree handy.
Invoke js/src/configure from ./configure, passing the values computed
for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script.
Treat js/src as a static directory of the js tier, and create a new
config/js (just a Makefile) to be the js tier's non-static directory.
Let js/src/configure generate SpiderMonkey's makefiles, not
./configure.
Generate a 'js-config' script, which clients can call to find the
CFLAGS and LIBS values necessary to compile and link against an
installed SpiderMonkey library. Don't include the js-config script in
Macintosh packages.
Teach client.mk how to rebuild js/src/configure.
Tell Mercurial to ignore files generated by autoconf in js/src.
Further work:
. Right now, callers must define JS_THREADSAFE when #including jsapi.h.
This is fixed in a subsequent patch.
. js/src/configure is a trimmed copy of ./configure. It could be
trimmed more.
--HG--
rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl
rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4
rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess
rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub
rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4
rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh
rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile
rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh
rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4
rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4
rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh
rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper
rename : build/hcc => js/src/build/hcc
rename : build/hcpp => js/src/build/hcpp
rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl
rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl
rename : config/Makefile.in => js/src/config/Makefile.in
rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm
rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in
rename : config/config.mk => js/src/config/config.mk
rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c
rename : config/fastcwd.pl => js/src/config/fastcwd.pl
rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h
rename : config/insure.mk => js/src/config/insure.mk
rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl
rename : config/milestone.pl => js/src/config/milestone.pl
rename : config/milestone.txt => js/src/config/milestone.txt
rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in
rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c
rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h
rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c
rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h
rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h
rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c
rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c
rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man
rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c
rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c
rename : config/nfspwd.pl => js/src/config/nfspwd.pl
rename : config/nsinstall.c => js/src/config/nsinstall.c
rename : config/nsinstall.py => js/src/config/nsinstall.py
rename : config/pathsub.c => js/src/config/pathsub.c
rename : config/pathsub.h => js/src/config/pathsub.h
rename : config/preprocessor.pl => js/src/config/preprocessor.pl
rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl
rename : config/revdepth.pl => js/src/config/revdepth.pl
rename : config/rules.mk => js/src/config/rules.mk
rename : config/system-headers => js/src/config/system-headers
rename : config/version.mk => js/src/config/version.mk
rename : config/version_win.pl => js/src/config/version_win.pl
rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
Jim Blandy
c18332dabc
Bug 97954: Delete SpiderMonkey's custom build system for separate builds. r=bsmedberg
...
SpiderMonkey has, at present, two separate build systems: one used for
in-tree builds, and one used for SpiderMonkey-only builds.
The former is constituted entirely by js/src/Makefile.in. This is a
typical Mozilla makefile, leaning on the top-level config/*.mk files
for most of the details.
The latter is comprised by a shadow build system, all in js/src:
Makefile.ref, config.mk, rules.mk, jsconfig.mk, and config/*.mk.
These are superseded by the separate build system implemented in a
later patch; we delete them all here.
This patch consists entirely of deletions; there are no textual changes.
2008-10-29 08:29:04 -07:00
Andreas Gal
7da6b31283
Handle dslots == NULL case when reading past the actual length of an array (461974, r=danderson).
2008-10-28 22:40:10 -07:00
Brendan Eich
8c2eead6a8
Keep testGlobalProtoAccess last.
2008-10-28 17:34:09 -07:00
David Anderson
55c302718d
Fixed false-positive integer demotions on non-number types (bug 461945, r=gal)
2008-10-28 16:33:01 -07:00
Andreas Gal
25404443ff
GC no longer flushes the JIT cache. Instead just make sure the shape of the global object will mismatch next time we try to record or execute code, which in turn will force a flush of the code cache (458288, r=brendan/danderson).
2008-10-28 16:22:08 -07:00
Brendan Eich
bad1b50498
Re-land patch for bug 458851 now that latent bug it uncovered (not filed; see hg log) is fixed.
2008-10-28 14:04:29 -07:00
David Anderson
06ec3d4965
Merge.
2008-10-28 14:00:27 -07:00
Brendan Eich
e95f449f88
Fix tracing apply with wrong arguments (no bug, r=gal+dvander).
2008-10-28 13:58:20 -07:00
Jason Orendorff
3cb0a50bfa
Fix red on mozilla-central because js.cpp doesn't build on Windows. No bug#.
2008-10-28 13:07:45 -07:00
Jim Blandy
f987b15c51
Bug 433083: Build SpiderMonkey stand-alone shell by default. r=ted.
2008-10-28 12:33:55 -07:00
Edwin Smith
903336fe43
Bug 468484 - Fixed bug causing too much spilling, other arm tweaks, r=danderson.
2008-10-28 15:16:05 -04:00
Jason Orendorff
5258c4d288
Bug 461723 - TM: "Assertion failure: (m != JSVAL_INT) || isInt32(*vp)" with "(0 + void 0) && 0". r=gal.
2008-10-28 11:52:38 -07:00
Jason Orendorff
07dacf6822
Merge backout of d4fe79372140.
2008-10-28 10:49:38 -07:00
Jason Orendorff
37724bb378
Backed out changeset d4fe79372140 (bug 458851) due to persistent orange on TraceMonkey tinderboxes.
2008-10-28 10:49:06 -07:00
Brendan Eich
d0d72f5cbc
Keep this test last, and clean up prototype pollution, plus test for bug 458851.
2008-10-28 00:11:26 -07:00
Brendan Eich
51f987553a
Bug 458851 - TM: for-in loops skip every other value in certain cases (r=gal/mrbkap).
2008-10-27 22:30:52 -07:00
David Anderson
bf1a78f4fe
Implemented multiple type specialized trees per entry point (bug 450833, r=gal)
2008-10-27 20:42:49 -07:00
Blake Kaplan
cd649335ba
Merge mozilla-central -> tracemonkey
2008-10-27 17:19:21 -07:00
Jason Orendorff
154b1955c7
Bug 456384 - TM: v8-richards.js benchmark opens a print dialog in browser with JIT enabled. r=brendan
2008-10-27 16:15:32 -07:00
Jason Orendorff
a6d3afc9a5
Fix build breakage from 70955fd0d1ee on platforms without JS_TRACER. No bug#.
2008-10-25 09:36:58 -05:00
Jason Orendorff
9e09c98842
Bug 461549 - Traceable print and shapeOf functions for js shell. r=mrbkap.
2008-10-25 09:01:51 -05:00
David Anderson
b2a6f01baa
Fixed trace-tests for isPromoteInt patch which reduced tree recompilation counts.
2008-10-25 03:35:07 -05:00
Andreas Gal
ba12fe7023
Merge.
2008-10-25 01:04:47 -07:00
Andreas Gal
df30935a17
guardDenseArray and guardDenseArrayIndex must guard on the actual outcome, since we don't always abort trace if its not a dense array (461611, r=me).
2008-10-25 01:03:38 -07:00
David Anderson
e33e23e267
Fixed false positive demotions due to missing isPromoteInt (bug 461612, r=gal).
2008-10-25 01:50:38 -05:00
Andreas Gal
06b393e8a2
Trace reading from dense arrays out of bounds and trace undefined -> number conversion in binary ops (461611, r=brendan).
2008-10-24 21:51:04 -07:00
Blake Kaplan
a812183893
Bug 455971 - Clear Function and Object (and any other properties) off of the outer object so that Function always refers to the inner window's function. This ensures that the implict Function and explicit window.Function forms refer to the same object. r+sr=brendan
...
--HG--
extra : transplant_source : %83%9C%81E%A3%95%A5%1D%5DzO%13%85%9B%9A0v%21i%E0
2008-10-24 16:53:37 -07:00
David Anderson
6ebb53e98e
Fixed branch demotions using the branch PC rather than the root PC, causing infinite records (bug 455547, r=gal).
2008-10-24 14:01:17 -07:00
Brendan Eich
fcca844194
Bug 461248 - Remove JSOP_RESUME (r=gal/jorendorff).
2008-10-24 12:34:08 -07:00
David Anderson
f8fb76a697
Disabled x64 JIT in shell until the port is cleaned up from nj2.
2008-10-24 11:02:37 -07:00
Jason Orendorff
764431fd80
Bug 461111 - Extra parens in decompilation of "if(a, b)". r=brendan.
2008-10-24 12:52:52 -05:00
Jason Orendorff
90796fca26
Bug 461492 - TM: INT32 can't be used as return type for traceable native that actually returns an int. r=gal.
2008-10-24 12:49:54 -05:00
David Anderson
590d3d2443
Fixed crash from JIT cache flushes when js_Interpret was holding TraceRecorders (bug 458288, r=brendan).
2008-10-24 10:47:59 -07:00
Aristid Breitkreuz
661d3c51b2
Bug 461163 - No public API for OBJ_GET_PROPERTY or the JavaScript [] operator (and similar functions). r=brendan.
2008-10-24 12:09:09 -05:00
Gavin Sharp
055bd5e6e2
Back out patch for bug 450633
2008-10-25 17:10:34 -04:00
Blake Kaplan
0aefd37c4a
Bug 455971 - Clear Function and Object (and any other properties) off of the outer object so that Function always refers to the inner window's function. This ensures that the implict Function and explicit window.Function forms refer to the same object. r+sr=brendan
2008-10-24 16:53:37 -07:00
Andreas Gal
9701440e6d
Merge.
2008-10-23 14:49:25 -07:00
Andreas Gal
c867e60dfc
Merge.
2008-10-23 14:47:00 -07:00
Jason Orendorff
01acd787a0
Eliminate warning about ignored visibility attribute on js_CloseIterator when compiling jsbuiltins.cpp. No bug#. r=brendan.
2008-10-23 16:38:58 -05:00
Jason Orendorff
7336afcbbd
Fix blatant bugs in jsbuiltins.h. No bug#. r=dvander.
2008-10-23 15:39:35 -05:00
Brendan Eich
1772bc4d6f
Bug 461307 - Crash [@ QuoteString] with for(/x/[''] in []) (r=mrbkap).
2008-10-23 11:37:07 -07:00
Andreas Gal
23f283c78e
Merge.
2008-10-22 22:30:37 -07:00
Andreas Gal
19ed8b2e9c
Only track and look up LOOP_EXIT side exits in the tree info (r=danderson).
2008-10-22 22:29:51 -07:00
Rob Arnold
6e2f659fac
Fix memory leak in LInsHashSet::grow - bug 461069 r=danderson
2008-10-22 23:07:37 -04:00
Andreas Gal
57cf783a3b
Make sure we set remaining fslots to void in FastNewDate (459628, r=brendan).
2008-10-22 19:19:07 -07:00
Andreas Gal
e68f86bd08
Merge.
2008-10-22 19:09:03 -07:00
Andreas Gal
5b7d8ddbe0
Backed out changeset 82f5fed6d91a (Linux GCC doesn't seem to like clobbering ebx in inline assembly).
2008-10-22 19:08:28 -07:00
Andreas Gal
ba66d9d48c
Added test-case for 459630 (WFM) to make sure we don't regress it down the road.
2008-10-22 19:06:18 -07:00
Andreas Gal
04b27d4cf3
Avoid pusha/popa inside assembly (icc crashes) when checking for SSE2 using cpuid (461280, r=danderson).
2008-10-22 18:55:54 -07:00
Andreas Gal
ffe407c883
Backed out changeset 91277d409f44 (accidentally also touched Makefile.ref and config/Darwin.mk)
2008-10-22 18:46:41 -07:00
Andreas Gal
3b66906c5d
Enable JIT by default for content (r=danderson).
2008-10-22 18:21:51 -07:00
Andreas Gal
5cc94e1d59
Re-use loop exit side exit if we already have one for that PC location and the same type map (461076, r=danderson).
2008-10-22 16:27:25 -07:00
Andreas Gal
e2a6acb46a
Use LIR_loop for loop edge to avoid going into a side exit handler at every loop edge (461231, r=danderson).
2008-10-22 16:00:08 -07:00
Brendan Eich
e0a0cfe21f
Bug 461235 - "Assertion failure: pos == GET_UINT16(pc)" decompiling function with array comprehension (r=mrbkap).
2008-10-22 15:47:52 -07:00
Jim Blandy
48c4b8be4b
Bug 461192: Rename fd_copysign to js_copysign. r=jorendorff
...
Since we're no longer using fdlibm, it doesn't make sense to use
fd_copysign as the name of SpiderMonkey's appropriately chosen version
of copysign. js_copysign seems more appropriate.
2008-10-22 14:52:14 -07:00
Jim Blandy
aff447bc08
Bug 461192: Drop fd_ prefix from math functions. r=jorendorff
...
The Mozilla tree used to optionally use its own math library, fdlibm.
For each standard math function FOO, fdlibm defined its own version
named fd_FOO. The SpiderMonkey sources called the fd_FOO functions
directly. In configurations where fdlibm was not used, jslibmath.h
#defined fd_FOO to expand to FOO, resulting in references to the
standard math library's functions.
Now that fdlibm is not used, even optionally, those fd_ prefixes are
unnecessary. However, some code is still needed to choose the right
copysign function, so jslibmath.h still has a reason to exist.
2008-10-22 14:52:14 -07:00
Jim Blandy
cf8c925b8f
Bug 461192: Remove references to JS_USE_FDLIBM_MATH from js/src/jsmath.cpp. r=jorendorff
...
The Mozilla tree no longer uses fdlibm, so these adaptor macros are no
longer necessary.
2008-10-22 14:52:14 -07:00
Graydon Hoare
95bed8b2ed
Bug 461205 - make callee-save LIR_param use optional. r=gal,edwsmith
2008-10-22 14:32:37 -07:00
Blake Kaplan
2d412e5217
Bug 453310 - Reparameterize GetNewOrUsed and move some work around. r+sr=brendan
2008-10-22 13:19:08 -07:00
Blake Kaplan
5adf556d30
Bug 396851 - Check to see if we're UniversalXPConnect-enabled to allow privileged web pages to unwrap XOWs. r+sr=bzbarsky
2008-10-22 13:15:22 -07:00
Brendan Eich
5c85747b5c
Bug 441479 - for-in loops should use one backward branch (with downward goto on entry; r=mrbkap).
2008-10-22 12:47:51 -07:00
Jason Orendorff
88e0a669e0
Bug 461110 - Extra parens in decompilation of "a += b = 3". r=brendan.
2008-10-22 14:26:49 -05:00
Edwin Smith
795ab907f0
Bug 468484 - fix boundary bug injected by CallInfo change, r=gal.
2008-10-22 15:18:41 -04:00
Jason Orendorff
da34f1f2e5
Bug 461108 - Decompiler emits extra parens around assignment in "for(;;)" condition. r=brendan.
2008-10-22 14:06:16 -05:00
Vladimir Vukicevic
0a60bbe04b
[arm] fix build after SideExit sharing patch
2008-10-22 11:11:51 -07:00
Vladimir Vukicevic
efb82ea705
[arm] correctly have chk version of LD underrunProtect
2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
d2f0736eb6
[arm] misc codegen fix
2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
57b6c8d721
[arm] Use real B/BX instead of BL for side exit jumps; no need to update lr
2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
9ae67df93c
[arm] Get rid of CALL, just use BL directly
2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
844190ed5d
[arm] Get correct value in return reg after fragment exit
2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
eb73398c11
[arm] Enable VFP
2008-10-22 11:02:24 -07:00
Peter Van der Beken
0261cd68b1
Fix for bug 459828 (Remove nsIDOMCustomEvent.idl). r=smaug, sr=sicking.
2008-10-22 15:35:34 +02:00
Peter Van der Beken
601505a0e8
Fix for bug 459830 (Remove unused quickstubs). r=jorendorff.
2008-10-22 15:08:56 +02:00
Peter Van der Beken
ddd2023646
Fix for bug 460940 (Dependency problem when removing an interface from dom_quickstubs.qsconf). r=ted.
2008-10-22 15:07:20 +02:00
Steven Johnson
4dfea32fd4
Bug 468484 - redid nMarkExecute() to fix the bug. Now it always does exactly one page, r=gal.
2008-10-21 18:34:10 -07:00
Graydon Hoare
a6428d33c2
Bug 468484 - Re-insert asm-counting code lost in previous redux-tracemonkey merge, r=gal.
2008-12-09 11:53:26 -08:00
Jason Orendorff
3ee94374a6
Fix bug in previous patch.
2008-12-09 12:15:30 -06:00
Jason Orendorff
b7fb9bc849
Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin.
...
--HG--
extra : rebase_source : 19963188b2f9f96336ce6ca28dbaefccf3a639b7
2008-12-09 10:38:32 -06:00
Jeff Walden
e48c310d01
Dangit, why do the tests run correctly locally in small batches? Backing out bug 465255...
2008-12-08 22:19:54 -08:00
Jeff Walden
f143157358
Bug 465255 - Rewrite TraceRecorder::cmp, take two. r=gal
2008-12-08 21:11:56 -08:00
Andreas Gal
74418814c5
Merge.
2008-10-21 17:52:37 -07:00
Andreas Gal
b14d526b66
Merge.
2008-10-21 17:50:52 -07:00
Andreas Gal
ec7efc925c
Remove code to unlink trees to reduce the size of GuardRecord. Allow GuardRecords to share one common SideExit structure. The VM places both explicitly into the LIR (460538, r=danderson).
2008-10-21 17:50:32 -07:00
Jason Orendorff
68a5dcca96
Bug 460157 - Yet more macros for defining builtins. r=brendan
2008-10-21 17:58:06 -05:00
Blake Kaplan
e36fb599bc
Bug 460886 - Substring needs to validate its arguments. r=brendan
...
--HG--
extra : rebase_source : 24d0131da47e8fb30cb420330bdb92189436aea7
2008-10-21 15:21:23 -07:00
Edwin Smith
4ab0561335
Bug 468484 - make asm_output[123] varadic, and add some LIR instruction comments, r=gal.
2008-10-21 14:53:14 -04:00
Jason Orendorff
e1877796ba
Bug 460501 - Round-trip change due to "&&" constant-folding leaving extra parens. r=brendan.
2008-10-21 13:35:22 -05:00
Jason Orendorff
121e528b9f
Bug 460117 - TM: Inconsistent results from hasOwnProperty with JIT enabled. r=brendan.
2008-10-21 13:19:22 -05:00
Peter Van der Beken
993024875b
Backed out changeset 4bc3dc1f6e11
2008-10-21 11:43:01 +02:00
Peter Van der Beken
3ba81f6270
Fix for bug 459828 (Remove nsIDOMCustomEvent.idl). r=smaug, sr=sicking.
2008-10-21 11:10:47 +02:00
Vladimir Vukicevic
89d7a76a6b
[arm] Use correct register for return value; also don't bother saving full set of callee-saved registers using PUSH, they'll be saved individually
2008-10-20 17:20:05 -07:00
Steven Johnson
fbc6fd0ad9
Bug 468484 - internal tamarin-redux merge (mostly formatting), r=gal.
2008-10-20 15:52:11 -07:00
Steven Johnson
13f8b6629c
Bug 468484 - Macro-ize calls to new/delete to account for MMgc interactions, r=gal.
2008-10-20 15:51:13 -07:00
Graydon Hoare
0fc5a42ca4
Bug 468484 - Change Fragmento's fragment map from a pointer to a member, r=gal.
2008-12-08 15:23:41 -08:00
Andreas Gal
e346e5cf60
Eliminate mergeCount from fragments since its unused (468391, r=danderson).
2008-12-07 19:13:50 -08:00
Robert Sayre
685eced553
Merge m-c to tracemonkey.
2008-12-06 00:54:08 -08:00
Jeff Walden
77eeb36575
Back out bug 465255, seems I was wrong about the compile error and warning being the only bugs.
2008-12-05 19:51:35 -08:00
Andreas Gal
173caec5ba
Merge.
2008-12-05 18:16:04 -08:00
Andreas Gal
d7a200c5a8
Inherit context options from parent context when using evalcx in the shell (r=brendan, no bug).
2008-12-05 18:15:04 -08:00
Jeff Walden
f9e63195f3
Followup fix for a typing bug (why wasn't I seeing errors with g++?) and a goto-past-initialization (which I also think should have been caught by g++). r=bustage
2008-12-05 18:14:50 -08:00
Jeff Walden
6cb6d5d43b
Bug 465255 - Rewrite TraceRecorder::cmp. r=gal
2008-12-05 16:17:59 -08:00
Andreas Gal
362036b89e
Don't try to setup arguments when tracing Function.call() if we don't have at least 2 arguments (468174, r=brendan).
2008-12-05 16:05:21 -08:00
Andreas Gal
3653f3cb56
Merge.
2008-12-04 18:14:17 -08:00
Andreas Gal
e367780a2f
Trace apply and call (462482, r=brendan).
2008-12-04 18:07:18 -08:00
David Anderson
9ba9c170dc
Fixed assembler errors not blacklisting the loop header, resulting in senseless re-recordings (bug 467854, r=gal).
2008-12-04 16:24:55 -08:00
David Anderson
beea650730
Fixed crashing when deep aborting before a loop header (bug 467857, r=gal).
2008-12-04 16:21:30 -08:00
Jeff Walden
a665b9f9e2
Bug 467985 - |./js -b| crashes. r=mrbkap
2008-12-04 15:26:06 -08:00
David Anderson
ed25d09ae1
Fixed a register allocation bug in nanojit when an argument using FST0 appeared twice in an argument list (bug 465484, r=edwsmith).
2008-12-04 12:34:38 -08:00
David Anderson
14bfd2d9ab
Fixed nanojit crashing when the reservation table filled (bug 460511, r=rickr).
2008-12-04 11:41:43 -08:00
Jeff Walden
fc1eca74c9
Bug 459405 - Math property flags regressed by bug 376957. r=brendan, a=sayrer
2008-12-02 22:39:10 -08:00
David Mandelin
37e098bf53
Bug 464828 fixed: make sure js_ThreadDestructorCB is called on main thread
2008-12-02 13:12:43 -08:00
Andreas Gal
a5c2753bb6
Merge.
2008-12-01 16:45:16 -08:00
Andreas Gal
a78d7744c8
Guard on the JSFunction and parent pointers instead of the identity of the function object in case of shapeless calls (451974, r=brendan).
2008-12-01 16:44:22 -08:00
Jim Blandy
53829abcf7
Bug 461180: Fix result comparison function for trace tests. r=mrbkap
...
This allows the math tests (next patch) to be pickier about NaN and
negative zero. With the earlier patch, it introduces no regressions.
2008-12-01 15:14:06 -08:00
Jim Blandy
81c2c7def7
Bug 461180: Use 'uneval' when printing expected and actual test results. r=mrbkap
2008-12-01 15:14:06 -08:00
Jim Blandy
b02e993bd9
Bug 461180: Don't depend on type coercion when checking trace test results. r=mrbkap
...
A number of the tests in js/src/trace-test.js specify expected results
of a different type from the actual results. For example, the lsh
test function returns an array of results, while its expected value is
that the string that array becomes when coerced to a string. This
trick allows tests to return structured values as results, even though
JavaScript lacks a deep equality operator. However, this behavior can
be troublesome when writing a test whose goals include checking the
type of the result.
Some tests simply specify expected values as strings for no apparent
reason.
This patch reworks these so that the expected and actual values have
the same type.
2008-12-01 15:14:06 -08:00
Jim Blandy
6298d58d4a
Bug 461180: Abstract out core code of math_atan2. r=brendan
...
The C++ implementation of the JavaScript Math.atan2 function includes
not entirely trivial code to compute the result that operates solely
on jsdouble values, and doesn't worry about tagged doubles at all.
This code can be shared between the interpreted and traceable native
implementations of the function.
2008-12-01 15:14:06 -08:00
David Anderson
bce9294e0f
Fixed resolve hooks causing recorder to crash (bug 467007, r=gal).
2008-12-01 15:08:40 -08:00
Andreas Gal
bfd4fe191d
Abort compilation of a regular expression if we run out of memory during recording (466588, r=danderson).
2008-11-28 17:31:17 -08:00
Andreas Gal
f607be887d
Don't output JIT statistics if we don't ever record a trace (466942, r=danderson).
2008-11-27 00:50:24 -08:00
David Anderson
4d1da21f33
Fixed TIMEOUT_EXIT guard being in the wrong location (from bug 453157, r=gal).
2008-11-26 08:29:24 -08:00
Graydon Hoare
fb8e45ee46
Bug 454569 - post-landing style and cast fixes, sr=brendan.
2008-11-25 13:20:52 -08:00
Graydon Hoare
5a94caadef
Bug 454569 - Improve accuracy of tracemonkey's oracle, r=gal.
2008-11-24 14:53:27 -08:00
David Anderson
c2f9deb2b1
Fixed regression checked in for bug 466128 (bug 466262, r=gal).
2008-11-21 22:55:03 -06:00
David Mandelin
0952a00f72
Bug 463535: compile regexps to native lazily, r=gal
2008-11-21 17:54:53 -08:00
David Anderson
cea571a94b
Fixed JSOP_NEG not checking overflow at recording time (bug 465688, r=gal).
2008-11-21 17:17:34 -08:00
David Anderson
56fbffe8c4
Allow recorders to trash multiple trees on the way out (bug 466128, r=gal).
2008-11-21 15:31:59 -08:00
Jeff Walden
5536e7f722
Bug 465476 - SpiderMonkey confusion over "-0" and "0" properties of an object. r=brendan
2008-11-21 11:47:35 -08:00
Jim Blandy
0f68ad7ed4
(no bug) Move definition of RESideExit *exit to top of function, to avoid error from GCC about jumping across its initialization.
2008-11-21 10:46:28 -08:00
David Mandelin
cb596bbb0a
Fixed bug 464866: use regexp source+flags as key to compiled code, r=gal
2008-11-20 16:37:36 -08:00
David Mandelin
98e5c71620
Fixed bug 465862: incorrect handling of 'i' flag in compiled regexps, r=gal
2008-11-20 16:34:06 -08:00
David Anderson
37d2933b13
Fixed double-free of treeInfo in a type instability edge case (bug 465686, r=gal).
2008-11-20 17:20:16 -06:00
David Anderson
6c91afa7b7
Fix CALLPROP not guarding that the callee is not NULL (bug 465580, r=gal).
2008-11-19 16:08:41 -08:00
David Anderson
63c268384c
Fixed unsafe coercion of JSVAL_VOID to string on trace entry (bug 465483, r=brendan).
2008-11-18 19:48:02 -06:00
Jason Orendorff
5fdc83f169
Bug 462459 - TM: Better tracer support for |new Array(...)|. r=gal.
2008-11-05 07:29:38 -06:00
Jim Blandy
2da951bef1
(no bug) Use JS_FASTCALL for math_atan2_kernel.
2008-12-01 18:18:22 -08:00
Vladimir Vukicevic
af0b642859
More ARM fixes; initialize free reg list correctly initially. Also use LastReg+1 instead of NJ_MAX_REGISTERS in RegAlloc -- LastReg+1 is what's used in the .h file, to avoid any mismatches.
2008-10-20 15:31:28 -07:00
Jason Orendorff
d922cb412a
Bug 460495 - TM: builtins js_Any_getelem, js_Any_setelem should take int32. r=gal.
2008-10-20 14:20:22 -05:00
Vladimir Vukicevic
3164784c33
Make ARM nanojit compile again (doesn't run)
2008-10-20 11:18:30 -07:00
Edwin Smith
d238c8bb21
remove dead refs to non-existant class RegionTracker
2008-10-20 10:15:07 -07:00
Rick Reitmaier
2cc651e33b
refactor Assembler.cpp ; passing acceptance on mac
2008-10-20 10:15:07 -07:00
Edwin Smith
9ce451ef43
fix linux compile errors
2008-10-20 10:15:07 -07:00
Edwin Smith
1896977ce5
fixes to enable ARM nanojit to build, at least
2008-10-20 10:15:07 -07:00
Blake Kaplan
3dc5f277d1
Bug 460452 - NaN is a boolish false. Also constant fold booleans next to operator NOT. r=brendan
2008-10-17 18:59:05 -07:00
David Mandelin
b81d96a696
Taking change from tamarin-redux needed to allow LIR forward branches
2008-10-17 18:01:19 -07:00
Robert Sayre
dfdc67476d
Bug 460333. Implement toJSON for primitive wrapper classes. r=crowder
2008-10-17 14:57:34 -04:00
Graydon Hoare
da90de1d13
Bug 458431 : residual typo-fix on previous Math.max fix that went in with 457786
2008-10-16 13:29:02 -07:00
Jason Orendorff
e0b7bce037
Bug 459266 - TM: Allow CALLINFO macros to specify linkage. r=brendan.
2008-10-16 14:24:10 -05:00
Andreas Gal
b99d012978
Merge.
2008-10-16 11:36:13 -07:00
Andreas Gal
6ee6a4f801
Merge.
2008-10-15 23:23:21 -07:00
Robert Sayre
c79f329ed4
Bug 459293. Sites not loading - redeclaration const JSON error on console. r=brendan
2008-10-16 01:20:57 -04:00
Blake Kaplan
6b45aae2e5
Bug 460180 - Always reload pn1 since it is null if we found the end of the list. r=brendan
2008-10-15 21:35:18 -07:00
Brendan Eich
674f60c760
Final patch (I pray) for 460116 (r=jorendorff).
2008-10-15 17:39:29 -07:00
Brendan Eich
bb4b3198b6
Back out material change for bug 460116.
2008-10-15 16:10:30 -07:00
Andreas Gal
4a1d9b9ddf
Merge.
2008-10-15 15:55:04 -07:00
Brendan Eich
85afb14a56
Bug 460116 - buggy inCond propagation in js_FoldConstants (r=jorendorff).
2008-10-15 14:02:33 -07:00
Jason Orendorff
f8a75808ed
Bug 459446 - Trace JSOP_POPV. r=brendan.
2008-10-15 15:22:05 -05:00
Brendan Eich
e9e2bb73a3
Followup to patch for bug 459990 to use JS_HAS_GENERATOR_EXPRS #if'ing.
2008-10-15 12:58:05 -07:00
Brendan Eich
0c1f23de9c
Bug 459990 - Crash [@ js_FoldConstants] (r=jorendorff).
2008-10-15 12:18:05 -07:00
Jason Orendorff
fac2df33c9
Fix build breakage from change ee94be502791 (C++ error: jump across initialization)
2008-10-15 13:09:10 -05:00
Brendan Eich
4c2d686321
Fix typo.
2008-10-14 16:27:16 -07:00
Brendan Eich
0d6dd5842d
Bug 443074 - Incorrect decompilation (missing parens) with genexp in for-loop-condition (r=jorendorff).
2008-10-14 16:13:56 -07:00
Brian Crowder
552f67b08c
Backed out changeset 82af7163534f
...
(Bug 411726 -- Time offset and zone code are set wrong for some locales, r=mrbkap)
2008-10-14 16:48:40 -04:30
Brian Crowder
da1b1b708b
Bug 411726 -- Time offset and zone code are set wrong for some locales, r=mrbkap
2008-10-14 16:29:16 -04:30
Brian Crowder
9267725c77
Bug 453915 -- XML namespace escaping improvement, r=igor
2008-10-14 16:29:05 -04:30
Andreas Gal
073cf83fb4
Fix the build breakage caused by the build breakage fix in d1e6c29797a9. No bug.
2008-10-14 11:02:53 -07:00
Jason Orendorff
5f19775ade
Fix build breakage caused by trivial type mismatch in 3b894cc33338. No bug.
2008-10-14 10:50:31 -05:00
Igor Bukanov
59702db0da
Bug 459656 - Implementing nsIThreadJSContextStack in nsXPConnect. r+sr=mrbkap
2008-10-14 16:16:25 +02:00
Andreas Gal
ea1d9c5edc
Allow a single level of self-calling until we have support for recursion (459775, r=brendan).
2008-10-13 23:20:39 -07:00
Andreas Gal
b4ee05c105
Trace Number.toString(base), not just Number.toString() (459772, r=brendan).
2008-10-13 19:07:30 -07:00
Andreas Gal
9e0dd2347d
Merge.
2008-10-13 17:40:26 -07:00
Andreas Gal
945ed5d0fe
Add a builtin for RegExp.test (459766, r=mrbkap).
2008-10-13 17:39:36 -07:00
Jason Orendorff
c3dbc177e0
Bug 459738 - Makefile.ref: js{builtins,interp}.cpp are compiled without -MMD. r=mrbkap.
2008-10-13 18:02:48 -05:00
Blake Kaplan
d9dc5056dc
Bug 455633 - Protect against the weird Sandbox global object case when creating XPCNativeWrappers. r+sr=bzbarsky
2008-10-13 15:55:38 -07:00
Blake Kaplan
76e8be0e68
Bug 457310 - Don't potentially run code with an exception still on cx. r+sr=jst
2008-10-13 15:53:33 -07:00
Blake Kaplan
197604d43a
Bug 459606 - Restore long-standing mozilla change to return a non-empty string for the no_digits case. r=crowder
2008-10-13 15:47:36 -07:00
Andreas Gal
fbd46b3d96
Add back t/crypto-sha1.js, which magically disappeared at the hands of the nanojit2 patch.
2008-10-13 14:15:23 -07:00
Graydon Hoare
bf84bf6273
Merge tamarin-redux (nanojit2) into tracemonkey (457786, r=edwsmith,gal,danderson).
2008-10-13 13:29:18 -07:00
Andreas Gal
32fb8c040d
Merge.
2008-10-13 13:22:50 -07:00
Andreas Gal
525decaff0
Fix number of expected traces for testNestedExitStackOuter in trace-tests.js
2008-10-13 13:19:37 -07:00
Blake Kaplan
973ba75c26
Re-re-re-merge
2008-10-13 13:10:33 -07:00
David Anderson
55ee8061f8
Return innermost guard from js_ExecuteTree and not outermost (r=gal).
2008-10-13 12:44:37 -07:00
Jason Orendorff
12c5730930
TM: Remove unreachable "return false" in TraceRecorder::record_JSOP_NOT. No bug, r=gal.
2008-10-13 14:10:35 -05:00
Blake Kaplan
54cdbe81ec
Merge mozilla-central -> tracemonkey
2008-10-13 11:05:05 -07:00
Blake Kaplan
665c19d6ac
Bug 458355 - ecma_3/Operators/11.4.1-002.js fail; r=brendan
2008-10-13 19:02:43 +02:00
Jason Orendorff
6b88d0da8d
Bug 459426 - Reunite record_JSOP_{NEW,CALL}. r=gal.
2008-10-13 11:04:26 -05:00
Robert Sayre
da78ac865a
Merge.
2008-10-12 20:50:34 -04:00
Robert Sayre
79bbd2eb93
Bug 459300. JSON should use internal JS functions where it makes sense. r=brendan
2008-10-12 20:48:48 -04:00
Andreas Gal
315c3a9ce7
Use a single instance of the shell to run the quick benchmark.
2008-10-12 15:58:34 -07:00
Andreas Gal
9bfc3c5072
Properly recover from a nested side exit with more than a single level of nesting (459539, r=danderson).
2008-10-12 15:39:32 -07:00
Ben Turner
9a82f09922
Bustage fix.
2008-10-12 12:03:40 -07:00
Ben Turner
311284ddff
Bug 455436 - "XPConnect insists on using its own error reporter even when another is already set." r+sr=jst.
2008-10-12 11:32:34 -07:00
Andreas Gal
d622ee23d8
Merge.
2008-10-11 20:27:03 -07:00
Andreas Gal
798a62ad00
Stack water level is off by +1 in getTop, and JSOP_CALLPROP premature updates the tracker (459537, r=danderson).
2008-10-11 20:26:29 -07:00
Igor Bukanov
db18f808c9
Bug 408539 - Storing XPCContext inside JSContext
2008-10-11 19:35:39 +02:00
Boris Zbarsky
c7e2dfdbea
Fixing docs a bit
2008-10-10 12:45:19 -04:00
Boris Zbarsky
33415ac1fb
Adding some documentation
2008-10-10 12:43:30 -04:00
Jason Orendorff
232767cb27
Bug 459294 - TM: move soft float builtins next to SoftFloatFilter. r=andreas.
2008-10-10 11:31:23 -05:00
Arpad Borsos
8b11d938d2
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Igor Bukanov
35f70f6096
bug 458679 - r=crowder
2008-10-10 15:16:27 +02:00
Andreas Gal
6c4c7256a5
Merge.
2008-10-09 16:17:53 -07:00
Andreas Gal
9a086f63ae
Don't carry around oldpc in AbortRecording path (459321, r=danderson).
2008-10-09 16:17:13 -07:00
Brendan Eich
8f06837465
Bug 408838. Native JSON. r/sr=shaver
2008-10-09 12:16:16 -07:00
Robert Sayre
480186b5af
Merge.
2008-10-09 14:20:08 -04:00
Robert Sayre
1dcc178640
Bug 459259 - Consolidate code for retrieving top of the JSON parser's object stack. r=brendan
2008-10-09 14:18:31 -04:00
Jason Orendorff
319f102472
Bug 459141 - Rename JSTN_{CATCH,FINALLY,ITER} to JSTRY_*. r=brendan.
2008-10-09 12:10:17 -05:00
Jason Orendorff
c4b5d25289
Bug 458098 - js_DumpObject can't handle objects that share proto's scope (r=crowder)
2008-10-09 07:30:21 -05:00
Jason Orendorff
cec3f38c7b
Bug 457919 - Delete unused GCC_OPT_BUG makefile variable (r=mrbkap)
2008-10-09 07:30:20 -05:00
Jason Orendorff
77ddd411ef
Bug 457914 - window.document should not have a quick stub (r+sr=jst)
2008-10-09 07:30:20 -05:00
Brendan Eich
3c94660673
Use standard anti-dangling-else/macro-call-expression-statement macrology.
2008-10-09 00:13:49 -07:00
Brendan Eich
c603bd095c
Fix dangling else blunder (459186, caught by Jesse's fuzzer).
2008-10-08 23:34:00 -07:00
Andreas Gal
35de6c0d9d
Merge.
2008-10-08 21:02:57 -07:00
Andreas Gal
c974289da5
Support thin loops (iteration < 2) by closing the loop even if we are on the last iteration (456431, r=danderson).
2008-10-08 21:02:04 -07:00
Doug Turner
996fd0f708
Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg
2008-10-08 20:51:54 -07:00
Robert Sayre
5feaaba5f2
Bug 459160 - json.cpp misuses rooting api. r=mrbkap
2008-10-08 23:22:35 -04:00
danderson
c56579e021
Blacklist loop if its unstable and we don't recompile it (459174, r=gal).
2008-10-08 19:58:40 -07:00
mrbkap
e057125df7
js1_8/genexps/regress-380237-0[34].js fail, regression from introduction of JSOP_RESUME (458356, r=gal).
2008-10-08 19:46:12 -07:00
Robert Sayre
4d38e1512c
Fix typo in filename.
2008-10-08 21:52:31 -04:00
Brendan Eich
a4e4559fa5
Bug 381843 - Move for-var-in and for-let-in hoisting from the emitter to the parser (r=mrbkap).
2008-10-08 18:43:28 -07:00
Robert Sayre
6579c458ac
Merge.
2008-10-08 21:17:03 -04:00
Andreas Gal
afc99f7ccc
In ifop, avoid eq0(eq0(x)), instead flip guard direction and use single eq0 (459164, r=danderson).
2008-10-08 17:49:54 -07:00
Andreas Gal
471ed73a35
Evaluate cond to true if value evaluates to true in non-fused if (459159, r=danderson).
2008-10-08 17:44:04 -07:00
Robert Sayre
bef8140a39
Bug 458959. this.JSON is enumerable. r+sr=mrbkap
2008-10-08 19:33:26 -04:00
Andreas Gal
fb350afe17
Non-fused ifs emit different comparison code than the interpreter uses (459151, r=danderson).
2008-10-08 16:23:54 -07:00
Jason Orendorff
3204ec178a
Bug 459085 - TM: Number.toString traceable native is broken (r=gal)
2008-10-08 17:19:15 -05:00
Jason Orendorff
a27d101dab
Bug 458735 - Improve internal API for traceable natives (r=brendan, nanojit r=edwsmith)
2008-10-08 17:08:33 -05:00
Boris Zbarsky
ffd5e8306f
Adding a few more comments
2008-10-08 14:37:03 -04:00
Robert Sayre
9f7138d61c
Bug 459065. JSON space patrol. r=gal
2008-10-08 13:31:07 -04:00
Blake Kaplan
f7b967fb13
No bug - Drop the request before the ResumeRequest hiding under Pop to avoid deadlocks. r=bent sr=sicking
2008-10-08 16:05:39 -07:00
Andreas Gal
52f71e38dc
Add missing comparison before letting the result of the conditional move flow into the guard for ordered boolean comparisons (457778, r=danderson).
2008-10-07 13:32:30 -07:00
Andreas Gal
1b0fd40e30
Trace push and pop for dense and sparse arrays (453734, r=brendan).
2008-10-07 11:00:16 -07:00
Brendan Eich
19e9638dc3
Bug 457920 - regexp-dna.js and generality want JSOP_GETELEM(dense array, "0") (r=mrbkap/gal).
2008-10-06 22:30:36 -07:00
Brendan Eich
6809989bde
Bug 455973 - TM: "Assertion failure: !cx->throwing" with getter that throws (r=mrbkap).
2008-10-06 20:57:38 -07:00
Boris Zbarsky
cab53dbee6
Bug 456165. Trace |new Date()|. r=brendan
2008-10-06 20:28:22 -04:00
David Anderson
26d5db2cc5
Merge.
2008-10-06 16:48:14 -07:00
David Anderson
a4daa1c332
Fixed NaN handling again after backout of busted patch (bug 458472, r=gal).
2008-10-06 16:47:05 -07:00
Andreas Gal
40d1236378
Add support for writing back a boxed value when side-exiting on JSOP_RESUME (453734, r=brendan).
2008-10-06 16:22:57 -07:00
Andreas Gal
95b8fa8a84
Backed out changeset 2176f46b2702 (trying to identify cause for tinderbox burning).
2008-10-06 13:58:11 -07:00
Robert Sayre
690f7346b8
Bug 408838. Native JSON. r/sr=shaver
2008-10-06 16:54:12 -04:00
David Anderson
c34cf06820
Fixed incorrect handling of NaN in ifop causing one new branch per iteration (bug 458472, r=gal).
2008-10-03 17:28:03 -07:00
Graydon Hoare
7bd301d171
Bug 458431 - expression-ordering fix for traced Math.max(0,-0), r=mrbkap
2008-10-03 14:07:33 -07:00
Boris Zbarsky
be17e08640
Adding mandelbrot to trace-test
2008-10-02 19:30:46 -04:00
Brendan Eich
502fb4e4c8
Bug 456831 - TM: Trace JSOP_SETLOCALPOP (r=mrbkap).
2008-10-02 15:39:25 -07:00
David Anderson
15a55dfe6d
Fixed random test failures on AMD64, booleans were being loaded as 64-bit values.
2008-10-02 16:30:58 -05:00
Andreas Gal
49de341e4a
Fixed more confusion of quads/numbers while emitting LIR (bug 458076, r=danderson).
2008-10-01 18:04:39 -05:00
David Anderson
9c7d3f333f
Fixed regression where cmov was disabled on AMD64.
2008-10-01 17:58:38 -05:00
Robert Sayre
c59514f66e
Bug 408838 - DOM binding for native JSON. r+sr=shaver
2008-10-01 02:13:58 -04:00
Andreas Gal
d38d1d18bb
In the decompiler, skip over JSOP_RESUME after JSOP_NEW/CALL/EVAL/SETCALL (457824, r=brendan).
2008-09-30 21:09:14 -07:00
Andreas Gal
8aa08cec2a
For GETELEM/SETELEM we must check that its a native object first before trying to compare the objects shape to the shape of the global object to ensure its not aliasing the global object (457979, r=shaver).
2008-09-30 20:10:46 -07:00
Vladimir Vukicevic
f761c61b8e
TM: move cmov_available setting into nj arch backends where appropriate
2008-09-30 17:15:09 -07:00
Andreas Gal
83ea7eb834
Merge.
2008-09-30 16:35:52 -07:00
David Mandelin
a9fa2e79d8
Don't trace a property access with a watchpoint (455413, r=brendan)
2008-09-30 13:34:17 -07:00
Andreas Gal
9adad6d33a
Merge.
2008-09-30 13:02:53 -07:00
Andreas Gal
9c4eefd7ec
Fix guarding in case of sparse array setelem (regression from 457580, r=danderson).
2008-09-30 13:02:23 -07:00
David Anderson
0804b51ac0
Fixed cmp number check logic for 64-bit environments (bug 457129, r=gal).
2008-09-30 11:45:00 -05:00
Andreas Gal
21663448c1
Merge.
2008-09-29 22:22:58 -07:00
Andreas Gal
1163c91b59
Don't trace empty for-in loops (457335, r=brendan).
2008-09-29 22:22:40 -07:00
Andreas Gal
c7c062681c
Update XDR version number after bytecode change (457789, r=brendan).
2008-09-29 22:11:35 -07:00
David Anderson
60ff7369b3
Fixed global object ownership change not aborting recording (bug 455173, r=gal).
2008-09-29 23:55:58 -05:00
Andreas Gal
d0ca373339
Follow-up work for 457789, emit JSOP_RESUME after JSOP_NEW as well (r=brendan).
2008-09-29 21:30:02 -07:00
David Anderson
75e7abcf38
Fixed crash when charCodeAt failed (with NaN) while recording (bug 457795, r=gal).
2008-09-29 23:20:34 -05:00
Brendan Eich
11db6aaf1d
Always use JSBool (not bool sometimes, JSBool others) as JSVAL_IS_BOOLEAN's native slot type.
2008-09-29 22:27:43 -04:00
Andreas Gal
320dd48955
Add a resume point (JSOP_RESUME) immediately following JSOP_CALL (457789, r=mrbkap).
2008-09-29 18:49:40 -07:00
Andreas Gal
36e0e1fcbf
Catch negative indexes at recording time. At runtime the builtins already check for us. Also guard for shape and setters/getters for non-dense integer index setelem case (57580, r=mrbkap).
2008-09-28 17:11:47 -07:00
Reed Loden
a4f6f0e831
Back out Robert Sayre's patch from bug 408838 due to test failures (changeset 2fe3cb0c9f7c).
2008-10-01 03:22:30 -05:00
Andreas Gal
e6006ef942
Add test case for 457456.
2008-09-27 13:13:42 -07:00
Andreas Gal
bd2e228fd0
Fix constant folding for cmov and add folding of or/and/xor (457456, r=danderson).
2008-09-27 13:10:24 -07:00
Robert O'Callahan
4834e88fce
Backing out patch for bug 456027 to try to fix test bustage
2008-09-27 20:56:42 +12:00
Andreas Gal
5fdd5d2b67
Properly handle cmov and sse2 flags, and put them in a central place not into each platform-dependant assembler (457355, r=danderson).
2008-09-26 20:39:21 -07:00
Andreas Gal
5cc5fdedb8
Merge.
2008-09-26 19:21:27 -07:00
Andreas Gal
9960750440
Can't use JSVAL_IS_BOOLEAN on trace since boolean type contains undefined (457351, r=brendan).
2008-09-26 19:20:52 -07:00
David Anderson
ce71880114
Fixed a bug where no shape guard was emitted if a property was not found, causing it to remain unseen if added later. Abort in this case instead. (bug 457171, r=brendan)
2008-09-26 19:18:00 -07:00
Andreas Gal
884eabf3d5
Cleanup SETELEM, box early (in case we side exit on that) and don't set return value if INITELEM or followed by POP (457336, r=brendan).
2008-09-26 17:33:40 -07:00
Blake Kaplan
d2e4f90dc6
Bug 456027 - Innerize earlier so we don't rely on the JS engine providing getters that might not be there. r=brendan sr=jst
2008-09-26 15:42:47 -07:00
Blake Kaplan
8c46931ccc
Bug 455765 - Set global flags on global objects' first use so the JS engine doesn't get confused. r+sr=jst
2008-09-26 15:40:31 -07:00
Blake Kaplan
eefec8f1f7
Bug 455775 - The eval frame might not be the top frame, but we still must find it. r=brendan
2008-09-26 15:37:07 -07:00
Andreas Gal
93a292bd90
Merge.
2008-09-26 14:16:25 -07:00
igor
19701dd91b
When replenishing the recovery double pool, detect if a GC happens (follow up work for 456826, r=gal).
2008-09-26 14:16:11 -07:00
Boris Zbarsky
fe2220afb1
Bug 456165 part 2. Trace Date.now. r=gal
2008-09-26 14:37:50 -04:00
Boris Zbarsky
a4b9ae6222
Bug 456370. Flush the fragment cache earlier on global shape mismatch. r=gal
2008-09-26 14:37:49 -04:00
Boris Zbarsky
50c786d373
Bug 456165 part 1. Get rid of icky JS_LL macros, r=brendan
2008-09-26 14:08:28 -04:00
Andreas Gal
7bb0a663e6
Use a pre-allocated pool of doubles to make sure we can safely recover in case of OOM or out of doubles (456826, r=brendan).
2008-09-25 19:11:48 -07:00
Brendan Eich
8030ce9609
Bug 457130 - TM: regexp lastIndex property not traced correctly (r=danderson).
2008-09-25 17:45:14 -07:00
David Anderson
3808521295
Workaround for intermittent js_GetClassObject failures (bug 457069, r=brendan).
2008-09-25 17:30:01 -07:00
Brendan Eich
9807c189fe
Bug 457127 - TM: Crash on digg.com with adblock plus [@ ReconstructPCStack] (r=danderson).
2008-09-25 17:05:06 -07:00
Brendan Eich
f875d89fa2
Bug 456810 - TM: Crash on digg.com with adblock plus [@ ReconstructPCStack] (r=gal).
2008-09-25 15:04:48 -07:00
David Anderson
fca4e20f3a
Added test case for bug 456667.
2008-09-25 14:16:24 -07:00
Brendan Eich
b7841b8cfd
Fixed argc < nargs miscount in js_SynthesizeFrame and adjusted a related assertion (bug 456667, r=danderson).
2008-09-25 13:12:01 -07:00
Andreas Gal
4be7fad144
Merge.
2008-09-25 11:32:00 -07:00
Andreas Gal
5b117e1c3f
Rewrite and cleanup GETELEM and SETELEM (455748, r=brendan).
2008-09-25 11:31:40 -07:00
Jason Orendorff
b6158434af
Bug 456469 - Dead variable pval in js_NativeSet (r=brendan)
2008-09-25 11:29:12 -05:00
Jason Orendorff
e63d2c737c
Bug 455953 - js_DumpObject debugging function (r=crowder)
2008-09-25 11:29:12 -05:00
Jason Orendorff
c35bfc3682
Bug 389034 - JS_SetProperty() ends up resolving w/o JSRESOLVE_ASSIGNING (r=brendan, sr=bzbarsky)
2008-09-25 11:13:31 -05:00
Brendan Eich
d56e0c688e
Back off premature arguments tracing (453730 temporary measure).
2008-09-25 08:51:40 -07:00
Andreas Gal
10b165830b
Merge.
2008-09-25 08:00:26 -07:00
Andreas Gal
a7a4b8be7b
Backed out changeset c5d4e22e54ad (reopened 456201).
2008-09-25 07:58:56 -07:00
Igor Bukanov
82f9c64e29
bug 378918 - scalable thread-local GC free lists
2008-09-25 15:27:59 +02:00
Andrei Saprykin
6f45d79b4b
bug 444979 - fixing JSOP_TABLESWITCH to treat -0 as 0
2008-09-25 15:18:41 +02:00
Andreas Gal
97be5eae89
Merge.
2008-09-24 23:32:19 -07:00
Andreas Gal
eb5f8be2b1
Demote modulo operations to integer if both args are int (456934, r=brendan).
2008-09-24 23:28:56 -07:00
Brendan Eich
3238fa4180
Bug 456931 - TM: GVAR op record methods use wrong object (r=gal).
2008-09-24 23:09:46 -07:00
Brendan Eich
86b3bc3671
Bug 456932 - TM: Don't assert that global object can't grow additional properties if none are used by any trace and we don't check for global shape mismatches (r=gal).
2008-09-24 23:05:44 -07:00
Ben Turner
8fdc38c40a
Backed out changeset 5986b4269d9d
2008-09-24 21:07:05 -07:00
Ben Turner
85938eeb67
Bug 450452 - "Implement XHR ('minus X') for worker threads". r+sr=jst.
2008-09-24 19:48:07 -07:00
Andreas Gal
c3ae2f8027
Merge.
2008-09-24 19:33:04 -07:00
Andreas Gal
f1cdf0fd1c
Make sure JSOP_DEFLOCALFUN pushes the right function object (456470, r=brendan).
2008-09-24 19:31:51 -07:00
Brendan Eich
d9b970f735
Fix warning.
2008-09-24 18:50:46 -07:00
Brendan Eich
ac41d655c4
Merge pull from mozilla-central.
2008-09-24 18:46:44 -07:00
Andreas Gal
9b1f70d488
Compile jsregexp.cpp with -O9 and -fomit-frame-pointer (456201, r=shaver).
2008-09-24 17:44:25 -07:00
Andreas Gal
5fdc88e6b7
Only fasttrack applys where the arguments array has the same lengths as the expected arguments of the called function (456494, r=brendan).
2008-09-24 16:45:27 -07:00
Andreas Gal
e50585b158
Merge.
2008-09-24 16:32:36 -07:00
Andreas Gal
2bc1ba7a91
The meaning of T changed in our builtin table to object-only, so we have to mark the string builtins now with S, instead of T (454682, r=brendan).
2008-09-24 16:31:07 -07:00
Brendan Eich
d0645c2e47
Bug 456875 - TM: js_SynthesizeFrame must js_GetCallObject if JSFUN_HEAVYWEIGHT (r=mrbkap).
2008-09-24 15:43:19 -07:00
Brendan Eich
536e07f808
Bug 455146 - TM: Going to NEW Facebook profile page causes crash. [ @FlushNativeStackFrame] (r=danderson,mrbkap).
2008-09-24 15:40:08 -07:00
Andreas Gal
619234db4c
Back out attempt to invoke natives that return a boxed value (namely push and pop, 453734).
2008-09-24 15:18:19 -07:00
David Anderson
635fe0398d
Merge.
2008-09-24 13:12:54 -07:00
David Anderson
a53ee95a20
Fixed breaks in switch statements causing premature end-of-traces (bug 456345, r=gal,brendan).
2008-09-24 13:12:25 -07:00
Neil Rashbrook
6f6de04b5e
Make nanojit build non-debug with VC7.1 (bug 455210, r=danderson).
2008-09-24 10:21:49 -07:00
Brendan Eich
60cb87195a
Bug 453024 - Mochitest Assertion failure: vp + 2 + argc <= (jsval *) cx->stackPool.current->avail, at jsinterp.cpp:1066 (r=igor/mrbkap).
2008-09-24 02:24:22 -07:00
Brendan Eich
c184542b3b
Bug 453024 - Mochitest Assertion failure: vp + 2 + argc <= (jsval *) cx->stackPool.current->avail, at jsinterp.cpp:1066 (r=igor/mrbkap).
2008-09-24 02:10:47 -07:00
David Anderson
ccd5e825b9
Fixed jstracer's operator delete leaking out into other shared libraries (bug 452721, r=gal).
2008-09-23 18:12:53 -07:00
Andreas Gal
38a8e67fa5
Merge.
2008-09-23 17:19:02 -07:00
Andreas Gal
958c18fb2a
Add builtin for invocation of match() on String objects (454682, r=danderson).
2008-09-23 17:18:40 -07:00
Doug Turner
cf6bf884ef
Bug 456458 - JS Tracer uses file-system stat structure name - WinCE compile fails. patch by dougt, r=crowder
2008-09-23 14:35:29 -07:00
David Anderson
b3141a864c
Fix where recording could crash if globalObj->dslots got reallocated (bug 451137, bug 455137, r=gal).
2008-09-23 13:29:41 -07:00
Andreas Gal
9ae4f39d64
Don't demote dmod to imod since there is no case that is guaranteed to produce valid integer results for all inputs (456540, r=danderson).
2008-09-23 12:21:15 -07:00
Doug Turner
368e1aa2d8
Bug 455374 - WinCE JS DLL does not need DllMain() function. patch by wolfe, r=crowder
2008-09-23 11:01:31 -07:00
Brendan Eich
ef1a9b029a
JS_snprintf for portability, not snprintf (bustage fix).
2008-09-23 00:59:59 -07:00
Andreas Gal
b967b5aec8
Use JS_snprintf instead of snprintf which Windows doesn't seem to know about (fix build breakage).
2008-09-23 00:58:11 -07:00
Andreas Gal
5054e0003b
Don't emit constant guards for switch and ifop (455605, r=danderson).
2008-09-22 17:58:25 -07:00
Andreas Gal
0c5b47dc28
Merge.
2008-09-22 17:03:00 -07:00
Andreas Gal
d85fc31e85
Both sides of a modulo have to be demotable before we can optimize using imod (456477, r=danderson).
2008-09-22 17:02:33 -07:00
Boris Zbarsky
5bf1de2855
Bug 456369. Checking of JIT stats should not loop. r=brendan
2008-09-22 17:37:59 -04:00
Andreas Gal
7b70046b10
Merge.
2008-09-22 13:05:12 -07:00
Andreas Gal
df641c58e5
Compilation fixes for DISABLE_JIT=1 (r=danderson).
2008-09-22 13:04:47 -07:00
David Anderson
d1bc6dc0d8
Fixed jstracer.cpp no longer building in the browser because of -pedantic.
2008-09-22 11:23:22 -07:00
Andreas Gal
368f7d5382
Merge with mozilla-central.
2008-09-21 12:44:24 -07:00