Commit Graph

385 Commits

Author SHA1 Message Date
Brendan Eich
1b4fbd91e6 ES5-conformance fix to make a new RegExp for each regexp literal evaluation (98409, r=jwalden). 2010-01-04 12:25:44 -08:00
Chris Leary
2ebc323e9d Bug 558002 - Convenience methods for TokenStream flags. r=jwalden 2010-04-09 18:54:51 -07:00
Sid Stamm
47a3291b46 bug 515443 CSP no-eval support. r=mrbkap,brendan 2010-03-08 00:24:50 -08:00
Jeff Walden
52312bac03 Bug 518663 - ES5: Object.getOwnPropertyNames. r=jorendorff 2009-09-24 14:33:14 -07:00
Brendan Eich
5bcc54508f Fix js_FindDuplicateFormal to crack the fun->u.i.names union correctly, and spruce it up with C++ (532041, r=jimb). 2009-12-01 14:48:05 -08:00
Jim Blandy
35e434274a Bug 499524: Always check for duplicates when destructuring params are present. r=igor
Detect duplicate names in parameter lists that include destructuring
parameters, regardless of whether the duplication becomes before or
after the destructuring. Let strict mode complaints take care of
themselves after the body has been parsed.

In BindDestructuringArg, there should never be an entry in tc->decls
for the given name if the call to js_LookupLocal didn't detect a
duplicate argument, so we can simply assert that tc->decl.lookup
returns NULL, instead of checking it.

