Brendan Eich
016b0f207a
Bug 514981 - JSStackFrame::sharp{Array,Depth} should be locals allocated due to #n[#=] usage (r=igor).
2009-09-09 20:21:15 -07:00
Jason Orendorff
e170e4b573
Bug 511728 - Misc. cleanup from bug 503080. r=igor.
...
--HG--
extra : rebase_source : f4b7b385bbece2316912ce67c77a49ac8fca6e5c
2009-09-09 15:53:37 -05:00
Brendan Eich
cce4dce512
Join lambdas assigned or initialized as methods to the compiler-created function object if we can, with a read barrier to clone on method value extractions other than call expressions (471214, r=jorendorff).
2009-09-03 14:41:19 -07:00
Andreas Gal
d4c110a6b1
Avoid bit twiddling on double values (513063, r=brendan).
2009-08-27 13:59:19 -07:00
Jason Orendorff
df3e3a355d
Bug 510709 - Assertion failure: PN_TYPE(pn) == TOK_FUNCTION, at ../jsparse.cpp. r=brendan.
2009-08-27 12:28:28 -07:00
Brendan Eich
b063d31520
Back out changeset aff171a8c4f0 (bug 471214).
2009-08-26 09:34:41 -07:00
Brendan Eich
bd8f55c0ad
Join function objects where possible (471214, r=igor).
2009-08-25 23:42:37 -07:00
David Anderson
e322e64001
Removed JSStackFrame::xmlNamespace (bug 512389, r=brendan).
2009-08-25 12:07:45 -07:00
Luke Wagner
3cf8a59c01
Bug 503952 - Use JSTempVector in scanner/parser; remove JSStringBuffer (r=brendan)
2009-08-14 16:10:59 -07:00
Jason Orendorff
d25d775501
Bug 510568 - Kill one last #if JS_HAS_LVALUE_RETURN directive. r=Waldo.
2009-08-15 07:21:06 -05:00
Igor Bukanov
7e607aac4d
bug 495061 - js_PutArgsObject and js_PutCallObject that never fail. r=brendan
2009-08-14 20:43:16 +02:00
Jason Orendorff
8384b1e239
Bug 509098 - Remove JS_HAS_LVALUE_RETURN support. r=brendan.
2009-08-13 16:18:33 -05:00
Robert Sayre
c8a923e58e
Merge mozilla-central to tracemonkey.
2009-08-12 12:18:38 -07:00
Jason Orendorff
335eeb15af
Bug 461269 - Remove TOK_RP nodes from the parse tree. r=brendan.
2009-08-10 14:00:46 -05:00
Robert Sayre
99a0962393
Backed out changeset e09130fcb013
2009-07-28 18:51:35 -04:00
Brendan Eich
8d27b07ec5
Bug 471214 - Join function objects transparently, clone via read barrier to satisfy de-facto standard (r=igor).
2009-07-28 13:20:14 -07:00
Andreas Gal
e7f2714ea1
When finalizing, deallocate memory in a separate thread (505612, r=bent,brendan,waldo).
2009-07-27 21:10:12 -07:00
David Mandelin
cfb0d1fd1b
Bug 506821: clean up trailing whitespace, r=brendan
2009-07-27 18:40:12 -07:00
Jason Orendorff
a31f80165c
Bug 503080 - Remove prototype-scope-sharing. r=brendan.
2009-07-21 16:25:11 -05:00
Brendan Eich
4632276b25
Bug 499790 - common sub-expression elim for repeated (PND_ASSIGNED | PND_FUNARG), r=mrbkap.
2009-07-17 11:36:45 -07:00
Andreas Gal
f8892ed21b
Shrink slots during GC only, split ReallocSlots into Alloc/Grow/ShrinkSlots (504478, r=igor).
2009-07-16 18:42:54 -07:00
David Anderson
a46f3aa0f0
Fix -0 modulo -x disagreement on Windows (bug 503595, r=sayrer).
2009-07-11 12:40:37 -07:00
Blake Kaplan
3cd1e79160
Bug 498993 - Don't mistake initialization for assignment when the assignment is hidden by a secon var declaration. r=brendan/jorendorff
2009-06-18 14:52:06 -07:00
Jason Orendorff
52fe5a97ba
Bug 497618 - Change JSString macros to methods. r=Waldo.
2009-06-10 20:29:44 -05:00
Jason Orendorff
45de8e01db
Bug 498395 - "Assertion failure: !(pn->pn_dflags & flag), at ../jsparse.h". r=mrbkap, r=brendan.
...
--HG--
extra : rebase_source : c3d0ecfcbbbce0c7494ffd53dc240c2b69e6eb8f
2009-06-15 15:42:00 -05:00
Brendan Eich
1bd5c5dc73
Over-parenthesize per house style and to avoid GCC warning (r=nnethercote, private communication).
2009-06-14 19:37:43 -07:00
Brendan Eich
51fe52e6f9
Wrapper automation should not apply to flat closures, plus cleanup (496790, r=igor).
2009-06-09 00:51:02 -07:00
Brendan Eich
a08c609235
Fix destructuring binding to follow the cheezy dominance relation rules of the upvar analysis (496134, r=mrbkap; take 2).
2009-06-08 13:03:50 -07:00
Robert Sayre
f44a576277
Back out bug 496134, destructuring assignment upvar fixes due to reported fuzzer problems
2009-06-06 02:20:06 -04:00
Brendan Eich
05f8dc2692
Fix destructuring binding to follow the cheezy dominance relation rules of the upvar analysis (496134, r=mrbkap).
2009-06-05 16:14:00 -07:00
Brendan Eich
b95d489795
Skip let binding not in scope (in let head, e.g.) and find any shadowed binding (496532, r=mrbkap).
2009-06-05 13:55:51 -07:00
Brendan Eich
77da9d75ed
Bug 494235: wrap escaping optimized closures for the debugger API (r=igor/mrbkap).
2009-06-04 18:58:47 -07:00
Brendan Eich
64f0a471ba
Make @ns::attr force HEAVYWEIGHT to avoid having to analyze ns as a lexical name (hack for 496316, r=igor).
2009-06-04 10:58:06 -07:00
Blake Kaplan
931a6dcb91
Bug 495843 - Crash [@ js_Interpret] or Assertion failure: cg->stackDepth == stackDepth, at ../jsemit.cpp. r=brendan
2009-06-03 01:17:20 -04:00
Brendan Eich
d3fe4a3144
Bug 495045: test tcflags for new Function's top-level, its body, when vetoing flat closure optimization based on HEAVYWEIGHTness (r=jorendorff).
2009-05-28 17:08:06 -07:00
Jason Orendorff
74a5f6c8f5
Bug 495166 - static-analysis error in jsparse.cpp JSCompiler::compileScript: return without going through label out. r=brendan.
2009-05-28 10:08:57 -05:00
Brendan Eich
f136df48d6
Bug 494954 - JS_GetScriptLineExtent() does not returns the right value (r=mrbkap).
2009-05-27 18:53:22 -07:00
Jason Orendorff
83d855cfa1
Followup to changeset f9ad6d736430 (for bug 493232): fix a stale comment. r=brendan in IRC.
2009-05-27 17:48:39 -05:00
Jason Orendorff
70dbad9c94
Bug 493232 - Wrong variable value accessed in closure. r=brendan.
2009-05-27 15:46:03 -05:00
Brendan Eich
52745d8646
Bug 494544 - Uninitialized variable undefined after assignment whose initializer is a closure capturing that var (r=mrbkap).
2009-05-23 11:01:11 -07:00
Jason Orendorff
bb1a005103
Bug 493260 - js1_5/Regress/regress-344959.js - with and eval do not inhibit the flat closure optimization. r=brendan.
2009-05-21 13:00:53 -05:00
Brendan Eich
5c7f7e02b8
Bug 493760: the real fix for problem left in wake of patch for bug 493466 (r=mrbkap).
2009-05-19 18:40:55 -07:00
Brendan Eich
72c8adabdb
Back out patch for 493760, chrome mochitests failed.
2009-05-19 16:34:40 -07:00
Brendan Eich
41f161471d
Bug 493760: fix bad typo in patch for bug 493466 (superluminal r=mrbkap).
2009-05-19 12:11:09 -07:00
Brendan Eich
d552a194d4
Bug 493466 - TM: youtube.com customization broken (r=mrbkap).
2009-05-18 18:02:51 -07:00
Brendan Eich
51dd82a552
Bug 489034 - let declaration getting lost in certain situations (r=mrbkap).
2009-05-15 15:32:57 -07:00
Jason Orendorff
cd986613f8
Bug 492714 - "Assertion failure: cg->staticLevel >= level, at ../jsemit.cpp" with genexp. r=brendan
2009-05-13 19:02:33 -05:00
Igor Bukanov
92f94e451c
bug 491126 - sharing object map for non-native objects. r=brendan
2009-05-14 12:35:23 +02:00
Brendan Eich
6ffa7ccf08
Bug 492914 - TM: trace aborts due to flat closure analysis bug (r=mrbkap).
2009-05-13 23:01:08 -07:00
Brendan Eich
c244179e84
Bug 492150 - Unexpected error occurred when japascript.options.strict is true (r=mrbkap).
2009-05-10 12:52:03 -07:00
Brendan Eich
9eb1ab4a95
Bug 471703 - Don't optimize group assignment given holey RHS (r=igor).
2009-05-07 21:50:32 -07:00
Brendan Eich
e05a9f255d
Bug 491806 - "Assertion failure: (uintN)i < ss->top, at ../jsopcode.cpp" with uneval, for, yield (r=mrbkap).
2009-05-07 21:31:42 -07:00
Jim Blandy
5f49bb8f1b
Bug 508637: Allow trailing commas in object initializers in strict mode. r=igor
2009-08-07 10:45:27 -07:00
Brendan Eich
24a0ac90ef
ug 490741 - Crash [@ js_GetUpvar] on datepick (r=mrbkap).
2009-05-01 18:55:26 -07:00
Brendan Eich
e9db6fcb64
Bug 375250 - Reject (JSON is fixed now) E4X masquerading as JS source (r=igor/mrbkap).
2009-04-29 16:46:43 -07:00
Brendan Eich
040f6baa77
Bug 490339 - Unexpected ReferenceError when using "new Function()" (r=mrbkap).
2009-04-27 14:43:49 -07:00
Brendan Eich
b554a4c785
Bug 489552 - Earth Day Recycling for Fun Kids - Assertion failure: RecycleFuncNameKids, at ../jsparse.cpp:444 (r=mrbkap).
2009-04-22 15:30:36 -07:00
Brendan Eich
b2edd9eb0c
Bug 489079 - Google Calendars disappear with latest trunk of Shredder [Error: Error parsing XML streamReferenceError: gCal is not defined] (r=mrbkap).
2009-04-21 18:20:21 -07:00
Brendan Eich
af27492080
Bug 488963 - "Assertion failure: cg->lexdeps.lookup(atom), at ../jsemit.cpp" (tachyonal r=mrbkap).
2009-04-20 18:46:46 -07:00
igor
48c3925a9a
js_SetPropertyHelper does not null *entryp for read-only properties (489171, r=gal,brendan).
2009-04-20 17:00:59 -07:00
Brendan Eich
be23b17c5d
Bug 488690 - "Assertion failure: dn->pn_defn, at ../jsemit.cpp" (r=mrbkap).
2009-04-20 15:51:27 -07:00
Brendan Eich
fc377191d1
Bug 488802 - Crash at [@js_Interpret] on YOMIURI ONLINE (r=mrbkap).
2009-04-16 23:35:58 -07:00
Brendan Eich
9d4a42aeba
Bug 488475 - "Assertion failure: \!(pn->pn_dflags & flag), at ../jsparse.h" (r=me).
2009-04-15 09:30:46 -07:00
Brendan Eich
7b9f2ffb1f
Bug 488015 - Crash [@ js_GetUpvar ] (also bogus JS errors, also probably Crash [@js_Interpret]) (future r=mrbkap, see bug).
2009-04-15 01:57:13 -07:00
Brendan Eich
8f9886f858
Bug 488272 - Crash [@ RebindLets] (r=mrbkap).
2009-04-14 17:52:13 -07:00
Brendan Eich
898204a579
Back out bad patch for 488272.
2009-04-14 17:20:12 -07:00
Brendan Eich
288ee8ccdd
Bug 488272 - Crash [@ RebindLets] (r=mrbkap).
2009-04-14 11:34:05 -07:00
Igor Bukanov
d738892163
Backed out changeset 595ebe7b82fa - it had wrong patch
2009-04-11 10:07:42 +02:00
Igor Bukanov
de22fe3e47
bug 462734 - fixing JSOP_BINDNAME caching issues. r=brendan
2009-04-11 10:04:24 +02:00
Igor Bukanov
fd755722cc
bug 486713 - fixing flag propagation to generator expression function. r=brendan
2009-04-10 20:50:47 +02:00
Brendan Eich
26a5b7f3fc
Bug 487563 - Crash [@ js_Interpret] (r=mrbkap).
2009-04-09 18:44:54 -07:00
Brendan Eich
b9323a1394
Bug 487209 - erroneous redeclaration of let ... with try {...} catch(e) {var e...} (r=mrbkap).
2009-04-08 18:42:20 -07:00
Brendan Eich
0b6ed95284
Bug 487538 - bug 487271 left three tests broken in its wake (r=mrbkap).
2009-04-08 18:27:44 -07:00
Brendan Eich
3f4a58e4f0
Bug 487271 - Crash [@ js_Invoke ], and missing google-maps background, at padmapper.com (r=mrbkap).
2009-04-08 13:14:02 -07:00
Brendan Eich
240c326a21
Bug 487320 - named function objects can escape without detection by the upvar analysis (r=mrbkap).
2009-04-07 17:10:33 -07:00
Blake Kaplan
d17152f491
Bug 487215 - A lambda expression that uses arguments might escape, so don't clear the funarg flag. r=brendan
2009-04-07 15:48:16 -07:00
Brendan Eich
962b187fe5
upvar2, aka the big one take 2 (452598, r=mrbkap).
2009-04-05 21:17:22 -07:00
Jeff Walden
a89f043904
Grammar fix to kick a rando-orange box to green
2009-04-04 19:41:50 -07:00
Andreas Gal
706120c0fb
Backed out changeset 972c44aa9d1f (bug 452598).
2009-04-04 10:14:52 -07:00
Brendan Eich
5f4d9ff474
upvar2, aka the big one (452598, r=mrbkap).
2009-04-04 10:05:49 +01:00
Igor Bukanov
a572accd66
bug 419662 - nested function definitions must come after destructuring argument initializer. r=mrbkap
2009-04-03 10:02:27 +02:00
Igor Bukanov
09ffabb7a1
bug 485164 - fixing sharp semantic regressions. r=mrbkap
2009-04-03 09:53:02 +02:00
Igor Bukanov
fdf059f766
bug 486139 - annotating destructuring JSOP_DUP for the decompiler. r=brendan
2009-04-02 16:31:54 +02:00
Igor Bukanov
7548565a13
bug 486124 - removal of unused TCF_HAS_DEFXMLNS. r=mrbkap
2009-04-01 10:33:43 +02:00
Robert Sayre
150b7d8a28
Merge tracemonkey to mozilla-central.
2009-03-24 13:49:05 -04:00
Jim Blandy
875aee5e88
Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan
2009-03-18 11:38:16 -07:00
Robert Sayre
12943580cf
Merge m-c to tracemonkey.
2009-02-23 12:44:23 -05:00
Nicholas Nethercote
bf6590048b
Bug 478340 - TM: kill many of the warnings when building 'js'. r=mrbkap
2009-02-19 11:17:31 -08:00
Jason Orendorff
4e85d8fc3e
Bug 384758 - A statement can follow an expclo without an intervening semicolon. r=igor.
2009-02-16 16:37:08 -06:00
Jim Blandy
ede7e6d142
Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb
...
Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more. In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.
Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h. The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
2009-02-18 09:14:51 -08:00
Igor Bukanov
5fb2f0b511
bug 467495 - JSOP_DEFUN fixes to deal with non-top-level function statements redeclaring local argument and variables. r=brendan
2009-02-05 14:11:04 +01:00
Brendan Eich
3fcd3cab28
Bug 454184 - Implement eval caching (r=mrbkap).
2009-01-27 19:56:55 -08:00
Robert Sayre
cd3999104d
Merge m-c to tm.
2009-01-26 13:54:59 -08:00
Blake Kaplan
5f7e26cdd5
Bug 474236 - Only throw errors when we have to. r=brendan
2009-01-20 16:31:10 -08:00
Blake Kaplan
9735f35124
Bug 474236 - Propagate EOF flags harder. r=brendan
2009-01-20 14:41:43 -08:00
Brian Crowder
1859a1f07b
Bug 465808 - use FUN_OBJECT(callerFrame->fun) instead of potentially cloned callerFrame->callee; r=brendan
2009-01-24 01:20:10 -08:00
Zbigniew Braniecki (zbraniecki@mozilla.com)
315b289f84
Backed out changeset e81a7ff740bd for proper checkin (test drive, sorry :()
2009-01-24 01:17:07 -08:00
Zbigniew Braniecki (zbraniecki@mozilla.com)
551cda4c65
Bug 4658080 - use FUN_OBJECT(callerFrame->fun) instead of potentially cloned callerFrame->callee; p=bcrowder,r=brendan
2009-01-24 01:02:29 -08:00
Igor Bukanov
f7b0f5ece5
bug 455981 - duplicated arguments no longer supported when destructuring pattern is used. r=brendan
2009-03-22 10:54:17 +01:00
Brendan Eich
8476ea6560
Bug 469940 - Automatic semicolon insertion wrongly done after var with multi-line initializer (r=mrbkap, a=sayrer).
2008-12-18 01:11:04 -08:00
Andreas Gal
2a666c87e8
Emit JSOP_APPLY for .call(...) (462445, r=brendan).
2008-10-30 16:01:53 -07:00
Andreas Gal
b037831bd9
Merge.
2008-10-29 22:50:43 -07:00
Andreas Gal
fe13c87572
Fix missing JSOP_APPLY case in an assert and a condition (462292, r=brendan).
2008-10-29 22:46:56 -07:00
Brendan Eich
1f02db1e77
ug 460870 - Round-trip change with RHS of || (r=jorendorff).
2008-10-29 17:37:12 -07:00
Andreas Gal
a0b3296770
Merge.
2008-10-29 13:31:07 -07:00
Andreas Gal
868e7934a2
Emit JSOP_APPLY for .apply(...) similar to JSOP_EVAL for .eval(...) (462209, r=brendan).
2008-10-29 13:30:41 -07:00
Graydon Hoare
f5f48d7fac
Bug 461801 - Followup correctness fix. r=brendan.
2008-10-29 13:20:34 -07:00
Graydon Hoare
a9b37c59c0
Bug 461801 - Bind containing function to eval script, so upvars work in decompiler. r=brendan
2008-10-29 11:25:36 -07:00
Jason Orendorff
e1877796ba
Bug 460501 - Round-trip change due to "&&" constant-folding leaving extra parens. r=brendan.
2008-10-21 13:35:22 -05:00
Blake Kaplan
3dc5f277d1
Bug 460452 - NaN is a boolish false. Also constant fold booleans next to operator NOT. r=brendan
2008-10-17 18:59:05 -07:00
Blake Kaplan
6b45aae2e5
Bug 460180 - Always reload pn1 since it is null if we found the end of the list. r=brendan
2008-10-15 21:35:18 -07:00
Brendan Eich
674f60c760
Final patch (I pray) for 460116 (r=jorendorff).
2008-10-15 17:39:29 -07:00
Brendan Eich
bb4b3198b6
Back out material change for bug 460116.
2008-10-15 16:10:30 -07:00
Brendan Eich
85afb14a56
Bug 460116 - buggy inCond propagation in js_FoldConstants (r=jorendorff).
2008-10-15 14:02:33 -07:00
Brendan Eich
e9e2bb73a3
Followup to patch for bug 459990 to use JS_HAS_GENERATOR_EXPRS #if'ing.
2008-10-15 12:58:05 -07:00
Brendan Eich
0c1f23de9c
Bug 459990 - Crash [@ js_FoldConstants] (r=jorendorff).
2008-10-15 12:18:05 -07:00
Jason Orendorff
fac2df33c9
Fix build breakage from change ee94be502791 (C++ error: jump across initialization)
2008-10-15 13:09:10 -05:00
Brendan Eich
4c2d686321
Fix typo.
2008-10-14 16:27:16 -07:00
Brendan Eich
0d6dd5842d
Bug 443074 - Incorrect decompilation (missing parens) with genexp in for-loop-condition (r=jorendorff).
2008-10-14 16:13:56 -07:00
Brendan Eich
3c94660673
Use standard anti-dangling-else/macro-call-expression-statement macrology.
2008-10-09 00:13:49 -07:00
Brendan Eich
c603bd095c
Fix dangling else blunder (459186, caught by Jesse's fuzzer).
2008-10-08 23:34:00 -07:00
Brendan Eich
a4e4559fa5
Bug 381843 - Move for-var-in and for-let-in hoisting from the emitter to the parser (r=mrbkap).
2008-10-08 18:43:28 -07:00
Blake Kaplan
6a6096aebd
Bug 453345 - Only look at pn_extra if we're actually a list. r=brendan
2008-09-08 11:47:15 -07:00
Taras Glek
dbf23956a4
bug 432917: Replace "must flow through label" comments with statically-checkable macro. r=igor
2008-09-08 10:51:10 -07:00
Igor Bukanov
27d83904e5
bug 453133 - merging JSOP_DEFUN and JSOP_CLOSURE. r=brendan
2008-09-08 13:58:17 +02:00
Igor Bukanov
23c5063560
bug 446386 - eliminating compiler pseudo-frames. r=brendan
2008-09-08 11:47:12 +02:00
Arpad Borsos
9b6f558fee
Bug 398946 - Remove JS_STATIC_DLL_CALLBACK and JS_DLL_CALLBACK from the tree; r=(benjamin + bent.mozilla)
2008-09-07 00:21:43 +02:00
Jim Blandy
90bf6a2d1e
Bug 97954: Give jsconfig.h a better name, and make room for the new js-config.h. r=bsmedberg
...
We'd like the SpiderMonkey configure script to generate a header file
named js-config.h to hold #definitions chosen at configure time that
affect the SpiderMonkey API, like JS_THREADSAFE. However, that name
is very similar to that of an existing header file, jsconfig.h. This
patch renames the existing header file, and updates all references to
it.
--HG--
rename : js/src/jsconfig.h => js/src/jsversion.h
2008-09-05 10:19:17 -07:00
Brendan Eich
18d5749230
Fix upvar decompilation for eval-from-fun case (452441, r=igor).
2008-08-29 00:24:11 -07:00
Blake Kaplan
eba28651d8
bug 418051 - Don't allow shorthand object initializer through destructuring assignment. r=brendan
2008-08-27 13:56:43 -07:00
Brendan Eich
73d280798c
Bug 451906 - Regression: Array index has different results (r=shaver).
2008-08-25 12:38:12 -07:00
Brendan Eich
d491ed65d3
Fix some comments and tighten up assertions about block scope (mrbkap please look).
2008-08-11 23:45:40 -07:00
Brendan Eich
eaf4254c15
Merge from mozilla-central.
2008-08-08 18:58:04 -07:00
Graydon Hoare
aaf41f8ee5
Bug 447713, remove the import/export functionality from spidermonkey, r=brendan
2008-08-06 17:34:58 -07:00
Igor Bukanov
46b1a8edf2
bug 447762 - merging var and local JS bytecodes. r=brendan
2008-08-06 16:13:22 +02:00
Blake Kaplan
062612435a
let declarations at top level and function level should not shadow var. bug 346749, r=brendan
2008-08-04 16:37:00 -07:00
Blake Kaplan
3838ee5d02
Don't pass around information we don't use. bug 448595, r=brendan
2008-08-04 16:36:35 -07:00
Brendan Eich
fc2c669949
Misc. cleanup.
2008-08-03 01:34:07 -07:00
Brendan Eich
a8c6046d8c
Avoid JSOP_POPV in global scripts from load(), etc.
2008-07-26 01:23:12 +02:00
shaver@mozilla.org
8a97552a28
merge (mostly, doesn't build)
2008-07-22 23:58:43 -04:00
Brendan Eich
a6bb7cfc89
Always select gvar ops for declared global vars, instead of only if loopy/enough-used (445901, r=shaver).
2008-07-21 15:14:14 -07:00
Igor Bukanov
fc68712767
bug 441686 - eliminating JSStackFrame.(nvars|vars). r=brendan
2008-07-20 22:13:17 +02:00
Igor Bukanov
d3223d86a3
[Bug 446229] Fixing GCC conversion warnings within SpiderMonkey. r=brendan
2008-07-20 14:53:21 +02:00
shaver@mozilla.org
beb2ed6657
Propagate TCF_COMPILE_N_GO through to inner functions, so that we can avoid nulling their parents and then cloning expensively in DEFLOCALFUN.
...
Also make Process do COMPILE_N_GO.
2008-07-18 17:15:41 -07:00
Brendan Eich
78677269db
Always select gvar ops for declared global vars, instead of only if loopy/enough-used.
2008-07-17 14:37:25 -07:00
Brendan Eich
d0966c0fc0
Clean up for-in ops and naming nit (443039, r=igor).
2008-07-01 18:59:18 -07:00
Brendan Eich
9a38bf0cdc
Eliminate useless genexp for(;;) conditions (442342, r=jorendorff).
2008-07-01 13:05:11 -07:00
Benjamin Smedberg
3ea5b08766
Merge cvs-trunk-mirror to mozilla-central up through FF3RC2build2
...
--HG--
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
2008-05-30 12:08:47 -04:00
Benjamin Smedberg
3fcc924cd2
Return to building spidermonkey as C++, because we believe we found the cause of the perf regression elsewhere (non-code).
...
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarena.c => js/src/jsarena.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsbool.c => js/src/jsbool.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jscpucfg.c => js/src/jscpucfg.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsdhash.c => js/src/jsdhash.cpp
rename : js/src/jsdtoa.c => js/src/jsdtoa.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfile.c => js/src/jsfile.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jshash.c => js/src/jshash.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsinvoke.c => js/src/jsinvoke.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jskwgen.c => js/src/jskwgen.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jslog2.c => js/src/jslog2.cpp
rename : js/src/jslong.c => js/src/jslong.cpp
rename : js/src/jsmath.c => js/src/jsmath.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsprf.c => js/src/jsprf.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsutil.c => js/src/jsutil.cpp
rename : js/src/jsxdrapi.c => js/src/jsxdrapi.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-05-27 16:58:12 -04:00
Benjamin Smedberg
71997df754
Back out revision bd9c9cbf9ec8 (build spidermonkey as C++) for perftesting and profit.
...
--HG--
rename : js/src/js.cpp => js/src/js.c
rename : js/src/jsapi.cpp => js/src/jsapi.c
rename : js/src/jsarena.cpp => js/src/jsarena.c
rename : js/src/jsarray.cpp => js/src/jsarray.c
rename : js/src/jsatom.cpp => js/src/jsatom.c
rename : js/src/jsbool.cpp => js/src/jsbool.c
rename : js/src/jscntxt.cpp => js/src/jscntxt.c
rename : js/src/jscpucfg.cpp => js/src/jscpucfg.c
rename : js/src/jsdate.cpp => js/src/jsdate.c
rename : js/src/jsdbgapi.cpp => js/src/jsdbgapi.c
rename : js/src/jsdhash.cpp => js/src/jsdhash.c
rename : js/src/jsdtoa.cpp => js/src/jsdtoa.c
rename : js/src/jsemit.cpp => js/src/jsemit.c
rename : js/src/jsexn.cpp => js/src/jsexn.c
rename : js/src/jsfile.cpp => js/src/jsfile.c
rename : js/src/jsfun.cpp => js/src/jsfun.c
rename : js/src/jsgc.cpp => js/src/jsgc.c
rename : js/src/jshash.cpp => js/src/jshash.c
rename : js/src/jsinterp.cpp => js/src/jsinterp.c
rename : js/src/jsiter.cpp => js/src/jsiter.c
rename : js/src/jskwgen.cpp => js/src/jskwgen.c
rename : js/src/jslock.cpp => js/src/jslock.c
rename : js/src/jslog2.cpp => js/src/jslog2.c
rename : js/src/jslong.cpp => js/src/jslong.c
rename : js/src/jsmath.cpp => js/src/jsmath.c
rename : js/src/jsnum.cpp => js/src/jsnum.c
rename : js/src/jsobj.cpp => js/src/jsobj.c
rename : js/src/jsopcode.cpp => js/src/jsopcode.c
rename : js/src/jsparse.cpp => js/src/jsparse.c
rename : js/src/jsprf.cpp => js/src/jsprf.c
rename : js/src/jsregexp.cpp => js/src/jsregexp.c
rename : js/src/jsscan.cpp => js/src/jsscan.c
rename : js/src/jsscope.cpp => js/src/jsscope.c
rename : js/src/jsscript.cpp => js/src/jsscript.c
rename : js/src/jsstr.cpp => js/src/jsstr.c
rename : js/src/jsutil.cpp => js/src/jsutil.c
rename : js/src/jsxdrapi.cpp => js/src/jsxdrapi.c
rename : js/src/jsxml.cpp => js/src/jsxml.c
rename : js/src/prmjtime.cpp => js/src/prmjtime.c
2008-05-27 12:19:17 -04:00