Commit Graph

58669 Commits

Author SHA1 Message Date
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
David Mandelin
2e409f25f8 Fix MSVC warnings 2010-12-21 12:58:02 -08:00
Bill McCloskey
9c54c5a295 Bug 620562 - Fix JSOP_STOP recording when in an imacro (r=dmandelin) 2010-12-21 12:14:02 -08:00
Igor Bukanov
611a1ac7e3 Bug 620376 - follow up to fix the test to correctly report when timeout function is not available
--HG--
extra : rebase_source : e228f970a35fcb02f8720ff1dcac13724a506aa7
2010-12-21 16:03:01 +01:00
Jacek Caban
71933566ca Bug 615212 - GCC's win64 ABI change broke compilation on mingw-w64 (methodjit part) r=dvander 2010-12-21 15:19:12 +00:00
Igor Bukanov
3e0168d2c2 Bug 620376 - ArrayToIdVector from jsproxy.cpp should check for operation callback invocations. r=gal 2010-12-21 11:21:26 +01:00
Boris Zbarsky
603766b9f3 Bug 617617. Remove remnants of the assumption that inc() and incHelper() preserve type. r=njn 2010-12-20 16:48:28 -05:00
Bill McCloskey
8cbdef706f Bug 618362 - Fix offset when accessing args in strict mode (r=njn) 2010-12-20 13:47:27 -08:00
Chris Leary
550ccf784f Back out the accidental part of 11094bb03918. 2010-12-20 11:15:43 -08:00
Jim Blandy
9db35ebe28 Fix comment typo in f30da38f918b. no r 2010-12-20 09:43:18 -08:00
Nicholas Nethercote
a455493f3a JM: shrink JITScript on 64-bit platforms. r=dvander. 2010-12-19 19:56:00 -08:00