In HashLocalName, we can tighten the assertion: both the new and
existing entries must be JSLOCAL_ARG, since we detect all non-ARG
(i.e., destructuring) duplicates early.
2009-11-26 10:23:52 -08:00
Jim Blandy
18f28c0cac Bug 514580: Forbid duplicate formal parameter names in strict mode code. r=mrbkap
Note: this patch changes the JSOPTION_STRICT warning from a TypeError
into a SyntaxError, if JSOPTION_WERROR is also set.
2009-11-19 14:08:02 -08:00
Jim Blandy
34a27f0c88 Bug 514585: Recognize "use strict" directives. r=igor 2009-11-18 13:33:53 -08:00
David Mandelin
354c79f502 Bug 525028 followup: fix build bustage on non-tracing-enabled builds, no_r=me 2009-11-09 16:42:38 -08:00
David Mandelin
f381a3d5ed Bug 525028: don't set args object properties from trace, r=dvander 2009-11-09 15:36:41 -08:00
David Anderson
ab74b2ff81 Added calleValue()/calleObject() inline helpers to JSStackFrame (bug 512371, r=brendan). 2009-10-26 17:28:56 -07:00
Robert Sayre
dd8b93c5d3 Merge mozilla-central to tracemonkey. 2009-10-26 13:29:48 -04:00
Boris Zbarsky
3aef7b8edb Bug 507448. Expose the names of the function arguments on jsdIScript. r=timeless,brendan
--HG--
rename : content/base/test/Makefile.in => js/jsd/test/Makefile.in
2009-10-26 09:30:40 -04:00
David Anderson
8231c0b9ee Clear argsobj private on trace (bug 522024, r=dmandelin). 2009-10-22 17:56:46 -07:00
Jeff Walden
58c4037788 Bug 523686 - Kill fun_enumerate, since it's no longer necessary now that bug 514603 is fixt. r=jorendorff 2009-10-21 15:00:51 -07:00
Jason Orendorff
326aa1d148 Bug 522590 - FF 3.7 crash on startup with chromebug. r=brendan. 2009-10-21 15:27:35 -05:00
Brendan Eich
9f9a05b0c3 Don't build a stack frame to execute empty scripts (516827, r=igor). 2009-10-18 17:41:24 -07:00
Jim Blandy
0d6cdd1921 Bug 514585: Use bitfields in JSScript instead of a flag word. r=brendan
This is behavior-neutral cleanup in preparation for the real patch.
2009-10-08 10:29:03 -07:00
David Mandelin
6a393c2883 Merge backout of bug 495331 patch 2009-10-05 18:32:06 -07:00
David Mandelin
42af5f9b94 Backed out changeset 9cc88d291fc0 2009-10-05 18:31:10 -07:00
Brendan Eich
d5f11b6d2f Use 'Is' in noun-phrase-named predicate (518103 followup, r=jorendorff/Waldo). 2009-10-05 16:58:54 -07:00
Brendan Eich
8dbcb884d9 Fix constructor method (foo.bar/foo[baz] initialized from a lambda) invocation to go through the method read barrier (518103, r=jorendorff). 2009-10-05 16:55:21 -07:00
David Mandelin
e7d37eba3d Bug 495331: trace JSOP_LAMBDA for non-null, non-heavyweight case, r=jorendorff,igor 2009-09-28 13:51:46 -07:00
Igor Bukanov
27c2d57074 bug 517749 - removal of weakRoots.newborn = null. r=mrbkap 2009-09-25 16:30:11 +04:00
David Mandelin
99fb23d064 Bug 511695: Fix JS warnings in MSVC8, r=brendan 2009-09-23 11:16:30 -07:00
David Mandelin
b152e9656d Bug 517117: don't trace JSOP_ARGCNT if arguments.length has been overridden, r=dvander
--HG--
extra : rebase_source : a53403064c533bdc3270408f0d29eeec12970040
2009-09-17 18:13:20 -07:00
David Mandelin
836a74cc80 No bug, fixing tinderbox orange apparently caused by missing OOM check, r=gal in person 2009-09-17 17:44:19 -07:00
Nicholas Nethercote
dc36e0b4cd Follow-up for bug 516298. r=brendan. 2009-09-14 17:38:48 +10:00
Nicholas Nethercote
79ded264a4 Bug 516298 - TM: fix three compiler warnings. r=brendan. 2009-09-14 14:17:45 +10:00
Brendan Eich
79d774b114 Bug 515815 - TM: Regression on shell test case regress-452498-224.js (r=igor). 2009-09-11 10:47:47 -07:00
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
b53824855d Bug 513119 - Change JSScript macros to methods. r=Waldo. 2009-09-09 18:52:55 -05:00
David Mandelin
512c25cdc4 Bug 504797 extra bit: newly required include in jsfun.cpp, no_r=me 2009-09-09 11:46:32 -07:00
David Mandelin
a8c3972f23 Bug 504797: give arguments objects created on trace a private value that can be used to look up argument values in the native stack, r=gal 2009-09-09 11:40:21 -07:00
Brendan Eich
7a412f40b3 JSTempValueRooter JSTVU_SINGLE over-constrains GC-thing against static allocation (515000, r=gal). 2009-09-07 00:35:27 -07:00
Igor Bukanov
6bfe4771cc bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
Jeff Walden
bb3a9524fa Bug 514603 - ES5: (function(){}).propertyIsEnumerable("prototype") should be false, not true. r=brendan 2009-09-04 02:16:05 -07:00
Luke Wagner
6bfe9f9329 Bug 460904 - rename/tweak JSTraceableFunction (take 2) 2009-09-04 13:44:31 -07:00
Luke Wagner
3087376a4d Backed out changeset 94da2f68afdb 2009-09-04 11:35:52 -07:00
Luke Wagner
52d822b6d2 Bug 460904 - rename/tweak JSTraceableFunction (r=jorendorff) 2009-09-03 11:57:14 -07:00
David Mandelin
a086bb3ab9 Bug 510642: traverse scope chain correctly for traced JSOP_BINDNAME, r=jimb 2009-08-27 15:07:46 -07:00
Jason Orendorff
dafc9b5d2a Bug 508685 - Remove last parameter of defineProperty op. r=brendan. 2009-08-26 14:28:36 -07:00
David Anderson
d6567c21e2 Build fix (followup to bug 512029). 2009-08-24 17:18:41 -07:00
David Anderson
744033066f Removed JSStackFrame::callee (bug 512029, r=brendan). 2009-08-24 17:09:44 -07:00
Luke Wagner
3cf8a59c01 Bug 503952 - Use JSTempVector in scanner/parser; remove JSStringBuffer (r=brendan) 2009-08-14 16:10:59 -07:00
Igor Bukanov
be037e50cc bug 495061 - followup - fixing a typo in JS_FASTCALL declaration 2009-08-14 20:54:26 +02: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
9dc4a54a5d Bug 498488 - Change some JSObject macros to methods. r=Waldo. 2009-08-11 15:05:44 -05:00
Jason Orendorff
d60a115007 Bug 509301 - Value chosen for callee in args_resolve is nonsense. Fixes a debug browser assertion. r=Waldo. 2009-08-10 16:23:32 -05:00
Jason Orendorff
08c6a1c780 Bug 506721 - Convert JSVAL_TO_INT and INT_TO_JSVAL to functions. r=Waldo. 2009-08-09 07:25:53 -05:00
Igor Bukanov
ef90f6f522 bug 493457 - uniform access to private slots. r=mrbkap, sr=jwalden 2009-08-04 23:06:55 +02:00
Igor Bukanov
ca5953ea0c bug 507573 - put activation clenup. r=brendan 2009-08-04 12:55:58 +02:00
David Mandelin
14faeda25e Bug 507424: allocate slots for cloneable regexps in js_AllocFlatClosure if needed, r=igor 2009-07-31 11:34:33 -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
9d0c7a2f72 Bug 495329: Trace JSOP_BINDNAME/JSOP_SETNAME for closures, r=brendan 2009-07-27 18:13:53 -07:00
Igor Bukanov
1c7dc7ec8c bug 505460 - followup to fix misspellings 2009-07-26 08:54:54 +02:00
Igor Bukanov
1fcf4af3b3 bug 505460 - preallocating reserved slots. r=brendan 2009-07-24 12:01:37 +02:00
Igor Bukanov
9534c3d315 bug 504033 - avoiding calling JSFinalizeStub. r=brendan 2009-07-22 18:23:21 +02:00
Jason Orendorff
a31f80165c Bug 503080 - Remove prototype-scope-sharing. r=brendan. 2009-07-21 16:25:11 -05: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
Andreas Gal
1af8dfb112 Avoid integer division in NewGCThing path (503157, r=jwalden). 2009-07-14 17:06:09 -07:00
Andreas Gal
f552010935 Make js_ValueToString inline (503669, r=jwalden). 2009-07-13 14:55:04 -07:00
Brendan Eich
93c0af174f Pick nits including warning provoker in jsregexp.cpp from bugs 463535 and 453730. 2009-07-09 15:18:08 -04:00
David Mandelin
975f74c278 Bug 453730: trace JSOP_ARGUMENTS, r=gal 2009-07-08 11:16:41 -07:00
Benjamin Smedberg
bc75ed217a Bug 499971 - js_GetCallVar and several others which are used as JSNatives must not be JS_REQURIES_STACK, r=jorendorff 2009-06-25 15:12:20 -04:00
Benjamin Smedberg
c7cc8fde73 Bug 498398 - fast natives such as array_sort and many others must not be JS_REQUIRES_STACK, r=jorendorff 2009-06-25 15:12:19 -04:00
Jason Orendorff
52fe5a97ba Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Brendan Eich
324ed984a8 Cast to int16 when tagging slot as an int jsval to satisfy an assertion (497146, r=igor from the future). 2009-06-10 12:15:01 -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
Blake Kaplan
d7a368c426 Bug 496245 - Assertion failure: fun->u.i.script->upvarsOffset. r=brendan/dmandelin 2009-06-08 12:13:37 -07:00
Brendan Eich
d39f51fdcb Last gasp for 496605 (r=igor). 2009-06-05 12:24:20 -07:00
Brendan Eich
4d75d6bce0 Fast ultimate fighting web-compat followup for 496605 (r=mrbkap). 2009-06-05 12:13:22 -07:00
Brendan Eich
a356c92db2 Bug 496605 - Need to prevent optimized closure escape via foo.caller still (r=igor). 2009-06-05 11:41:32 -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
David Mandelin
a90aee411c Bug 494269: trace JSOP_LAMBDA_FC, r=brendan,gal 2009-06-03 11:19:20 -07:00
Igor Bukanov
ffa8b1615c bug 495216 - proper accounting of args and vars for Call object. r=brendan 2009-05-29 14:23:58 +02:00
Igor Bukanov
0374ee3760 bug 490364 - mutating parent chain shapes only for Call objects and only when adding properties that are not parameter or var names. r=brendan 2009-05-15 11:43:19 +02: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
0416e1e679 Bug 492355 - Suspected Txul regression from JS engine changes (r=igor). 2009-05-13 17:11:23 -07:00
Igor Bukanov
3597961095 bug 491013 - fixing shared setter regression and eliminating several useless anonymous prototype objects. r=brendan 2009-05-06 20:33:10 -02:30
jorendorff
93c6d226d3 Record all calls to native functions (487134, r=gal, brendan). 2009-05-05 14:26:06 -07:00
Andreas Gal
fe1ed6adb9 Backed out changeset 6534f8b9aa74 (bug 491013, assert on startup). 2009-05-04 15:07:53 -07:00
Igor Bukanov
d77b8664fb bug 491013 - fixing shared setter regression and eliminating several useless anonymous prototype objects. r=brendan 2009-05-03 20:43:55 -04:00
Brendan Eich
52153f3522 Bug 488842 - Local Scope Variables are not displayed by default (r=mrbkap). 2009-04-22 23:22:42 -07:00
Igor Bukanov
ba556afe6d bug 487039 - caching only white-listed non-globals on the scope chain. r=brendan 2009-04-18 20:10:59 +02:00
Igor Bukanov
80295c64d7 bug 488699 - proper rooting of DeclEnv instance. r=brendan 2009-04-17 00:26:26 +02:00
Blake Kaplan
b008d59d4c Bug 487430 - call_enumerate doesn't take upvars into account. r=brendan 2009-04-14 11:29:34 -07:00
Igor Bukanov
225dc1322f bug 488029 - fixing bindname optimization regression from the bug 462734 plus creating js_DeclEnvClass instances together with Call objects. r=brendan 2009-04-14 12:54:37 +02:00
L. David Baron
c7409a6be6 Fix occasional leak of either array or hashtable entrystore allocated in js_AddLocal by accounting for fun->u.i.upvars in DestroyLocalNames. (Bug 487967) r=brendan 2009-04-11 16:03:13 -07:00
Brendan Eich
26a5b7f3fc Bug 487563 - Crash [@ js_Interpret] (r=mrbkap). 2009-04-09 18:44:54 -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
962b187fe5 upvar2, aka the big one take 2 (452598, r=mrbkap). 2009-04-05 21:17:22 -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
Robert Sayre
150b7d8a28 Merge tracemonkey to mozilla-central. 2009-03-24 13:49:05 -04:00
Igor Bukanov
a8094a7903 bug 437325 - JSThread is no longer shared between JSRuntime instances. r=brendan 2009-03-24 13:07:35 +01: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
Jason Orendorff
dbb0b6a149 Bug 481218 - js_IsCallable returns false for functions. r=brendan.
--HG--
extra : rebase_source : 52d3cba36f3fa1301223cb579bd75ec7bbd5d130
2009-03-11 10:46:45 -05:00
Brendan Eich
f32c3d8613 Bug 480657 - TM: Add an API to define traceable constructors (r=gal, jorendorff). 2009-03-03 22:53:27 -08:00
Robert Sayre
100a8e68be Bug 476374 - JSON.parse does not support reviver argument as defined in spec. r=jorendorff 2009-03-03 12:55:11 -05:00
David Mandelin
3f004a5d96 Bug 477576: memory spike on Dromaeo string due to missing GC_POKE, r=igor 2009-02-25 11:09:21 -08:00
Robert Sayre
695b4646c3 Merge tm to mc 2009-02-19 11:48:08 -05:00
Igor Bukanov
7ac32de806 bug 478543 - fixing warnings about casts between function and data pointers. r=brendan 2009-02-19 09:33:37 +01:00
Jim Blandy
2d6ea8b787 Bug 478075: Remove parent argument to js_GetCallObject. r=brendan 2009-02-18 23:57:24 -08: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
Blake Kaplan
2ba33695f7 Bug 477053 - Protect against evil E4X jsvals in args_resolve. r=brendan 2009-02-05 14:50:26 -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
Jason Orendorff
37f2985bdf Bug 476177 - TM: cx->stackPool must not be accessed on trace. r=brendan.
--HG--
extra : rebase_source : 746d61b54aa38cbe18fe31bce4efcbbad4629678
2009-01-30 17:40:05 -06:00
Igor Bukanov
f28d80b499 Backed out changeset e117c22cc1d1 - the landed patch for bug 437325 has a shutdown leak. 2009-03-22 10:15:27 +01:00
Igor Bukanov
a61176553e bug 437325 - JSThread is no longer shared between JSRuntime instances. r=brendan 2009-03-22 10:07:14 +01:00
Blake Kaplan
87667890ab Bug 462851 - Protect against enumerating the call object's prototype. r=brendan a=sayrer 2008-12-13 14:17:24 -08:00
Jason Orendorff
b7fb9bc849 Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin.
--HG--
extra : rebase_source : 19963188b2f9f96336ce6ca28dbaefccf3a639b7
2008-12-09 10:38:32 -06:00
Blake Kaplan
24f49eeef4 Bug 465705 - There must always be at least one source note. r=brendan a=sayrer
Pushing on a CLOSED TREE with a=josh
2008-11-21 12:03:58 -08:00
Andreas Gal
2a666c87e8 Emit JSOP_APPLY for .call(...) (462445, r=brendan). 2008-10-30 16:01:53 -07:00
Andreas Gal
2e3beeb970 Resolve atom/str naming conflicts in the source for narcissus, make narcissus extensions compile again (462436, r=brendan). 2008-10-30 15:38:10 -07:00
Andreas Gal
948aa93d60 Perform Function.apply in the interpreter loop bypassing js_Invoke (462265, r=brendan). 2008-10-29 23:59:19 -07:00
Jason Orendorff
a27d101dab Bug 458735 - Improve internal API for traceable natives (r=brendan, nanojit r=edwsmith) 2008-10-08 17:08:33 -05:00
Andreas Gal
708f08ca9c Properly handle side exits in scripted constructors (originally mrbkap, r=brendan, 453462). 2008-09-18 14:13:37 -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
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
Ben Turner
1e5c70827f Bug 451729 - " Allow runtime's security callbacks to be overridden by a context". r=brendan. 2008-09-05 16:24:53 -07: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
ce684a0a6e Bug 453747 - Avoid overuse of the fun_getProperty class getter to optimize getting and setting random properties on functions. r=mrbkap 2008-09-04 21:56:37 -07:00
Brendan Eich
5a8cb06838 Kind of an Array initialiser tour-de-force for bug 452878:
1. Split FastNewArray from FastNewObject built-in for greater speed/specialization and further splitting into Array_1str, etc.
2. Add Array_1str, Array_2obj, and Array_3num builtins for benchmarked new Array(...) constructions.
3. Export ARRAY_SET_DENSE_LENGTH and ARRAY_GROWBY via jsarray.h to jstracer.cpp.
4. Tweaked SetArrayElement to make common/best case code be the predicted/prefetched path.
5. js_MakeArraySlow now preserves the pre-slow length in JSSLOT_ARRAY_COUTN as a jsval-tagged int if possible -- this will help the tracer avoid aborting on dense arrays that turned slow but not sparse by addition of a named property.
6. Export js_fun_apply and js_Object from their respective .cpp files, in these cases just to jstracer.cpp via local prototypes (no .h files involved).
7. More INS_CONSTPTR and INS_CONST macrology for better names in trace debug spew.
8. Fix TraceRecorder::test_property_cache to avoid aborting on JSOP_SETNAME that creates a new global, by setting it to undefined so it can be lazily imported. This helps 3d-raytrace.js, which has an unintended global loop control variable in a function.
9. JSTraceableNative loses its premature-deadwood tclasp member (my bad).
10. TraceRecorder::record_JSOP_NEW() handles 'new Object' now along with the 'new Array' variations. I also cut down the copy-paste code from JSOP_CALL's record method to mostly what is needed now.
11. Add KNOWN_NATIVE_DECL macro for concise prototype of library-private js_* native functions, and alphabetized the lists (too long for any other order to be winning).
12. Big honking special case for foo.apply(obj, [str]), which we can generalize as needed. Helps string-tagcloud.js. What's cool is how tracing allows us to rewrite this to foo(str) with this set to obj, eliminating the Function.prototype.apply. This requires some rewriting in JSOP_ENDINIT's record method.
2008-09-01 01:24:58 -07:00
Brendan Eich
9cd8e5a539 Upvar, v0.1 (limited to looking up from eval in a function, to the function's args and vars). 2008-08-21 03:47:33 -07:00
Brendan Eich
d004346b52 Object.prototype.{hasOwnProperty,propertyIsEnumerable}. 2008-08-11 17:47:05 -07:00
Igor Bukanov
b16852c1cd bug 412296 - removal of minarg support for fast native 2008-08-08 18:02:50 +02: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
Igor Bukanov
8012684984 [Bug 411575] SM: faster js_PutCallObject, r=brendan 2008-06-30 19:17:33 +02:00
Igor Bukanov
d24b2f9846 [Bug 432881] SM: JSVAL_VOID as a pseudo-boolean. r=brendan 2008-06-25 11:43:02 +02: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
edward.lee@engineering.uiuc.edu
03eba17305 Bug 387935, Always build JS as C++, r=benjamin
--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/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
2007-07-16 11:40:49 -07:00