Commit Graph

58679 Commits

Author SHA1 Message Date
Brendan Eich
2b4b0e0cd7 Incorrect decompilation with non-ASCII property name in destructuring (621814, r=igor). 2010-12-28 18:43:38 -08:00
Brendan Eich
97408da376 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
ace11837aa Bug 621374. Fix denseArrayElement to follow its contract for holes. r=njn 2010-12-29 16:44:47 -08:00
Brendan Eich
bbc684708a Fix bug in patch for 619003 to cure orange. 2010-12-29 14:50:07 -08:00
Igor Bukanov
3441bfebe5 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
3ed9b08a6c #ifdef DEBUG var used only in assertion to avoid warning. 2010-12-29 11:42:31 -08:00
Brendan Eich
0e94dad967 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
faaefcf02b Bug 616612 - Speed up str.substring and str.substr, r=brendan 2010-12-29 10:22:45 -05:00
timeless@mozdev.org
0ce095b780 Bug 620445 - useless null check of prefix in XMLToXMLString, r=brendan 2010-12-20 18:19:00 -08:00
timeless@mozdev.org
3a8d5e7ecf Bug 620420 - jsds_InvalidateAllEphemerals can use a do {} while() loop, r=brendan 2010-12-20 17:12:00 -08:00
Jory A. Pratt
7afae43f75 Bug 621812 - Ensure proper linking when as-needed is passed via LDFLAGS, r=khuey 2010-12-28 19:59:00 -08:00
Bill McCloskey
2d9708ea86 Bug 609212 - Trace loops with > 3 inner loops in profiler (r=dmandelin) 2010-12-28 16:10:24 -08:00
Bill McCloskey
ce00e6f2ed Bug 621716 - Abort profiling when tracejit flushes (r=dmandelin, a=blocker) 2010-12-28 15:49:26 -08:00
David Mandelin
d296d99c0b 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
7325cf5f95 Bug 620838: propagate aliases-globals flag to inner lexical scopes, r=jwalden 2010-12-28 10:41:22 -08:00
David Mandelin
5b174f775e Bug 615723: turn on method jit for web workers, r=bent 2010-12-27 16:23:09 -08:00
Jeff Walden
e2834ef56d 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
59814e4551 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
c137b2d4d9 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
fa572289d5 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
ddd7f1a0d1 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
c878b13a0a Fix a null-check typo. rs+coolhand=luke 2010-12-24 18:18:17 -05:00
Jeff Walden
6a9b79575d 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
2b587a0fb7 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
a27afaacb0 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
b3eb7cb551 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
4f8a7c63ae Bug 565615 TraceRecorder::stringify is odd, r=jorendorff 2010-05-25 17:34:09 +03:00
Igor Bukanov
4397c04f6b 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
66b90212b5 Back out faba5ec16e4f (bug 617921) for failing to build on Windows 2010-12-24 18:01:15 -08:00
timeless@mozdev.org
9e36477daf Bug 617964 jsd_NewValue leaks jsdval when JS_EnterCrossCompartmentCall fails, r=jorendorff 2010-12-09 13:14:00 -08:00
timeless@mozdev.org
854793c826 Bug 617921 Snarf should pass a positive value to fread, r=jorendorff 2010-12-09 12:42:00 -08:00
timeless@mozdev.org
cc245e503b Bug 615072 obj decl from top of Parser::letStatement is unused, r=jorendorff 2010-12-09 00:23:00 -08:00
timeless@mozdev.org
d914d27e16 Bug 603366 NewCompartment leaks compartment when compartment->init() fails, r=gal 2010-10-12 03:39:00 -07:00
Bob Clary
2e7797e47d 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
94d28ea964 Bug 621072 - Don't bake JS_THREAD_DATA(cx)->interruptFlags into traces (r=igor) 2010-12-23 15:14:33 -08:00
Bill McCloskey
8288ce56ef Bug 621032 - Move iterationCounter from JSThreadData to TraceMonitor (r=igor) 2010-12-23 15:10:36 -08:00
Bill McCloskey
6232df0383 Bug 621032 - Move MathCache from JSThreadData to JSCompartment (r=igor) 2010-12-23 15:10:25 -08:00
Igor Bukanov
648809c52a Bug 621161 - (void) annotation for TypedMarker to silence coverity warning. r=timeless 2010-12-23 19:25:49 +01:00
Igor Bukanov
a550dfdb6a Bug 621144 - (void) annotation for setjmp to silence coverity warning. r=timeless 2010-12-23 16:18:36 +01:00
Boris Zbarsky
bd8b7d50e3 Bug 614931 test. 2010-12-22 22:33:54 -05:00
Boris Zbarsky
8f8a380e4b Bug 614931. Number.toLocaleString shouldn't miscumpute the string length. r=brendan 2010-12-22 22:32:05 -05:00
Bill McCloskey
9090d0a347 Bug 584860 - TraceMonitor cleanups (r=igor) 2010-12-22 14:00:06 -08:00
Brian Hackett
b21aead711 Don't use wrong result value in stubs::SetElem, bug 620643. r=dmandelin 2010-12-22 13:11:55 -08:00
Bill McCloskey
c8eee530e2 Bug 584860 - Move TraceMonitor into compartment (r=gal) 2010-12-22 12:02:25 -08:00
Brendan Eich
3e82934231 ES5 Object.create misbehaves in particular scenario (585891, r=jwalden). 2010-12-14 18:32:41 -08:00
Bill McCloskey
679d4cc771 Bug 620029 - Add a check for negative lengths in |new Array(l)| (r=njn) 2010-12-21 16:47:13 -08:00
Daniel Holbert
f78a6b0a30 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
c66ced57da Backed out changeset d75da3b12098 (tree burning) 2010-12-21 16:06:19 -08:00
Bill McCloskey
fbc7978aad Bug 547327 - Estimate optimal number of JSObject slots (r=lw) 2010-12-21 15:54:25 -08:00
Andrew Paprocki
fe9e65f530 Bug 612624 - Fix a missing OmitPrivateMemory in dtoa. r=mrbkap 2010-12-21 13:46:01 -08:00