Commit Graph

7104 Commits

Author SHA1 Message Date
Chris Leary
06b4d618a7 Bug 548621 - Create suite of tests for JS parsing speed. r=jorendorff. 2010-03-05 16:47:24 -06:00
Chris Leary
82a9895df9 Bug 549971 - Add compile() function to JS shell. r=jorendorff. 2010-03-05 16:42:06 -06:00
Jason Orendorff
bfaa2dc218 In case of OOM in DEBUG build, don't crash. No bug, rs=jwalden via IRC.
--HG--
extra : rebase_source : c08508a93d1c1a98606dc1c7c8d9c08c57e17cad
2010-03-05 16:29:44 -06:00
David Mandelin
71634c4850 Bug 549509: jsval representation profiling, r=lw
--HG--
extra : rebase_source : e0e6c19db20d2e469066b5f9433c96c05bbff1c1
2010-03-05 11:45:28 -08:00
Jason Orendorff
ec9c7fcca7 New test for long-fixed bug 500528. We were about to re-introduce it in bug 497789! r=test coverage is good. See bug 497789 comments 78-79. 2010-03-05 09:05:12 -06:00
Igor Bukanov
9d1cbd468c bug 549010 - folowup to replace PROTO access macros with the inlne function 2010-03-04 23:52:52 -08:00
Luke Wagner
7be2f8f3f2 Silence MSVC warning about no default assignment operator (r=me) 2010-03-04 23:30:28 -08:00
Mike Moening
0373a2437d bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
David Mandelin
5860e3e1f3 Bug 550352: make check-string-tagcloud more robust, r=lw 2010-03-04 17:03:53 -08:00
Luke Wagner
fdc3899884 Bug 543057 - Drop the Script object (r=brendan) 2010-03-04 00:33:57 -08:00
Luke Wagner
a87d51a58a Loosen check-math-partial-sums for floating error (r=dmandelin) 2010-03-04 16:32:06 -08:00
David Mandelin
01cb3b3c0a No bug: refresh JS_OPMETER feature, no_r=me 2010-03-04 15:22:07 -08:00
David Mandelin
fdacbe87cc Bug 549503: more SunSpider verification tests, r=dvander
--HG--
extra : rebase_source : 15ebc76e6de2c982ca77bb6a271f691ddc8559a8
2010-03-01 17:40:01 -08:00
Brendan Eich
98c439cd12 Fix dictionary-mode scope property node alloc to happen inside rt->gcLock (538307, r=jorendorff). 2010-03-03 17:14:20 -08:00
Brendan Eich
9925442e73 Fix latent bug, exposed by fix for 549617, where JS_EvaluateUCInStackFrame looks like eval and confuses the compiler into writing into the empty script singleton-const (550045, r=mrbkap). 2010-03-03 16:43:17 -08:00
Brendan Eich
9af18d4767 Fix CallPropertyOp to cope with non-int arguments id (549951, r=mrbkap). 2010-03-03 14:44:03 -08:00
Luke Wagner
804b9124ea Bug 515812 - Fix Range assignment (r=me) 2010-03-03 09:26:04 -08:00
Brendan Eich
37fd6525cc Typo'ed testname in jstests.list for 549617. 2010-03-02 17:48:00 -08:00
Brendan Eich
9c8234d49b Bug 549617 - JS_EvaluateUCInStackFrame doesn't see variables in flat closure (r=mrbkap). 2010-03-02 17:30:54 -08:00
Jeff Walden
23f47cabac Bug 547087 - JS_EnumerateStandardClasses uses non-configurable, not non-configurable/non-writable, as attributes for global.undefined. r=jorendorff 2010-02-18 19:51:57 -08:00
Jeff Walden
d7c775ea6a Bug 484508 - Support imacro groups corresponding to non-contiguous opcodes. r=brendan 2009-12-31 14:05:54 -06:00
David Anderson
487814a4c4 Removed initializing inparam from TraceRecorder::set. (bug 549727, r=luke) 2010-03-02 14:04:50 -08:00
Luke Wagner
27eed6e277 540706 - Small record_EnterFrame simplification (r=dvander) 2010-03-02 12:56:48 -08:00
Brendan Eich
fe7558946d Bug 549531 - fix strict aliasing warnings about scopeChain (also clean trailing whitespace; r=dmandelin). 2010-03-02 11:03:04 -08:00
Nicholas Nethercote
c8a754a27d Bug 545274 - nanojit: start adding alias info to loads/stores/calls (TM-specific part). r=jseward. 2010-03-02 13:47:17 +11:00
Nicholas Nethercote
a6b7c69153 Update nanojit-import-rev stamp. 2010-03-02 12:50:19 +11:00
Nicholas Nethercote
e9aaac654a Bug 545274 - nanojit: start adding alias info to loads/stores/calls. r=rreitmai.
--HG--
extra : convert_revision : 4adbf1bbb16cf4751b46a49a4f9c474c0ab0a3b9
2010-03-02 12:43:20 +11:00
Nicholas Nethercote
96d5cd60a5 Bustage fix for Windows. No bug, r=me.
--HG--
extra : convert_revision : 4901be8fd3260bb90b90fda989f624cda7401032
2010-03-02 11:18:48 +11:00
Blake Kaplan
bd22a432d9 Bug 542864 - Convert the right variable to an id. r=jorendorff 2010-02-26 17:06:23 -08:00
Andreas Gal
9d5b1c0316 Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan). 2010-03-01 13:30:23 -08:00
Jason Orendorff
c2491461c6 Bug 548276 - "Assertion failure: HAS_FUNCTION_CLASS(funobj), at ../jsdbgapi.cpp". r=jwalden. 2010-03-01 11:07:40 -06:00
Nicholas Nethercote
7acf0ac12b Update nanojit-import-rev stamp. 2010-03-01 15:02:36 +11:00
Nicholas Nethercote
10443de653 Bug 535705 - nanojit: finish regstate update fixes for i386. r=edwsmith.
--HG--
extra : convert_revision : 05949faa5b451d5452c9b5eb95296a53b555dda1
2010-03-01 14:57:19 +11:00
Nicholas Nethercote
40e2a10ebf Bug 542932 - nanojit: make opcode range checks safer (TM-specific part). r=gal. 2010-03-01 12:16:38 +11:00
Nicholas Nethercote
a6f866410c Update nanojit-import-rev stamp. 2010-03-01 12:09:04 +11:00
Nicholas Nethercote
764bc7aaa8 Bug 542932 - nanojit: make opcode range checks safer. r=stejohns.
--HG--
extra : convert_revision : a5291bc7b0cef4f41f4180db6388edebdbb4c208
2010-03-01 12:02:01 +11:00
Nicholas Nethercote
e6ef82426b Update nanojit-import-rev stamp. 2010-03-01 09:52:59 +11:00
Nicholas Nethercote
23edcdcbce Bug 535706 - nanojit: fix regstate updates for X64. r=edwsmith.
--HG--
extra : convert_revision : 6fb5f71fba861a333e17de644fe49de60bb7a1bd
2010-03-01 09:46:17 +11:00
Igor Bukanov
62a7855349 bug 515812 - less vebose enumerastion. r=lw 2010-02-26 12:11:50 -08:00
Jason Orendorff
f207cc4e99 Fix ppc breakage due to 337699f6a88a. No bug, r=burning nightly. 2010-02-25 07:10:40 -08:00
Jason Orendorff
ad75218737 Bug 539170 - Encapsulate JSScopeProperty::{getter,setter} and move assertions to init-time. r=Waldo. 2010-02-24 17:40:28 -08:00
Jason Orendorff
4b5079e907 Bug 547911 - TM: Crash [@ js_CallIteratorNext] or "Assertion failure: !JSVAL_IS_PRIMITIVE(regs.sp[-2]), at ../jsops.cpp" or "Assertion failure: regs.sp == StackBase(fp), at ../jsops.cpp" with defineGetter, StopIteration. r=brendan. 2010-02-24 17:32:46 -08:00
Jason Orendorff
b311c364f2 Follow-up fix for js::HashTable::Entry trying to access a private operator=. Long story, apparently. Informal r=luke. No bug#. 2010-02-24 15:29:53 -08:00
Brendan Eich
d60c92f837 Another followup, deferred nit-pick for 547314. 2010-02-24 14:05:36 -08:00
David Anderson
c99331c609 Better fix for recursion and let blocks (bug 547791, r=gal). 2010-02-23 16:14:34 -08:00
Luke Wagner
06cc81805b Bug 545165 - fix/simplify JSOP_CONCATN (r=jorendorff) 2010-02-19 19:22:37 -08:00
Bob Clary
28f3725d79 JavaScript Tests - disable js1_5/Regress/regress-451322.js due to slowness. 2010-02-23 07:58:00 -08:00
Andreas Gal
ad719a55e1 The test for bug 352455 is bogus, a regexp is a callable object and thus can be a getter (bug 547912 changed this behavior). 2010-02-23 02:46:46 -08:00
Andreas Gal
18afa9f743 Setters/getters can be callable objects (547912, r=brendan). 2010-02-22 22:25:09 -08:00
Andreas Gal
a2ae493dd5 Merge. 2010-02-22 20:08:15 -08:00
Andreas Gal
8d92d5fff5 Don't crash on 'typeof null' in compiled code (follow-up fix for 547314). 2010-02-22 20:07:41 -08:00
Jeff Walden
53b100ce6f Typo fix, r=waylon 2010-02-22 19:43:41 -08:00
Andreas Gal
1aabb47ea6 Followup fix for 547314. We have to unwrap in the typeOf hook due to wrapper lameness. 2010-02-22 19:30:22 -08:00
Andreas Gal
7fc1c8efb0 Introduce ObjectOps for typeOf and make trace a mandatory ObjectOp (547314, r=brendan). 2010-02-22 16:30:22 -08:00
Andreas Gal
bfa1d960a9 remove unused label have_fun (no bug, r=brendan). 2010-02-22 16:27:19 -08:00
Brendan Eich
67355cdc47 Fix bogus assertion (537854, r=mrbkap). 2010-02-22 15:30:35 -08:00
Andreas Gal
bd338bc100 Test whether obj IsCallable instead of VALUE_IS_FUNCTION for call and apply (547046, r=mrbkap). 2010-02-22 14:07:50 -08:00
David Anderson
fd9b61d7cf Fixed assertion when using recursion in a let block (bug 547791, r=gal). 2010-02-22 13:57:04 -08:00
David Anderson
980a86ab4c Fixed crash in GetPropertyByName (bug 547299, r=dmandelin). 2010-02-22 13:45:06 -08:00
Brendan Eich
493977bbcb s/pushAtom/AppendAtom/ name style police raid. 2010-02-22 13:26:57 -08:00
Robert Sayre
84d7499b25 Merge mozilla-central to tracemonkey. 2010-02-22 12:29:54 -08:00
Bob Clary
5efdcdfa7a JavaScript Tests - fix manifests for bugs 430133, 509354, 523846, 537863, 539488, 545980, 546615 2010-02-22 09:52:02 -08:00
Bob Clary
cb189e82b5 JavaScript Tests - add tests for bugs 375651, 390598, 429739, 451322, 460886, 465145, 465686, 469405, 469547, 470619, 472533, 473282, 474529, 476257, 476653, 476871, 479567, 482783, 489682 2010-02-22 09:52:01 -08:00
Andreas Gal
7ffe32a349 bug 547086 fixed bug 322957 2010-02-21 23:30:26 -08:00
Andreas Gal
1988a59472 Reland previously backed out bug 547086, it didn't cause the regression after all. 2010-02-21 00:11:54 -08:00
Andreas Gal
6e92a92c50 calculating 'this' fails if the object has no parent (547483, r=mrbkap). 2010-02-20 18:35:23 -08:00
Robert Sayre
b2bb3cb03a Patch for bug 547086 is causing a crash in the js tests. Backed out changeset 10a40c748aed 2010-02-20 07:54:48 -08:00
Andreas Gal
8afa0aa3fe js_TryMethod suppresses 'too much recursion' exception, going in circles indefinitely (bug 547086, r=mrbkap). 2010-02-19 17:34:32 -08:00
Andreas Gal
4934b15e9e Remove LiveConnect kludge from call path (1.9.3 will not have LiveConnect according to jst, r=brendan). 2010-02-19 17:31:44 -08:00
Luke Wagner
43ede71344 No bug, fix MSVC bustage from 9ee31f5535ae
--HG--
extra : rebase_source : 28eb0357555359caf1e956fb366ed63d0be2a29b
2010-02-19 15:56:46 -08:00
Nicholas Nethercote
080c011cf3 Update nanojit-import-rev stamp. 2010-02-20 10:44:12 +11:00
Nicholas Nethercote
99f1ec6fce Bug 531326 - nanojit: improve int32 and int64 constant generation in X64 backend. r=rreitmai.
--HG--
extra : convert_revision : 3fa60904a28ec82b54d7e8a9e9fac6c29e0a5324
2010-02-20 07:31:41 +11:00
David Mandelin
e9f1ec6c0c No bug, fix build bustage from 40c4ec17770d, no_r=me 2010-02-19 14:06:18 -08:00
Igor Bukanov
eef84ebc59 bug 545529 - followup to remove the cache stats output in the normal build 2010-02-19 23:58:31 +03:00
Jason Orendorff
68642d97db Bug 547274 - js_InitArrayClass is not thread-safe. r=brendan.
--HG--
extra : rebase_source : 4b9ca0af846d7b77601ebbbf642941ffd136c9c8
2010-02-19 13:05:00 -06:00
Luke Wagner
9c1074603c Bug 515812 - fix hash table constiness (r=dvander) 2010-02-19 10:02:16 -08:00
Brendan Eich
ce5b37f4ed Don't mutate a used name node that has been deoptimized before bailing from BindNameToSlot (546069, r=jorendorff). 2010-02-19 11:27:35 -08:00
Brendan Eich
aaff05c150 Don't mutate a used name node that has been deoptimized before bailing from BindNameToSlot (543436, r=jorendorff). 2010-02-19 11:21:19 -08:00
Blake Kaplan
d2eb7efd7b No bug. Make this constructor protected instead of private so that subclasses can access it. r=luke 2010-02-19 11:03:18 -08:00
Jason Orendorff
2809d3e792 Bug 547067 - Don't overload test() in JSDefinition. r=brendan. 2010-02-19 12:14:36 -06:00
Jason Orendorff
4d96795a35 Fix typo in patch for bug 545529 to fix non-JS_THREADSAFE DEBUG builds. r=bz on IRC. 2010-02-19 12:25:37 -06:00
Igor Bukanov
debaa592f7 bug 545529 - caching Class.prototype lookups. r=brendan 2010-02-19 20:44:23 +03:00
Nicholas Nethercote
2631a1b7cf Bug 539874 - nanojit: remove LIR_ov (TM-specific part). r=gal. 2010-02-19 15:12:37 +11:00
Nicholas Nethercote
f6908e48c7 Update nanojit-import-rev stamp. 2010-02-19 15:09:42 +11:00
Nicholas Nethercote
a361abc6fa Bug 539874 - nanojit: remove LIR_ov. r=edwsmith, Jacob.Bramley.
--HG--
extra : convert_revision : eb5f9b4138530e15b3ffd478071bf98bb7495405
2010-02-19 15:04:55 +11:00
Nicholas Nethercote
22610a9675 Temporarily disable an assertion; bug 547063 has details. r=me.
--HG--
extra : convert_revision : 0eb90b867a1cb9f998cdeaa9b67c984374f8fdb9
2010-02-19 08:41:14 +11:00
Steven Johnson
b965c79326 Bug 546765 - njcpudetect.h needs love for OSX-on-ARM (r=nnethercote)
--HG--
extra : convert_revision : c58036240635ccce9d084c94c6f2aa23be32602d
2010-02-17 16:19:53 -08:00
Nicholas Nethercote
33d5dd6013 Follow-up for bug 542133: fix ARMv5 bustage
--HG--
extra : convert_revision : 5a37374d04fea35b0167d057310aee6d3cadca16
2010-02-17 14:53:33 +11:00
Brendan Eich
c4b4c765a4 Fix funarg analysis to cope with escaping kids of a named function expression that use that lambda by name (545980, r=jorendorff). 2010-02-18 16:32:15 -08:00
Jason Orendorff
4fb42b4c2a Bug 546615 - Crash [@ BindNameToSlot] or "Assertion failure: cg->staticLevel >= level, at ../jsemit.cpp". r=brendan. 2010-02-18 16:01:25 -06:00
Gregor Wagner
dc4711d401 BUG 545303: TM: non API function for JS_CallTracer r=igor 2010-02-18 13:16:02 -08:00
Luke Wagner
a65ea12a40 Bug 546545 - don't trace slow natives with fun->u.n.extra > 0 (r=dvander) 2010-02-17 14:19:43 -08:00
Nicholas Nethercote
4cda0a88e8 Temporarily comment out assertion that is failing bogusly to fix WinMo builds; will be overwritten by the next NJ-to-TM merge, so we need to fix MSVC's compile-time ARM arch detection in the meantime. r=me. 2010-02-18 10:41:48 +11:00
Luke Wagner
6cc06f3b7b Bug 546668 - obj_eval should still call js_GetScriptedCaller (r=mrbkap) 2010-02-17 11:16:11 -08:00
Luke Wagner
fc7cbdfdc8 Make HashMap::put overwrite (r=jorendorff) 2010-02-17 10:47:26 -08:00
Nicholas Nethercote
dd646b8dc5 Update nanojit-import-rev stamp. 2010-02-17 13:42:07 +11:00
Nicholas Nethercote
ddcc50350c Follow-up for bug 542133: fix ARM bustage.
--HG--
extra : convert_revision : c3de98b9ee6eb052f7fda330172cc740f941605c
2010-02-17 13:36:29 +11:00
Steven Johnson
eecc554117 change 71a045ccce43 inadvertently backed out change b8f64e82da3f; this restores the latter (r=stejohns)
--HG--
extra : convert_revision : 2fbb1bbebee5e0872ea3d485a40d7f71f785f319
2010-02-16 11:59:55 -08:00
Steven Johnson
ea07a846cc fix unreachable-code warning for LIR_div/LIR_mod on non-x86 platforms (r=stejohns)
--HG--
extra : convert_revision : f1d89a6a410719c5d7563ff5ca214c05c7c128a2
2010-02-16 11:21:52 -08:00
Luke Wagner
df420a425b Bug 542797 - change obj_eval from JSNative to JSFastNative (r=mrbkap)
--HG--
extra : rebase_source : 5138b86418081cfa331b05947e5988c1f81065ef
2010-02-16 17:41:39 -08:00