Commit Graph

3029 Commits

Author SHA1 Message Date
Blake Kaplan
ccbbafd88d Merge mozilla-central -> tracemonkey 2008-08-27 14:28:27 -07:00
Blake Kaplan
eba28651d8 bug 418051 - Don't allow shorthand object initializer through destructuring assignment. r=brendan 2008-08-27 13:56:43 -07:00
Blake Kaplan
0a3ec02bb5 Bug 452295 - Deal with embeddings that don't use principals. r=brendan 2008-08-27 13:56:34 -07:00
Brendan Eich
4842b435c5 Oops, not enough copying... 2008-08-27 13:54:05 -07:00
Brendan Eich
510ec8bdce Fix a bug Jesse reported: insufficient copy/paste from record_JSOP_CALL to record_JSOP_NEW. 2008-08-27 13:52:46 -07:00
Blake Kaplan
f27c2b3c5f Bug 452346 - Fix latent bug in rv_alloc. r=crowder 2008-08-27 11:43:35 -07:00
Bob Clary
f0a3cfed35 JavaScript Tests - match a[1] ~ a['1'], bug 452369 2008-08-27 10:25:40 -07:00
Brian Crowder
4670191ed2 Merge initial patches for bug 97954: autoconf build environment for spidermonkey 2008-08-27 10:16:56 -07:00
Brendan Eich
4de45a4139 Fix upvar decompilation for eval-from-fun case. 2008-08-27 02:21:04 -07:00
Brendan Eich
fb2a1431d7 Fix another broken assert (452372). 2008-08-27 01:11:06 -07:00
Brendan Eich
9cb246a8fc Fix another broken assert (452372). 2008-08-27 01:10:44 -07:00
Brendan Eich
df16afe946 Correct (but sadly a bit slower) property cache guarding (452140, r=shaver). 2008-08-27 00:44:37 -07:00
Brendan Eich
cbb33d1a83 Remove bogus assertion (452178). 2008-08-27 00:41:57 -07:00
Brendan Eich
6c59f88abd Merge. 2008-08-27 00:36:57 -07:00
Brendan Eich
722ff40a11 Remove bogus assertion (452178). 2008-08-27 00:34:53 -07:00
David Anderson
d7c7f1645b Improved AMD64 out-of-range jumping, some cases are still broken though. Fixed i386 build. 2008-08-26 23:14:13 -07:00
David Anderson
d030e910fb Merge. 2008-08-26 21:51:12 -07:00
David Anderson
8464bf22ba Merge. 2008-08-26 21:47:10 -07:00
Andreas Gal
7df899a9f5 Merge. 2008-08-26 21:46:21 -07:00
Andreas Gal
4f51cac33e Add test case for decaying inner loops that sometimes are not executed at all since the condition fails pre-entry. 2008-08-26 21:45:53 -07:00
Andreas Gal
418b15eadd Flag a side exit as loop exit only if the underlying loop condition actually targets the current loop header, otherwise treat it as a branch exit. This is required for inner loops where we unroll the first iteration but the loop condition immediately fails. If we report such exits as loop exits, no branch gets ever attached to them and we keep side-exiting over and over. 2008-08-26 21:43:59 -07:00
Brendan Eich
ae9605be38 Correct (but sadly a bit slower) property cache guarding (452140, r=shaver). 2008-08-26 21:26:10 -07:00
Brendan Eich
a596a75f05 Why wasn't this hunk in the .rej file, or else merged properly? 2008-08-26 21:05:17 -07:00
Brendan Eich
ff1b59a197 Bug 452340 - knownNative for num_toString (r=danderson). 2008-08-26 20:55:52 -07:00
David Anderson
357f1d4e64 Test case for bug 452340. 2008-08-26 20:02:59 -07:00
Brendan Eich
e326b78b55 Added knownNative for num_toString (bug 452340, r=dvander). 2008-08-26 20:00:11 -07:00
Robert Sayre
4bd48080dc Add some tests for loops that should exit trace. 2008-08-26 18:46:50 -04:00
David Anderson
2a4faa131c Fixed crashing with the incremental allocation changes. Very long jumps are still a problem but at least now we assert. 2008-08-26 15:15:15 -07:00
Jim Blandy
7633d7d0d6 Place these libraries in EXTRA_LIBS, not LDFLAGS, so we can easily
capture them in the js-config script later.
2008-08-26 14:34:36 -07:00
Jim Blandy
468980d37c There is no 'pathsubst' function in GNU make. This assignment has
been around forever, and it's never done anything, so it should be
safe to delete.
2008-08-26 14:34:36 -07:00
Andreas Gal
c4af944fe9 Merge. 2008-08-26 13:26:05 -07:00
Andreas Gal
40796f4154 For global code assume that no slots are below the current frame. 2008-08-26 13:25:40 -07:00
Brendan Eich
7adb43eaa6 Align test order with mozilla-central to avoid merge conflicts (I hope). 2008-08-26 12:50:01 -07:00
Brendan Eich
b764cdd7da Fix TM assert on wikipedia (451806, r=mrbkap). 2008-08-26 12:49:10 -07:00
Brendan Eich
772be6e2bf Fixed cases where argc varied between recording time and execution time (bug 451727; also warning fix fe54f7fb89d1 from tracemonkey). 2008-08-26 12:28:26 -07:00
Boris Zbarsky
21251ac0c5 Bug 449233. Assert when decrementing the jsdhash/pldhash recursion level past 0. r=dbaron,brendan, sr=dbaron 2008-08-26 13:02:04 -04:00
Igor Bukanov
5202ccb583 bug 450392 - fixing -Wstrict-aliasing=2 warnings 2008-08-26 10:46:34 +02:00
Andreas Gal
795f7ae426 Merge. 2008-08-26 01:01:24 -07:00
Andreas Gal
eb0c261390 When extending an outer tree from its nesting guard, the guard we actually exited on determines the typemap for the current frame and all inlined frames, whereas the nesting guard is consulted for all type information frames below the current frame. 2008-08-26 01:00:53 -07:00
Brendan Eich
a7cdb3ddb2 Fix warning. 2008-08-25 23:22:20 -07:00
Andreas Gal
4bb68b852c Rename lr->anchor in AttemptToExtendTree() 2008-08-25 23:19:00 -07:00
Andreas Gal
24b663fd61 Determine the tree we have to grow from the side exit we attach to in AttemptToExtendTree() instead of passing the parameter in. 2008-08-25 23:17:38 -07:00
Brendan Eich
43b25b3c09 Rename gcDontBlock to runningJittedCode, and assert it's false on entry to js_Interpret (for 451657, but not the fix, just prolog). 2008-08-25 23:08:21 -07:00
Andreas Gal
e86ad8730d Merge. 2008-08-25 22:11:23 -07:00
Andreas Gal
d00742c962 Add an assert checking that celldepth is zero upon loop exit side exits and better verbose diagnostic for trace exits. 2008-08-25 22:11:04 -07:00
Andreas Gal
c86c7d09fb Generate an always taken LOOP_EXIT guard when an inner loop encounters a break statement. When returning from such an inner tree, make sure the recorder resumes at the target address of the goto the break was emitted as, otherwise the outer tree confuses the location with a break in its own loop. Disabled outerlining (this patch subsumes it, but we might enable it later since it might handle some cases more efficiently, currently off for debugging through). fasta currently asserts, and fannkuch hits a perf regression. These are probably bugs this change exposed. 2008-08-25 17:24:49 -07:00
Blake Kaplan
48d275806e Bug 451785 - Trace == and != involving booleans. r=gal 2008-08-25 16:58:18 -07:00
Blake Kaplan
298caaa80f Bug 451782 - Trace Math.ceil. r=brendan 2008-08-25 16:54:02 -07:00
Ted Mielczarek
8a69f6fb57 bug 436495 - build DumpJSStack in release builds. r=shaver 2008-08-25 20:25:19 -04:00
Blake Kaplan
63f33e654d Bug 451483 - Array.splice() should return an empty array. r=brendan 2008-08-25 17:12:30 -07:00