Commit Graph

21810 Commits

Author SHA1 Message Date
Brendan Eich
53df60a191 Second followup for 619003, adding the jsreftest needed to cover the bug fixed by the first followup. Some comment tweaks too.
--HG--
rename : js/src/tests/js1_8_5/regress/regress-619003.js => js/src/tests/js1_8_5/regress/regress-619003-1.js
2010-12-29 17:16:46 -08:00
Boris Zbarsky
3a933125ab Bug 621374. Fix denseArrayElement to follow its contract for holes. r=njn 2010-12-29 16:44:47 -08:00
Brendan Eich
4412c87cca Fix bug in patch for 619003 to cure orange. 2010-12-29 14:50:07 -08:00
Igor Bukanov
5b27c7fc3f bug 621180 - moving JSThreadData::cachedNativeIterators into the compartment. r=(wmccloskey
--HG--
extra : rebase_source : 460ccf67d3a01e44ab65f1db3b2a38694f3d5411
2010-12-29 20:09:04 +01:00
Brendan Eich
597a7db1de #ifdef DEBUG var used only in assertion to avoid warning. 2010-12-29 11:42:31 -08:00
Brendan Eich
4af8fa5436 Restore append-only fun->u.i.names rule by binding destructured-to vars for destructuring args after binding all args (619003, r=igor). 2010-12-27 15:10:58 -08:00
Tom Schuster
2277d22b46 Bug 616612 - Speed up str.substring and str.substr, r=brendan 2010-12-29 10:22:45 -05:00
timeless@mozdev.org
151fc31280 Bug 620445 - useless null check of prefix in XMLToXMLString, r=brendan 2010-12-20 18:19:00 -08:00
timeless@mozdev.org
2e4a9b2c4c Bug 620420 - jsds_InvalidateAllEphemerals can use a do {} while() loop, r=brendan 2010-12-20 17:12:00 -08:00
Jory A. Pratt
33b17fe070 Bug 621812 - Ensure proper linking when as-needed is passed via LDFLAGS, r=khuey 2010-12-28 19:59:00 -08:00
Bill McCloskey
3fa2373a16 Bug 609212 - Trace loops with > 3 inner loops in profiler (r=dmandelin) 2010-12-28 16:10:24 -08:00
Bill McCloskey
70705625da Bug 621716 - Abort profiling when tracejit flushes (r=dmandelin, a=blocker) 2010-12-28 15:49:26 -08:00
David Mandelin
083298623b Bug 615065: don't optimize to globals where there might be aliasing in the other BindNameToSlot path, r=jwalden 2010-12-28 14:20:42 -08:00
David Mandelin
c824d00000 Bug 620838: propagate aliases-globals flag to inner lexical scopes, r=jwalden 2010-12-28 10:41:22 -08:00
Jeff Walden
68c482c1e0 Require JSFunction::inStrictMode() callers to check for isInterpreted() first, since most already know that the function in question is interpreted. r=dmandelin 2010-12-22 21:06:08 -05:00
Jeff Walden
2219b8779d Bug 620315 - "Assertion failure: unexpected constantly false guard detected" with "use strict", 4 > this. Fix a problem where we weren't marking functions created by |new Function| as accepting a primitive this value when their body was strict mode, by removing the duplicative bit that was being checked. r=dmandelin 2010-12-22 18:05:07 -05:00
Jeff Walden
d45991c529 Bug 610350 - Assigning to a named function's name in strict mode code should throw. r=brendan 2010-11-12 14:33:46 -08:00
Jeff Walden
d8cab89e2a Bug 620130 - Calls to eval with same code + varying strict mode of script containing eval == fail. r=brendan 2010-12-18 14:17:09 -06:00
Jeff Walden
68deadf97f Bug 575535 - ES5 Function.prototype.{apply,call} do not coerce |this| to object. We've done this since the original strict-this patch landed, but we haven't deliberately tested this aspect of {apply,call} -- do so here. r=jorendorff 2010-12-08 11:33:05 -08:00
Jeff Walden
7fca414fdc Fix a null-check typo. rs+coolhand=luke 2010-12-24 18:18:17 -05:00
Jeff Walden
388b986a98 Add tests for bug 600392, which was fixed by a backout in bug 599159. r=testingonlychange 2010-12-22 21:32:02 -05:00
Paul Biggar
a2ff8bc37a Bug 620880 - Change default --jitflags to mjp (r=dmandelin)
When running |jit-test/jit_tests.py|, use --jitflags=mjp by default.
When running |make check|, use --jitflags=m,j,mj,mjp,mjd by default.
2010-12-27 11:31:36 -08:00
Paul Biggar
c9dd9c9ad6 Bug 621341 - make jit_test.py and jstests.py executable (r=dmandelin)
Change their permission bits, and add interpreter lines.
2010-12-27 11:31:32 -08:00
Phil Ringnalda
809aab6df1 Bug 621348 - Disable regress-336410-2.js on debug Linux where it times out, r=bclary 2010-12-26 08:00:18 -08:00
timeless@mozdev.org
05c11948c4 Bug 565615 TraceRecorder::stringify is odd, r=jorendorff 2010-05-25 17:34:09 +03:00
Igor Bukanov
6f324ec97c Bug 619641 - making jsd to return "anonymous" for nameless functions, not an empty string, for compatibility with Firebug. r=adrake 2010-12-23 22:41:57 +01:00
Phil Ringnalda
898c3398d3 Back out faba5ec16e4f (bug 617921) for failing to build on Windows 2010-12-24 18:01:15 -08:00
timeless@mozdev.org
ab8210a0dc Bug 617964 jsd_NewValue leaks jsdval when JS_EnterCrossCompartmentCall fails, r=jorendorff 2010-12-09 13:14:00 -08:00
timeless@mozdev.org
bfe62f3b02 Bug 617921 Snarf should pass a positive value to fread, r=jorendorff 2010-12-09 12:42:00 -08:00
timeless@mozdev.org
d5e34fd067 Bug 615072 obj decl from top of Parser::letStatement is unused, r=jorendorff 2010-12-09 00:23:00 -08:00
timeless@mozdev.org
a51ab00b5f Bug 603366 NewCompartment leaks compartment when compartment->init() fails, r=gal 2010-10-12 03:39:00 -07:00
Bob Clary
8413cee48b Bug 615011 - Disable jsreftest/tests/jsreftest.html?test=js1_5/extensions/regress-336409-2.js on Linux debug where it times out, r=philor 2010-12-22 22:11:00 -08:00
Bill McCloskey
a5e1e479c3 Bug 621072 - Don't bake JS_THREAD_DATA(cx)->interruptFlags into traces (r=igor) 2010-12-23 15:14:33 -08:00
Bill McCloskey
895fc4a6e7 Bug 621032 - Move iterationCounter from JSThreadData to TraceMonitor (r=igor) 2010-12-23 15:10:36 -08:00
Bill McCloskey
3678411551 Bug 621032 - Move MathCache from JSThreadData to JSCompartment (r=igor) 2010-12-23 15:10:25 -08:00
Igor Bukanov
9b4f183391 Bug 621161 - (void) annotation for TypedMarker to silence coverity warning. r=timeless 2010-12-23 19:25:49 +01:00
Igor Bukanov
fd2d51771d Bug 621144 - (void) annotation for setjmp to silence coverity warning. r=timeless 2010-12-23 16:18:36 +01:00
Boris Zbarsky
25f651f409 Bug 614931 test. 2010-12-22 22:33:54 -05:00
Boris Zbarsky
d62465ea30 Bug 614931. Number.toLocaleString shouldn't miscumpute the string length. r=brendan 2010-12-22 22:32:05 -05:00
Bill McCloskey
0e8ba5e27f Bug 584860 - TraceMonitor cleanups (r=igor) 2010-12-22 14:00:06 -08:00
Brian Hackett
a1c3c02b8c Don't use wrong result value in stubs::SetElem, bug 620643. r=dmandelin 2010-12-22 13:11:55 -08:00
Bill McCloskey
dd2b95314a Bug 584860 - Move TraceMonitor into compartment (r=gal) 2010-12-22 12:02:25 -08:00
Brendan Eich
8fd7c73f7f ES5 Object.create misbehaves in particular scenario (585891, r=jwalden). 2010-12-14 18:32:41 -08:00
Bill McCloskey
122d634c29 Bug 620029 - Add a check for negative lengths in |new Array(l)| (r=njn) 2010-12-21 16:47:13 -08:00
Daniel Holbert
c3e798be52 Bug 613092: return NULL instead of JS_FALSE from method 'addScript' whose return type is a pointer (in jsdbgapi.cpp). r=dmandelin 2010-12-21 16:07:17 -08:00
Bill McCloskey
b7777d8147 Backed out changeset d75da3b12098 (tree burning) 2010-12-21 16:06:19 -08:00
Bill McCloskey
e02113d1cf Bug 547327 - Estimate optimal number of JSObject slots (r=lw) 2010-12-21 15:54:25 -08:00
Andrew Paprocki
635d9fb821 Bug 612624 - Fix a missing OmitPrivateMemory in dtoa. r=mrbkap 2010-12-21 13:46:01 -08:00
David Mandelin
6e569edaba Fix MSVC warnings 2010-12-21 12:58:02 -08:00
Bill McCloskey
42861790b5 Bug 620562 - Fix JSOP_STOP recording when in an imacro (r=dmandelin) 2010-12-21 12:14:02 -08:00