Boris Zbarsky
b716ed5110
Bug 533636. Speed up IsSecurityWrapper. r=mrbkap
2009-12-11 22:36:35 -08:00
Ben Turner
608e59a0fa
Bustage fix, r=mrbkap
2009-12-11 14:30:27 -08:00
Ben Turner
3f66f33ecc
Bug 534051, r=jorendorff+jst, sr=jst.
2009-12-11 12:50:54 -08:00
Brad Lassey
32803dbbf7
bug 515748 - differentiate between wince and winmo (change windows mobile ABI to arm-wince-winmo) r=ted
2009-12-04 14:14:18 -05:00
Bob Clary
5b5fa9598a
bug 533027 - skip js1_5/Regress/regress-3649-n.js due to random oom related failures.
2009-12-09 14:41:45 -08:00
Bob Clary
e503dd6c42
bug 531325 - relax timing comparison to eliminate random failures in js1_8_1/trace/regress-469927.js.
2009-12-09 14:41:45 -08:00
Bob Clary
24b5849b9c
bug 528717 - relax timing comparison to eliminate random failures in js1_8_1/trace/regress-470739.js.
2009-12-09 14:41:45 -08:00
Bob Clary
3361a21b13
bug 496127 - relax timing comparison to eliminate random failures in js1_8_1/trace/regress-452498-01.js.
2009-12-09 14:41:45 -08:00
Brendan Eich
bdd2e66056
Disable test for bug 354998 in browser debug builds.
2009-12-04 13:46:52 -08:00
Robert Sayre
1a7e0a99c8
Merge tracemonkey to mozilla-central.
2009-12-04 11:25:55 -05:00
Boris Zbarsky
f0e0799ab3
Bug 532847. Can't assert that sprop has a shortid in callProp/setCallProp until we know the prop is special. r=brendan
2009-12-04 01:08:22 -05:00
Boris Zbarsky
aa1ad6fa43
Bug 530240 followup. Can't assume vp[1] is an object here, in fact. Fixes orange.
2009-12-03 23:35:36 -05:00
Boris Zbarsky
cc59f52e7a
Bug 532477 followup to fix bustage.
2009-12-03 23:10:08 -05:00
Boris Zbarsky
c01db4d493
Bug 532477. Replace js_SetCallArg/js_SetCallVar with hand-crafted LIR in the common easy case of a Call object whose frame is no longer active at record time. r=dmandelin,brendan
2009-12-03 23:03:47 -05:00
Boris Zbarsky
2ccf2e097d
Bug 530255. Replace GetFromClosure/GetClosureVar/GetClosureArg with hand-crafted LIR in the common easycase of a Call object whose frame is no longer active at record time, and make GetFromClosure use a direct read from the object's dslots if we discover that the frame became inactive between record and trace. r=dmandelin,brendan
2009-12-03 23:03:46 -05:00
Brendan Eich
438a22bc1c
Bleah.
2009-12-03 19:47:53 -08:00
Brendan Eich
7627b00b62
Add JSOP_ENUMELEM to gigundo-assert in LeaveTree (532787, r=me).
2009-12-03 19:47:19 -08:00
Boris Zbarsky
8b98010863
Bug 532823 followup. Fix where we add the 3+fp->argc. r=brendan
2009-12-03 22:43:13 -05:00
David Mandelin
f70bb37ba0
Bug 532823: fix slot computation for JSOP_NAME accessing outer vars defined in trace entry frame, r=bz
2009-12-03 18:48:45 -08:00
Blake Kaplan
9b9bda6d18
Bug 532259 - Protect against a null script. r=jst a=sayrer
...
--HG--
extra : rebase_source : 926c94ac7dca681c195e4bd013db0331e79f78ca
2009-12-03 14:52:56 -08:00
Jason Orendorff
ca888d0b86
Bug 530879 - Generators get incorrect arguments.length. Discovered by Donny Viszneki. r=brendan.
2009-12-03 16:12:09 -06:00
David Mandelin
43497059d6
Bug 530489: don't (incorrectly) trace custom equality ops, r=jorendorff
2009-12-03 13:02:36 -08:00
Andreas Gal
75fe7bfa9b
Only consider an eval cache entry if the static level matches (532491, r=igor).
2009-12-03 12:12:39 -08:00
Boris Zbarsky
db4b5b8fc6
Bug 530240. Faster NormalizeThis for String objects. r=brendan
2009-12-03 14:39:55 -05:00
Boris Zbarsky
a7a5fa4b83
Bug 521423. Make JSString 4 words instead of 2; make substring() and company never have to copy. r=brendan
2009-12-03 14:39:42 -05:00
Jim Blandy
73bf1c4f17
Bug 532041: Add missing call to reportCompare. r=orange jsreftests
2009-12-03 01:25:17 -08:00
Brendan Eich
fd10f331a4
Test for last checkin (532043).
2009-12-02 21:51:18 -08:00
Brendan Eich
ac528f81d6
Trace JSOP_ENUMELEM, for the group-assignment special case of destructuring assignment (532043, r=gal).
2009-12-02 21:50:04 -08:00
Brendan Eich
edbf828e0b
Extra assertions, control flow cleanup in putProperty, and a crucial scope hashtable fix to removeProperty (stored was not reloaded from *spp; got rid of this ancient over-optimization by hand-coded 'register allocation'; 532096, r=mrbkap).
2009-12-02 19:13:31 -08:00
Jim Blandy
ab93144f93
Bug 532254: Give TCF_FUN_PARAM_EVAL a distinct value. r=mrbkap
...
Regression test included.
2009-12-02 15:17:02 -08:00
Jim Blandy
085406c212
Bug 531972: Add parent dir jstests.list entries; call reportCompare as needed; fix anonymous function objects in js/src/tests/ecma_5/strict/13.1.js. r=bclary, r=mrbkap
...
While prior patches created new test directories
js/src/tests/ecma_5/strict and js/src/tests/js1_8_1/strict, they
failed to add jstests.list entries to their parent directories. This
adds them.
The strict tests generally were written to use assertEq, which is
simple and gives nice source positions in failure messages under the
JS shell. However, the jsreftests require each test file to call
reportCompare at least once. This adds a dummy call to reportCompare
to each file. It would be nice to make everything work in both
environments, perhaps using arguments.caller.
The test script js/src/tests/ecma_5/strict/13.1.js tried parsing
statements of the form 'function(x,x){}'. However, anonymous function
expressions are not allowed in a statement context when
JSOPTION_ANONFUNFIX is set. This is set under the browser, but clear
in the shell; bug 532233 suggests that the two be reconciled.
2009-12-02 15:13:14 -08:00
Jim Blandy
5c0bd95550
Bug 532041: Test that duplicate argument checks use JSFunction::u.i.names correctly. r=sayrer
2009-12-02 09:54:51 -08:00
Igor Bukanov
e84b48e10f
bug 531682 - fixing eval(source, scope) to match 191, 192 semantics. r=mrbkap
2009-12-02 19:22:34 +03:00
David Anderson
b7890932d5
Merge.
2009-12-01 16:32:58 -08:00
David Anderson
d1829ec3da
Backed out changeset 0082849624a5, potential orange.
2009-12-01 16:32:45 -08:00
Brendan Eich
fe335e632c
Fix js_FindDuplicateFormal to crack the fun->u.i.names union correctly, and spruce it up with C++ (532041, r=jimb).
2009-12-01 14:48:05 -08:00
David Anderson
163f27aa12
Remove TreeInfo (bug 525371, r=lw).
2009-12-01 13:32:02 -08:00
Robert Sayre
46519b230b
Reland bug 473228 and bug 530507
2009-12-01 16:02:09 -05:00
Robert Sayre
99a4dab1b4
Relanding Tolerate race condition or broken resolve hook (530507, r=jorendorff). Backed out changeset fb34a7163a43
2009-12-01 15:54:01 -05:00
Robert Sayre
0c65e8e2f0
Merge
2009-12-01 15:51:22 -05:00
Robert Sayre
2e0ac4b711
Relanding: Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). Backed out changeset ee7bfc1923ad
2009-12-01 15:49:15 -05:00
Robert Sayre
4a5d2793ed
Backed out changeset c03ebf340688. Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff).
2009-12-01 09:56:16 -05:00
Robert Sayre
0147dca9c9
Backed out changeset c696751593d6. Tolerate race condition or broken resolve hook (530507, r=jorendorff).
2009-12-01 09:54:38 -05:00
Blake Kaplan
1910252b12
Bug 531222 - Don't access the SSM off the main thread. r=bent sr+a=jst
2009-12-02 12:06:18 -08:00
Blake Kaplan
9166038c7f
Bug 468506 - JS_GetFrameThis needs to call js_ComputeThis in more cases. r=brendan
...
--HG--
extra : rebase_source : 2a107feb26544159f04b60c27508338cef8fdf7f
2009-11-30 16:05:44 -05:00
David Anderson
0259299e55
Recursion needs to fix up argsobj when it pops frames on trace (bug 531298, r=dmandelin).
2009-12-01 10:37:30 -08:00
Robert Sayre
7f8a2870dd
Backout bug 473228 and its follow-up, temporarily, to attempt a clean merge of other stuff.
2009-12-01 09:57:20 -05:00
Robert Sayre
496d56ab9f
Merge backout.
2009-12-01 09:54:57 -05:00
Igor Bukanov
8c1aec6a42
bug 531037 - eval fixes. r=brendan
2009-12-01 00:01:11 +03:00
Robert Sayre
d3ac3a4fee
Add a call to reportCompare so this test passes.
2009-11-30 14:15:50 -05:00