Commit Graph

2049 Commits

Author SHA1 Message Date
Andreas Gal
1eadb6d958 Backed out changeset 1a747dd43904 (bug 521880). 2009-10-12 18:00:48 -07:00
Andreas Gal
8f9daae9e4 Avoid JSArena as temp buffer in TraceRecorder::snapshot (521880, r=luke). 2009-10-12 14:40:06 -07:00
Robert Sayre
8e2e9f852b Merge tracemonkey to mozilla-central. 2009-10-10 20:42:24 -05:00
David Anderson
39458dcaa0 Removed arena reservations from ExecuteTree (bug 521309, r=gal). 2009-10-08 19:58:41 -07:00
Luke Wagner
2c0ed14a2a Followup to bug 520590 - forgot some bits (r=dvander)
--HG--
extra : rebase_source : edd2fd48b652ac9e17c40bab8203b3c5edc1bd43
2009-10-08 14:45:04 -07:00
Luke Wagner
5e977664ab Bug 520590 - RecordLoopEdge mis-aborts on inner tree 2009-10-06 14:48:09 -07:00
Igor Bukanov
fe9d4ed1fa bug 454435 - optimizing allocation of doubles. r=brendan 2009-10-08 20:08:00 +04:00
Andreas Gal
a024eeb2fd Disable speculative integer multiplication on ARM due to a bug in the nanojit backend (521152, r=dvander). 2009-10-07 19:08:55 -07:00
Luke Wagner
b290332e93 Bug 521081 - nested tree call guard checks the wrong state (r=gal) 2009-10-07 14:20:06 -07:00
Luke Wagner
84444354a0 followup to bug 515440 - remove bogus assertion (r=gal) 2009-10-07 14:19:18 -07:00
David Anderson
7949d31eed Backed out changeset f0d8feea4d9e. 2009-10-06 20:16:33 -07:00
David Anderson
31fdfa17e9 Temporarily disable recursion to track down tgfx regression (bug 520321, r=sayrer). 2009-10-06 18:49:35 -07:00
David Mandelin
42af5f9b94 Backed out changeset 9cc88d291fc0 2009-10-05 18:31:10 -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
David Anderson
9befc27ed3 Removed assertion that had too many false positives (bug 519534, r=gal). 2009-10-05 13:41:02 -07:00
David Anderson
bb98c5c119 Fixed attemptTreeCall not checking deep-abort status correctly (bug 520492, r=gal). 2009-10-05 13:21:13 -07:00
Luke Wagner
f9b92a4224 Bug 520336 - mark recorder's TreeInfo (r=brendan) 2009-10-03 23:32:00 -07:00
Luke Wagner
5926a3b2b4 Bug 520323 - Using a Fragment in RecordTree after flush (r=gal)
--HG--
extra : rebase_source : a8beacaaffe96268db3dd61e886a702a4c54fc28
2009-10-02 18:23:39 -07:00
David Anderson
ab2f179aab Static analysis fixes, recursion fallout (bug 520320, r=gal). 2009-10-02 17:55:57 -07:00
Luke Wagner
aea86371a1 Bug 520311 - flush called during JSTraceMonitor::mark; may vex the recorder (r=gal) 2009-10-02 17:02:04 -07:00
David Anderson
b21e218905 Fixed js_PopInterpFrame breaking arena LIFO requirement (bug 520210, r=brendan). 2009-10-02 13:52:54 -07:00
David Anderson
ef74738c2c Fixed accidentally trying to trace recursive argc!=nargs which is not yet supported (bug 519999, r=brendan). 2009-10-01 12:06:59 -07:00
David Anderson
64c7ff1a86 Fixed potential crash if up-recursive trace compiles and runs before down-recursive trace (build bustage, no_r=me). 2009-09-30 18:12:14 -07:00
David Anderson
560cc2ef8c Fixed GCC complaints (recursion fallout 3, yay). 2009-09-30 19:58:54 -04:00
David Anderson
3e3b3a2362 Trace recursive function calls (bug 459301, r=gal). 2009-09-30 15:28:00 -07:00
David Anderson
5aeb5cef7e Internalize and memoize FrameInfo pointers (bug 501398, r=brendan). 2009-09-30 13:00:16 -07:00
Graydon Hoare
59db3f60b0 Bug 519575 - NJ merge: more LIR.h drift, r=gal. 2009-09-29 16:36:37 -07:00
Brendan Eich
4bf4354638 High-level CSE for shape guards (518448, r=jorendorff). 2009-09-29 19:05:19 -07:00
David Anderson
019e8e15ce Backed out changeset 911d01b21463 2009-09-29 16:24:59 -07:00
David Anderson
a64d9ec66a Internalize and memoize FrameInfo structures (bug 501398, r=brendan). 2009-09-29 14:33:43 -07:00
Nicholas Nethercote
c70f7763f4 Bug 519156 - TM: fix the Tracker. r=gal. 2009-09-29 11:12:46 +10:00
Graydon Hoare
ce8212d362 Bug 518744 - TM: mark and rewind dataAlloc, r=gal.
--HG--
extra : rebase_source : fd9eac329fc70879ad5b45a267152937fed693fb
2009-09-25 17:20:01 -07:00
Robert Sayre
4634c6d9f1 Merge. 2009-09-28 12:05:41 -07:00
Luke Wagner
1fbbde3ae1 Bug 519004 - make deep abort danger more clear and present (r=dvander) 2009-09-28 09:03:21 -07:00
Robert Sayre
6b74778c56 Merge backout. 2009-09-26 18:58:56 -07:00
Robert Sayre
7e3d716d38 Backed out changeset f5ea964eb493sdf 2009-09-26 18:55:25 -07:00
David Anderson
e48222eb05 Fix bogus return values with SETELEM without a POP when deep bailing (bug 518492, r=gal). 2009-09-25 18:20:06 -07:00
Brendan Eich
69fd06459c High-level CSE for shape guards (518448, r=jorendorff). 2009-09-25 14:07:08 -07:00
David Anderson
d0675c7603 Fixed instanceof returning bogus result after deep bail (bug 518492, r=jorendorff). 2009-09-25 11:39:52 -07:00
Andreas Gal :gal
9089264187 Bug 517640. TM: we don't substitute the global object for apply(null, ...). r=mrbkap 2009-09-25 11:16:44 -04:00
Nicholas Nethercote
7ca135d39f Bug 518747 - NJ merge: get rid of NJ_LOG2_PAGE_SIZE et al. r=graydon. 2009-09-25 16:01:55 +10:00
Nicholas Nethercote
20271af76e Bug 518724 - NJ merge: yet more Assembler/Nativei386.cpp folderol. r=graydon. 2009-09-25 10:21:35 +10:00
Luke Wagner
a79d78e239 Fix ridiculous manual merge error. (r=graydon) 2009-09-24 12:40:13 -07:00
Luke Wagner
668372111c Bug 517973 - remove deep abort, fix blacklisting bug 2009-09-23 18:21:41 -07:00
Nicholas Nethercote
9598899fc8 Bug 518477 - NJ merge: LIR.{cpp,h} changes from TR. r=graydon. 2009-09-24 10:42:25 +10:00
Graydon Hoare
f0b694edca Bug 517083 - Fix performance regression, r=dvander.
--HG--
extra : rebase_source : 57e132434da8c652c41ffa889aa2002eeeb4698c
2009-09-23 15:12:58 -07:00
David Mandelin
99fb23d064 Bug 511695: Fix JS warnings in MSVC8, r=brendan 2009-09-23 11:16:30 -07:00
David Mandelin
449c761537 Bug 517633 followup: fix printf format strings, no_r=me 2009-09-22 17:06:32 -07:00
Graydon Hoare
a18f57ecfd Bug 495734 - NJ: don't store non-LIR data in LIR buffers, r=gal.
--HG--
extra : rebase_source : 4a73fd251f3077fe3623ef1341a8aa3729a4e8bf
2009-09-22 16:06:52 -07:00
Graydon Hoare
ccc6ad4904 Bug 517083 - TM: introduce a temp allocator for allocations during recording and compilation, r=gal. 2009-09-22 12:36:20 -07:00
Graydon Hoare
21b35a3bac Bug 517633 - Fix trailing-semicolon typo that broke build, r=me. 2009-09-22 16:22:07 -07:00
David Mandelin
10e9f4f6b8 Bug 517633: printf that can be called from trace, r=lw
--HG--
extra : rebase_source : 7bf61fae910feab40ef706717420e883ccafc4da
2009-09-22 15:02:50 -07:00
David Mandelin
d9aa08a20b Bug 523745 diagnostic: switch argument order on string case label comparisons to see if we are crashing here, r=dvander 2009-11-13 16:23:00 -08:00
David Mandelin
dbad0b0f5d Bug 519363 - topcrash [@ js_Interpret], change some code to aid in debugging efforts. r=brendan
--HG--
extra : rebase_source : 51c16011f74f154bee8d124b2dedfd5f2f5a5a62
2009-10-07 17:30:34 -07:00
Robert Sayre
b635467e82 Merge backout 2009-09-26 08:22:56 -07:00
Robert Sayre
5dbce00686 Backed out changeset f5ea964eb493. (Brendan Eich — High-level CSE for shape guards (518448, r=jorendorff). 2009-09-26 08:16:58 -07:00
Robert Sayre
5f2aafc67c Merge 2009-09-25 20:35:33 -07:00
Doug Turner
1af28ccf1f Bug 517999 - Some floating point values crash VFP enabled CPUs. r=gal 2009-09-25 11:16:08 -07:00
Andreas Gal
23b5f8a4b9 Bug 517567: NJ: ARM asm_arg does not handle LIR_ldq in register parameters with softfloat, r=dvander 2009-09-21 12:35:37 -07:00
Jeff Walden
553915decf Bug 307791 - Implement ES5's Object.keys(O). r=jorendorff 2009-09-08 15:59:14 -07:00
Brendan Eich
4bb103007a Sync record_JSOP_LAMBDA with interpreter (517637, r=jorendorff). 2009-09-21 16:41:16 -07:00
Andreas Gal
fae898aa3f Bug 517567: NJ: ARM asm_arg does not handle LIR_ldq in register parameters with softfloat, r=dvander 2009-09-21 12:30:39 -07:00
Julian Seward
20c60b8f33 Bug 514071: fix 32/64-bit format warnings in TMFLAGS=stats code, r=graydon 2009-09-21 11:14:07 -07:00
Blake Kaplan
ed88fddf07 Bug 517721 - Deal with incelem on NULL. r=gal 2009-09-19 17:18:34 -07:00
David Mandelin
7c2e702632 Bug 517345: fix jitstats architecture flags, r=gal
--HG--
extra : rebase_source : bea8fd342f3f57071150c64e689971f14ecaa55e
2009-09-18 14:27:07 -07:00
Jason Orendorff
3260b4d4c5 Merge. 2009-09-18 08:55:30 -05:00
Jason Orendorff
b74384b5c8 Backed out changeset 3f508cfdfa36 (bug 500431) due to tinderbox orangeness 2009-09-18 08:55:01 -05: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
38779e6762 Bug 516062: detect overridden arguments.length on trace for JSOP_ARGCNT, r=dvander 2009-09-17 18:00:01 -07:00
Jason Orendorff
b040e5c724 Bug 500431 - Encapsulate the property cache using C++ best practices - Part 2, refactoring. r=Waldo. 2009-09-17 18:24:38 -05:00
David Anderson
d89c2f19a1 Fix over-counting of trace abort stats (no bug, r=gal). 2009-09-17 15:42:48 -07:00
David Anderson
1be03c2e1d Added LIR_div/LIR_mod support to x64 Nanojit (bug 516898,
r=njn).
2009-09-17 14:32:12 -07:00
Graydon Hoare
377ef84d89 Bug 517335 - TM: Add a 'cacheFlushed' counter to the tracemonkey stats, r=dvander. 2009-09-16 16:12:25 -07:00
Graydon Hoare
963fd74e53 Bug 516620 - Kill off residue of MMgc, r=gal.
--HG--
extra : rebase_source : 1bd814f499014507fb60ad554687b12b9fe09a3e
2009-09-10 16:29:36 -07:00
Blake Kaplan
c39783bcf1 Bug 513160 - Rework how we calculate this on trace. 2009-09-15 21:18:33 -07:00
Graydon Hoare
d0efa663da Bug 503424 - Additional followup to fix more profound build-breakage, r=me. 2009-09-15 17:07:33 -07:00
Julian Seward
b214130415 Bug 503424 - Add built-in support for compiled-trace and -guard profiling, r=graydon. 2009-09-15 15:05:53 -07:00
Graydon Hoare
2521578c2d Backed out changeset 35777195800a, perf regression. 2009-09-14 21:07:57 -07:00
Graydon Hoare
5d33edd2e9 Bug 516620 - Kill off residue of MMgc, r=gal. 2009-09-10 16:29:36 -07:00
Brendan Eich
eaabbf253c Bug 516075 - Move shape into JSObjectMap from JSScope, const-ipate and use LIR_ldc* to get to it (r=jorendorff). 2009-09-14 20:29:46 -04:00
David Anderson
92ad5b2859 Renamed JSOP_LOOP to JSOP_TRACE, which now also gets emitted at the start of scripts (bug 515806, r=brendan). 2009-09-14 17:26:16 -07:00
Graydon Hoare
1b282006e0 Bug 516567 - Remove unused error codes from Assembler, r=gal. 2009-09-10 16:05:47 -07:00
Luke Wagner
854c0294df Bug 412571 - replace thisp with thisv (r=brendan,mrbkap) 2009-09-11 19:07:00 -07:00
Andreas Gal
ec9363019f Add a way to flush CodeAllocs without deleting/recreating (515874, r=graydon). 2009-09-12 23:06:51 -07:00
Andreas Gal
72c92b196f Use a single code cache for the JIT and the RegExp compiler (515852, r=dmandelin). 2009-09-12 23:04:27 -07:00
David Mandelin
cfdd0c20d7 Bug 516009: do stack update after all guards for JSOP_LAMBDA_FC, r=gal 2009-09-11 17:32:20 -07:00
Brendan Eich
1f562c224a Bug 516069 - Common the side exit used with shape guards (r=gal). 2009-09-11 15:44:30 -07:00
Graydon Hoare
ee59e42dc3 Bug 518730 - TM: change the allocators to calloc, r=gal. 2009-09-25 15:16:10 -07:00
Graydon Hoare
b5097e03aa Bug 497009 - Deallocate LIR after recording, r=gal.
--HG--
extra : rebase_source : 5fc9d76620f83d3bbf6ba7a4656c296654bb6323
2009-09-23 18:46:34 -07:00
David Anderson
a17ec3c834 Follow-up nits (spacing, comment typo) to bug 513844. 2009-09-10 17:24:28 -07:00
David Mandelin
0fcb7aaa76 Bug 500857: show JIT reset events in tracevis, r=nnethercote
--HG--
extra : rebase_source : a9be775abf15badf980e3be3535e99b30ce5c235
2009-09-10 16:06:34 -07:00
David Anderson
0638ddff8d Follow-up fix for SanityFilter triggering on ill-typed LIR (bug 513844, no_r=me). 2009-09-10 15:41:48 -07:00
David Anderson
fdcaf63219 Greatly improved tracer x64 compliance and compatibility (bug 513844, r=gal). 2009-09-10 15:38:18 -07:00
Andreas Gal
b6a2946c7a Tracker::get must never be called for values not in the tracker (515752, r=dmandelin). 2009-09-10 13:11:26 -07:00
Brendan Eich
811ccb299a Fixes based on jorendorff's comments in bug 515273. 2009-09-10 10:54:33 -07:00
Brendan Eich
706bd30498 Fix js*inlines.h harder (515628, r=jorendorff). 2009-09-10 10:23:52 -07:00
Jason Orendorff
4e3fc88ef8 Fix release-only linker error introduced by changeset 08ab547f6808 (having to do with jsscriptinlines.h). r=red. 2009-09-10 11:50:43 -05: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
Andreas Gal
bd58a78c21 Set nativeVp immediately before the native call (514999, r=mrbkap). 2009-09-09 17:38:07 -07:00
Jason Orendorff
b53824855d Bug 513119 - Change JSScript macros to methods. r=Waldo. 2009-09-09 18:52:55 -05:00
Graydon Hoare
c49ca202b2 Bug 511938 - Fix up recently-invalidated assertion, r=dvander. 2009-09-09 11:36:24 -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
Nicholas Nethercote
21dbf49f8b Bug 515138 - TM/nanojit: merge the two StackFilter passes. r=gal. 2009-09-09 11:48:30 +10:00
David Anderson
7b69388035 Fixed a hack that created temporarily ill-typed LIR, i2f(i2f) (bug 503427, r=gal). 2009-09-08 16:47:55 -07:00
Nicholas Nethercote
6ee8551d7d Bug 512824 - TM: gcc complains about invalid aliasing in LIR.h. r=gal. 2009-09-09 09:18:41 +10:00
Igor Bukanov
6bfe4771cc bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
Andreas Gal
27381a9ab1 Reset nativeVp only after the native call returns (513981, r=mrbkap). 2009-09-04 17:00:08 -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
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
Nicholas Nethercote
0abd6c54da Bug 511051 - TM/nanojit: use NULL as the condition for unconditional guards, again. r=gal. 2009-09-03 13:06:31 +10:00
Brendan Eich
932d989110 Fix net vs. gross botches from patch for 489899 (514112, r=gal). 2009-09-01 22:54:02 -07:00
Andreas Gal
447939882c Load state after spilling or we might clobber a callee-saved register (513878, r=dvander). 2009-09-01 15:30:19 -07:00
David Anderson
21466cd521 Added LIR_float to distinguish NULL from 0.0 on x64 (bug 513838, r=gal,rreitmai). 2009-09-01 14:26:24 -07:00
Nicholas Nethercote
e409ab2bb3 Bug 512596 - TM: improve TMFLAGS=help message. r=jseward. 2009-09-01 10:08:46 +10:00
David Anderson
935ae0427d Fixed all ARGSIZE_LO usages to be ARGSIZE_P or ARGSIZE_I (bug 513790, r=jorendorff). 2009-08-31 16:06:24 -07:00
Andreas Gal
c85b53a42a Backout bug 512617. 2009-08-29 18:46:27 -07:00
Andreas Gal
13d0507fa2 More fallout from bug 512617 bonus patch. 2009-08-29 13:33:10 -07:00
Andreas Gal
8b20919625 Restore 'CALLEE' tracable native type, quickstubs need it (compilation fix for bug 512617). 2009-08-29 13:05:16 -07:00
Andreas Gal
64328a8e94 Consolidate object creation on trace (512617, r=jorendorff). 2009-08-29 12:36:00 -07:00
Andreas Gal
14813a11f4 Remove some TM-only fields from nanojit (513187, r=dvander). 2009-08-28 14:36:37 -07:00
Igor Bukanov
b919139e8d bug 511425 - removal of JSObjectOps.(get|set)RequiredSlot. r=brendan 2009-08-28 09:53:26 +04:00
Andreas Gal
317b5f2e3a Remove explicitSavedRegs and loop hacks from nanojit (513139, r=dvander). 2009-08-27 18:46:45 -07:00
Graydon Hoare
5b06cc0665 Bug 510602 - Massage LIR opcodes to merge state, r=dvander. 2009-08-27 17:52:46 -07:00
Graydon Hoare
fa12dc4a05 Bug 513049 - TM: Add env var to force-disable SSE, r=gal. 2009-08-27 17:16:13 -07:00
David Mandelin
368b225d78 Bug 505591: trace JSOP_NAME for returned closures, r=dvander
--HG--
extra : rebase_source : 496a99feeb0fee876cd72b24e1e753d9b41ea51f
2009-08-27 15:40:37 -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
Luke Wagner
99a4b18694 Added #ifdef JS_TRACER. Added JS_REQUIRES_STACK. 2009-08-27 13:52:29 -07:00
Luke Wagner
a5b9103165 Bug 419743 - Add JSOP_CONCATN (r=waldo) 2009-08-18 15:43:17 -07:00
Jason Orendorff
dafc9b5d2a Bug 508685 - Remove last parameter of defineProperty op. r=brendan. 2009-08-26 14:28:36 -07:00
Robert Sayre
2b65c06912 Merge mozilla-central to tracemonkey. 2009-08-26 13:09:40 -07:00
Andreas Gal
be09aa48c3 Only specialize math function if the argument is really a number (511837, r=dvander). 2009-08-26 12:16:11 -07:00
Andreas Gal
67fe30f1e7 Backed out changeset dc2598d08078 (re-landing bug 504516). 2009-08-26 09:58:51 -07:00
Andreas Gal
b9aaa226c3 Backed out changeset 48c039f7ac4f (bug 504516). 2009-08-26 03:24:00 -07:00
Andreas Gal
a2744e1fd1 Avoid overflow exception when dividing -2147483648 / -1 (504516, r=dvander). 2009-08-25 23:55:50 -07:00
Jason Orendorff
092787084d Bug 507683 part 2 - Avoid lookup on trace when calling a native getter with no slot. r=gal.
--HG--
extra : rebase_source : 38c552c3c1daad34bda66fc9ced2ec31d954eef0
2009-08-25 15:02:58 -07:00
Jason Orendorff
c45d09492c Bug 507683 part 1 - Trace native getters. r=gal.
--HG--
extra : rebase_source : f73754b7946e3d525b11f5973c61e22bd2f56dba
2009-08-25 15:01:29 -07:00
David Anderson
1b040156e7 Fixed assertion botch, (fallout from bug 512029 desk r=jorendorff). 2009-08-25 12:32:03 -07:00
David Anderson
e322e64001 Removed JSStackFrame::xmlNamespace (bug 512389, r=brendan). 2009-08-25 12:07:45 -07:00
Jason Orendorff
3bab9b25d4 Bug 511575 - TM: Crash [@ js_HashString] with "continue LABEL;" (in ojay 0.2.1). r=gal.
--HG--
extra : rebase_source : 91137fdb9d870cbc7a4ee3d1dbaed881b185b60c
2009-08-24 14:27:41 -05:00
Jason Orendorff
5dd467a8d4 Bug 511974 - Treat "continue LABEL;" like "break;". r=gal.
--HG--
extra : rebase_source : d9507a3c8ef0e64f12c5890e9c3104e5329d3f29
2009-08-24 13:37:07 -05:00
David Anderson
744033066f Removed JSStackFrame::callee (bug 512029, r=brendan). 2009-08-24 17:09:44 -07:00
David Anderson
5a190d8788 Fix warnings on Linux gcc (bug 506714, desk r=jorendorff). 2009-08-24 15:09:21 -07:00
Graydon Hoare
24358ae9d8 Bug 511972 - More Fragment cleanups, r=dvander.
--HG--
extra : rebase_source : 186782bd96d8155eb3f0277616012636d6ebe469
2009-08-21 13:51:55 -07:00
David Anderson
bed67e910c Removed callee from FrameInfo, and fixed upvar bugs in stack reconstruction (bug 510300, r=dmandelin,brendan). 2009-08-21 08:09:47 -07:00
Graydon Hoare
cad54739ba Bug 511309 - Followup patch to force flush on the CodeAllocs, r=sayrer. 2009-08-20 21:02:41 -07:00
Graydon Hoare
503c025d90 Bug 511309 - Delete class Fragmento and all uses of it, r=dvander.
--HG--
extra : rebase_source : 47047589288ac0758e0068307b5a8f393db97606
2009-08-20 17:22:47 -07:00
Andreas Gal
ebfe09b112 Fast path for writing a double into an array (511737, r=danderson). 2009-08-20 16:53:10 -07:00
Graydon Hoare
ebe9c3f20b Bug 511237 - Remove primary use of Fragmento from jsregexp, r=dmandelin. 2009-08-18 15:32:54 -07:00
David Mandelin
6e0758faf2 Trailing whitespace cleanup, no_r=me 2009-08-20 15:21:14 -07:00
David Anderson
57bffd92e3 Consolidated inner global typemap completion logic and fixed a bug when extending nested exits (bug 510518, r=gal,sayrer). 2009-08-20 13:06:27 -07:00
Jason Orendorff
5418886640 Bug 511418 - static-analysis error in jsobj.cpp:4257: cannot access JS_REQUIRES_STACK variable JSContext::fp and another trivial error in jstracer.cpp. r=gal.
--HG--
extra : rebase_source : 9ee93b34fbf656437932a4f3c8b373a11911cffd
2009-08-20 14:13:21 -05:00
David Anderson
ffb8283fd1 Build fix followup to bug 506714. 2009-08-19 16:42:25 -07:00
David Anderson
16fa18ade6 Added trace tree visualizer (bug 506714, r=gal). 2009-08-19 16:11:59 -07:00
Jason Orendorff
5d4cab246e Bug 507446 - TM: use return values instead of outparams for box_jsval, unbox_jsval. r=dmandelin.
--HG--
extra : rebase_source : e49f886c1723d90064cd11da0959f4a1e0fe23f4
2009-08-19 17:00:18 -05:00
Andreas Gal
489dd4c0f9 Specialize math functions to integer arithmetic where appropriate (511307, r=dvander). 2009-08-19 15:31:10 -07:00
Andreas Gal
c09eb5d1a9 Remove debug printfs (no bug). 2009-08-19 15:29:56 -07:00
Andreas Gal
81c28c4fe8 Notify JS_CommenceRuntimeShutdown from CycleCollector (511522, r=graydon). 2009-08-19 15:13:02 -07:00
David Mandelin
1e05c1b289 Bug 510655: set argsobj->private when leaving trace only if created on trace, r=igor 2009-08-19 11:11:39 -07:00
Andreas Gal
ebc6f01967 Add an API to notify the JS engine that we are about to destroy the runtime (511252, r=brendan). 2009-08-18 16:31:20 -07:00
David Anderson
3ef3ec0c6c Improved joinEdgesToEntry functionality and cleanliness (bug 509093, r=sayrer,gal). 2009-08-17 18:01:00 -07:00
Nicholas Nethercote
c035e918c7 Bug 511012 - TM: don't use addName() and insStorei() together. r=gal. 2009-08-18 09:27:48 +10:00
David Mandelin
46854c2304 Bug 509599: on trace, call putArguments when returning from JS function via either return or stop, r=jorendorff 2009-08-17 15:29:09 -07:00
David Mandelin
25b6a55ac6 Bug 510434: don't trace setting |arguments|, r=brendan 2009-08-17 15:20:26 -07:00
Andreas Gal
5d82186f20 Don't flush the code cache every time we GC (506117, r=brendan). 2009-08-17 14:50:57 -07:00
David Mandelin
184e8b155d Backed out changeset 238e8b557e4f: causing tjss orange
--HG--
extra : rebase_source : 49cfd40e67221067c45c85a5b96db39d22be1f67
2009-08-14 19:17:00 -07:00
David Mandelin
a5a7e420d0 Bug 505591: trace JSOP_NAME for returned closures, r=dvander 2009-08-14 16:02:47 -07:00
David Mandelin
4af2805055 Bug 509982 followup: simpler faster test for presence of upvars in a flat closure, sr=brendan 2009-08-14 15:36:50 -07:00
David Mandelin
3d7dd5021a Bug 509982: don't populate flat closure upvars when there aren't any upvars, r=dvander 2009-08-14 15:25:05 -07:00
Jason Orendorff
d14a48ad53 Bug 508051 part 2 - Avoid imacros for JSOP_INSTANCEOF. Re-landing per comment 8. r=gal. 2009-08-14 16:34:43 -05:00
Jason Orendorff
56b69d0816 Bug 508051 part 1 - Avoid imacros for JSOP_SETELEM. Re-landing per comment 8. r=gal. 2009-08-14 15:47:04 -05:00
Edwin Smith
87b101337d Bug 510545 - Convert LInsHashSet to use Allocator instead of GC, r=gal.
--HG--
extra : rebase_source : 233cf623b49f030ca083ba250294e00b61afdac5
2009-08-06 09:41:07 -04:00
Igor Bukanov
7e607aac4d bug 495061 - js_PutArgsObject and js_PutCallObject that never fail. r=brendan 2009-08-14 20:43:16 +02:00
Brendan Eich
4a2fccb6db Avoid unused variable warning if not verbose. 2009-08-13 16:54:36 -07:00
Jason Orendorff
8384b1e239 Bug 509098 - Remove JS_HAS_LVALUE_RETURN support. r=brendan. 2009-08-13 16:18:33 -05:00
Jacob Bramley
f77c90d4c3 Relax the testTableSwitch2 test for non-x86 platforms which don't use ::tableswitch() in jstracer.cpp. (510193, r=jorendorff) (with minor orangeness fix by jorendorff, r=shaver) 2009-08-13 15:03:48 -05:00
Jason Orendorff
92e7f5cf05 Merge backout. 2009-08-13 12:20:04 -05:00
Jason Orendorff
fd7ddc1057 Backed out changeset a17cbb14793f (bug 510193) which caused trace-test.js to fail (spuriously) on x86. 2009-08-13 12:19:39 -05:00
Andreas Gal
fee752ae24 Cleaning code cache flush handling (510136, r=jorendorff). 2009-08-13 08:35:35 -07:00
Jacob Bramley
967d281c76 Relax the testTableSwitch2 test for non-x86 platforms which don't use ::tableswitch() in jstracer.cpp. (510193, r=jorendorff) 2009-08-13 14:53:03 +01:00
Andreas Gal
25b9ed2a98 Backed out bug 508051. Fails trace-test/mandelbrot. 2009-08-13 04:08:34 -07:00
David Anderson
42e1fe8339 Fixed assertion botch, (fallout from bug 512029 desk r=jorendorff).
--HG--
extra : rebase_source : a934cbfbc1e641d2c49511d1041105d8bec4aa66
2009-08-25 13:41:05 -07:00
Robert Sayre
9eda7abe2f Merge tracemonkey to mozilla-central. 2009-08-25 09:52:56 -07:00
Vladimir Vukicevic
8ddb6fef0b b=510571; [arm,wince] don't report illegal instructions to debugger while doing our tests; r=graydon 2009-08-20 19:19:56 -07:00
Edwin Smith
fa572124fd Bug 510116 - Remove dead code paths and arguments in nanojit::compile, r=gal. 2009-08-05 15:06:00 -04:00
Luke Wagner
fa2f83712c Bug 507458 - clear the waters a bit regarding JSVAL_BOOLEAN 2009-08-12 16:39:23 -07:00
Edwin Smith
83930e09a2 Bug 510095 - allocate LirBuffer with Allocator instead of GC, don't extend GCFinalizedObject, r=gal.
--HG--
extra : rebase_source : 42aa431e0d795351860f0794ea0392e1f663132b
2009-08-04 15:03:34 -04:00
Edwin Smith
ad06720f03 Bug 510078 - Convert LirNameMap to HashMap<> and Allocator, r=gal.
* * *
Don't allocate CodeAlloc with GC and dont extend GCFinalizedObject (bug 506390 r=tharwood+)

* Change PageMgr::CodeAlloc from pointer to embedded instance.
* Assembler takes CodeAlloc& now, like it already does for Allocator&
* PoolObject.cpp|h now use VMCFG_NANOJIT instead of (deprecated) FEATURE_NANOJIT
  (both #defines are equivalent)

--HG--
extra : rebase_source : 90847a654d7f669a4c2ac364dd9aae7be38cae77
2009-08-04 14:18:38 -04:00
Jason Orendorff
bc52c17224 Bug 508051 part 2 - Avoid imacros for JSOP_INSTANCEOF. r=gal. 2009-08-12 15:40:56 -05:00
Jason Orendorff
cc37757a20 Bug 508051 part 1 - Avoid imacros for JSOP_SETELEM. r=gal. 2009-08-12 15:27:01 -05:00
Edwin Smith
3967b233d5 Bug 510036 - Convert LabelMap to HashMap<> and Allocator, r=gal.
--HG--
extra : rebase_source : 4f1385922085fe086084c418aa22dcc4cc4c1961
2009-08-04 13:56:48 -04:00
Edwin Smith
7de6b2bc04 Bug 509890 - Convert InsList to SeqBuilder<> and Allocator, r=gal.
--HG--
extra : rebase_source : 22303e739a0a6669c634595149028872aa7bd334
2009-08-04 13:11:53 -04:00
Edwin Smith
1913010941 Bug 509818 - Replace StringList with SeqBuilder<char*>, use Allocator, r=dvander. 2009-08-04 09:54:47 -04:00
David Anderson
91b95f0a95 Merge. 2009-08-11 14:12:27 -07:00
David Anderson
74070d2a77 LirNameMap must be reset if flushing the allocator (bug 509786, r=graydon). 2009-08-11 14:11:07 -07:00
Jason Orendorff
9dc4a54a5d Bug 498488 - Change some JSObject macros to methods. r=Waldo. 2009-08-11 15:05:44 -05:00
David Anderson
67c4f874a9 Fixed FindLoopEdgeTarget not setting its outparam in one case (bug 509089 fallout, desk r=gal). 2009-08-11 12:51:40 -07:00
David Anderson
5268047217 Static analysis build fixes (bug 509089 fallout, no bug). 2009-08-10 22:23:58 -07:00
David Anderson
869bf43660 Cleaned up and refactored AttemptToStabilizeTree (bug 509089, r=gal). 2009-08-10 22:15:52 -07:00