Gregor Wagner
685d432db1
Bug 652931 - Proper handling of large mark stack insertion. r=billm
2011-05-04 12:54:48 -07:00
Chris Leary
e5b4259e5a
Bug 654792: Give Shape::shape and Shape::id better names for great justice. (r=jorendorff)
2011-05-04 12:01:39 -07:00
Brian Hackett
9ca69400c4
[INFER] Don't track SSA values for locals in scripts containing 'with', bug 652422.
2011-04-24 09:26:37 -07:00
Brian Hackett
acfda25b5b
[INFER] Don't use untracked entries when converting doubles back to integers, bug 652305.
2011-04-24 08:40:19 -07:00
Brian Hackett
20530cc76c
[INFER] Root dense array elements during conversion to slow array, bug 649152.
2011-04-24 07:56:56 -07:00
Brian Hackett
7d4e3955e6
[INFER] Restore fixed double types in fallthrough before next opcode, bug 652305.
2011-04-24 06:59:28 -07:00
Brian Hackett
6386e77480
[INFER] Allow empty SSA stack values for scripts with switch and try blocks, bug 652314.
2011-04-23 22:36:43 -07:00
Brian Hackett
f8f9708f00
[INFER] Fix both double and integer types before branching, bug 652305.
2011-04-23 22:06:34 -07:00
Brian Hackett
bab839a4ee
[INFER] Drop type information for GNAME ops in debug-mode compartments, bug 652142.
2011-04-23 21:26:55 -07:00
Brian Hackett
e84dfe0914
[INFER] Fix bogus assert, bug 651827.
2011-04-22 11:12:09 -07:00
Brian Hackett
43c276be4a
[INFER] Bytecode SSA analysis, bug 650715.
2011-04-22 07:59:45 -07:00
Igor Bukanov
212be881c3
Bug 600648 - faster GC mark bitmap operations. r=billm
2011-04-22 00:29:24 +02:00
Paul Biggar
4d87b14d7d
Bug 654073: Mark StopIteration as a class with no prototype. (r=jwalden)
...
This prevents infinite recursion when trying to initialize StopIteration.
2011-05-03 12:31:02 -07:00
Christian Holler
b0902374f8
Bug 628332 - Avoid double-frees when compartment allocation fails (r=billm).
2011-05-03 04:26:40 -07:00
Luke Wagner
05bfe5cb0b
Bug 653631 - Fix faulty inlining of js_GetScriptedCaller (r=mrbkap)
2011-04-30 14:31:13 +07:00
Luke Wagner
4023060e30
Bug 653396 - Include JS_ARGS_LENGTH_MAX check in SplatApplyArgs (r=waldo)
2011-05-03 17:34:07 +07:00
Chris Leary
55f7c6409e
Merge mozilla-central to tracemonkey. (CLOSED TREE)
2011-05-02 10:55:34 -07:00
Igor Bukanov
5164b785fd
bug 605029 - followup to fix inconsequel typo
2011-04-29 14:11:23 +02:00
Paul Biggar
b005c6c2d4
Merge backout.
2011-04-29 04:01:23 -07:00
Paul Biggar
15828cd649
Backed out changeset 334ada87e329 (bug 628332) - those a11y errors arrived at the same time as this landing, so backing this out to see if that fixes it.
2011-04-29 04:00:57 -07:00
Christian Holler
faf48eb1e7
Bug 628332 - Avoid double-frees when compartment allocation fails (r=billm).
2011-04-27 16:09:00 -07:00
Paul Biggar
0a4b3c92dd
Bug 651864 - Extract magic slot formula into inline functions (r=jwalden)
...
The global object has special slots for built-in objects' prototypes,
constructors and properties. This makes explicit the formula to calculate the
slot number for these special slots.
2011-04-28 07:18:11 -07:00
Paul Biggar
4011ba8b50
Backed out changeset 2919a6aa1ab7 (bug 652449) - jstests in |make check| bounces again.
2011-04-28 07:46:33 -07:00
Paul Biggar
a987ff3fd1
Bug 652449 - Turn on jstests in |make check| on linux only (r=jimb)
2011-04-28 06:45:18 -07:00
Igor Bukanov
b996fb9a59
bug 601234 - avoiding extra indirection and branch on the fast path of GC allocation. r=wmccloskey
2011-04-22 00:20:12 +02:00
Matthew Draper
3eb02c1b43
Bug 564577 - __noSuchMethod__ no longer invoked for defined non-function properties (r=igor)
2011-04-22 04:38:24 +09:30
Brian Hackett
07ffac5147
[INFER] Don't scan values above obj->getDenseArrayInitializedLength.
2011-04-21 07:12:08 -07:00
Brian Hackett
fe5aeaab19
Merge TM -> JM
2011-04-20 11:37:46 -07:00
Jan de Mooij
2c7be5f6d4
[INFER] Don't update initialized length when it's smaller than length, bug 651451
2011-04-20 19:43:30 +02:00
Gregor Wagner
7d8bb32bb8
Bug 651193 - fix delayedOutOfMemory in js_InvokeOperationCallback. r=gal
2011-04-20 09:28:57 -07:00
Jan de Mooij
d57740905e
[INFER] Update initialized length in array_pop_dense, bug 651451. r=bhackett
2011-04-20 18:10:59 +02:00
Jan de Mooij
664872ea9d
[INFER] Push constant value in jsop_typeof, bug 643733. r=bhackett
2011-04-20 18:10:08 +02:00
Brian Hackett
a0acf1dddd
[INFER] Don't inline calls from heavyweight or eval scripts, bug 651209.
2011-04-20 07:06:59 -07:00
Igor Bukanov
8b0d367736
bug 605029 - ArenaHeader versus Arena<FreeCell> and other cleanups. r=wmccloskey
2011-04-20 07:30:10 +02:00
Chris Jones
a61c26e2c0
Bug 642381, part 3: Hoist Maybe into mfbt and eliminate Gecko's use of jstl. r=jorendorff,luke
2011-04-28 17:48:52 -05:00
Chris Jones
6fd4cbff2d
Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke
2011-04-28 17:48:51 -05:00
Chris Jones
0adf6af157
Bug 642381, part 1: Remove js::Conditionally. r=luke
2011-04-28 17:48:51 -05:00
Jeff Walden
76a4343e93
Bug 652215 - Add a js::StringObject subtype of JSObject. r=njn
...
--HG--
extra : rebase_source : 7cdfe72d0932b51408b9ec5dc38219605e1925ce
2011-04-20 16:33:05 -04:00
Brian Hackett
03a64e5252
[INFER] Don't LICM array lengths in scripts which have had bounds checks fail, bug 651155.
2011-04-19 22:20:43 -07:00
Brian Hackett
818fc87394
[INFER] Handle copies of loop invariant temporaries in ImmutableSync, bug 651147.
2011-04-19 21:55:16 -07:00
Brian Hackett
9b9280fc81
[INFER] Reload from adjusted return address when rejoining from lowered call or apply, bug 651119.
2011-04-19 21:33:04 -07:00
Brian Hackett
2f7eb61a86
[INFER] Remove compound JSOP*PROP opcodes, bug 647626.
2011-04-19 15:24:09 -07:00
Brian Hackett
68b35100e1
Merge TM -> JM
2011-04-19 08:23:41 -07:00
Brian Hackett
a6c4770037
[INFER] Add loop tail lifetimes when variables are killed in the middle of loops, bug 643805.
2011-04-19 06:39:49 -07:00
Leon Sha
f02a8fab29
Re-landing. Bug 610323 - [TraceMonkey] Implement Jaegermonkey Sparc back-end. Part II. r=dvander.
2011-04-19 01:27:50 -07:00
Jan de Mooij
fcdff6a374
Bug 506774 - Update our copy of the v8 benchmark to v8-v6. rs=jwalden
2011-04-19 10:17:06 +02:00
Brian Hackett
8f7dcba656
[INFER] Always include rejoin points for GetProp stub calls in JSOP_LENGTH, bug 650658.
2011-04-18 23:18:58 -07:00
Brian Hackett
bd1fe87c70
[INFER] Transform primitive 'this' for type set pushed by compiler in intermediate GETTHISPROP entry, bug 650663.
2011-04-18 22:39:42 -07:00
Brian Hackett
0c5ad9a148
[INFER] Don't optimize LENGTH and PROP accesses on known non-objects, bug 650662.
2011-04-18 22:08:34 -07:00
Jason Orendorff
7e584f054f
Test for bug 650753. no_r=me, passing tests do not need review.
...
--HG--
extra : rebase_source : e1e577927e2ac24b8ebcde2b31a945d55a096f8f
2011-04-18 18:04:36 -05:00
Leon Sha
4744fa47e3
Backout 91eaf74fff1e.
2011-04-18 20:53:24 -07:00
Leon Sha
c3cb41cc19
Bug 610323 - [TraceMonkey] Implement Jaegermonkey Sparc back-end. Part II. r=dvander.
2011-04-18 20:17:21 -07:00
Leon Sha
4c9b2d1c84
Bug 610323 - [TraceMonkey] Implement Jaegermonkey Sparc back-end. Part I. New Files. r=dvander.
2011-04-18 20:11:46 -07:00
Brian Hackett
499683f447
[INFER] Preserve fixed slot and capacity information when trading object guts, bug 650912.
2011-04-18 16:00:17 -07:00
Gregor Wagner
958cbdcc3a
Bug 650753 - Crash [@ js::gc::Cell::compartment] with WeakMap. r=gal
2011-04-18 15:09:21 -07:00
Gregor Wagner
a3215d9380
Bug 650855 - Followup for bug 627200 for real. r=gal
2011-04-18 15:06:48 -07:00
Jan de Mooij
01850cc60b
[INFER] Don't call script() on a dummy frame, bug 650864. r=bhackett
2011-04-18 13:12:37 -07:00
Jason Orendorff
6dcd26b06e
Bug 646820 - Function in destructuring assignment can't see up to other variables in the assignment. r=brendan.
...
--HG--
extra : rebase_source : ac60bc50cbb64adc22a42ace696b8e9c0d8f184f
2011-04-18 12:49:57 -05:00
Jason Orendorff
fcc0bf1635
Bug 646807 - Remove extra RHS checking in CheckDestructuring. r=brendan.
...
--HG--
extra : rebase_source : 5cee26017a887df666bf272bec8cb3308919b97b
2011-04-18 12:47:55 -05:00
Gregor Wagner
d08cc80190
Bug 650855 - Followup for bug 627200. r=gal
2011-04-18 10:55:47 -07:00
Gary Kwong
6ce5a9d22e
Bug 650621 - Fix boundary failure in string object length assertion. rs=Waldo
2011-04-18 12:03:12 +08:00
Nicholas Nethercote
66672b2c61
Update nanojit-import-rev stamp.
2011-04-17 17:21:14 -07:00
Bill McCloskey
b0ccb806b6
Fix off-by-one error in Containers.cpp:BitSet::grow(). r=nnethercote.
...
--HG--
extra : convert_revision : 74e1b2344f722020fb10e11d7b115373c43c37b6
2011-04-17 17:07:51 -07:00
Nicholas Nethercote
3d26d4379e
Remove debugging printf left behind by patch for bug 643969 that was causing test failures.
...
--HG--
extra : convert_revision : 8202c5872474e0e87717082d5167b35c52d55236
2011-04-17 17:02:27 -07:00
Brian Hackett
ec11db0996
[INFER] Fix disabled hoisting on x.length checks.
2011-04-17 07:36:55 -07:00
Brian Hackett
ac435c47ed
[INFER] Hoist bounds checks for variables in linear relationships with loop test, bug 650496.
2011-04-17 06:51:10 -07:00
Brian Hackett
06a24a58ed
[INFER] LICM and bounds check hoisting for x.length, bug 649693.
2011-04-16 06:54:01 -07:00
Bill McCloskey
3c0cd83aa3
Bug 616666 - Use explicit stack for GC marking (r=gal)
2011-04-15 16:56:08 -07:00
Luke Wagner
48985f251e
Bug 650617 - Fix AssertInnerizedScopeChain typo from 602994 (r=mrbkap)
2011-04-18 10:24:21 -07:00
Brian Hackett
bfd23b5265
[INFER] Don't optimize slot accesses for non-global scope objects.
2011-04-15 08:36:03 -07:00
Brian Hackett
eaf164a1c9
[INFER] Retest hoisted bounds checks after stub calls, bug 649693.
2011-04-14 21:59:32 -07:00
Brian Hackett
eddc285117
[INFER] Kludge for recompilation thrashing in sunspider-crypto-md5.
2011-04-14 17:28:04 -07:00
Brian Hackett
ee9af35798
[INFER] Watch for global slots reallocation during compilation, bug 650076, always handle overflowing inclocal/arg/global regardless of pushed type, bug 650148.
2011-04-14 16:33:28 -07:00
Brian Hackett
bdbe8ac1c6
[INFER] Call stubcc.leave() on negative zero in JSOP_MOD, bug 649973.
2011-04-14 15:46:47 -07:00
Brian Hackett
8cd051ac8e
[INFER] Avoid IC when fetching the length of a known array.
2011-04-14 13:03:21 -07:00
Brian Hackett
acefe4f0df
[INFER] Don't add undefined type to arrays which holes were read from.
2011-04-14 06:56:43 -07:00
Landry Breuil
94441e2879
Bug 633857 - missing #include for OpenBSD (nanojit part). r=dvander
...
--HG--
extra : convert_revision : 05d5e4afb6e4ed366d2d994785b6b2d326d5aa55
2011-04-14 14:13:26 +09:00
Brian Hackett
0ae73e12fa
[INFER] Don't hoist accesses that could underflow the array, bug 649775.
2011-04-13 15:18:15 -07:00
Brian Hackett
42fa6e5949
[INFER] Mark unexpected result when RegExp returns its own argument, bug 649771.
2011-04-13 14:57:12 -07:00
Brian Hackett
d26702c226
[INFER] Don't try to fixup doubles on adjusted frame in call path, bug 649769.
2011-04-13 14:45:25 -07:00
Jan de Mooij
5839315f83
[INFER] Don't clobber address register in FrameState::storeTo, bug 649689. r=bhackett
2011-04-13 12:38:23 -07:00
Brian Hackett
40a0021182
[INFER] Use ebx as a general purpose register on x86, bug 638506.
2011-04-13 12:09:31 -07:00
Brian Hackett
8d6da2ebd6
[INFER] Fix busted jstests.
2011-04-13 10:20:48 -07:00
Brian Hackett
b42d909b23
[INFER] Set standard class slots before updating type info, bug 649439.
2011-04-13 07:09:21 -07:00
Brian Hackett
d8c95f63d9
[INFER] Don't check newly pushed StackSegments in StackSpace::containingSegment, bug 649477.
2011-04-13 06:53:46 -07:00
Brian Hackett
fc65b95530
Merge TM -> JM
2011-04-13 06:45:06 -07:00
Jan de Mooij
601e26f3b1
[INFER] Fix SetName stub call in jsop_setprop, bug 649593. r=bhackett
2011-04-13 06:14:27 -07:00
Brian Hackett
21fd2d8254
[INFER] Direct instance property accesses, bug 649376.
2011-04-12 20:39:16 -07:00
Chris Leary
59f814562b
Merge mozilla-central to tracemonkey.
2011-04-12 20:28:42 -07:00
Robert Strong
0c4cae96de
followup fix to sync config.mk - Bug 649428 - l10n repacks broken on all platforms on mozilla-central (probably aurora, too). r=bustagefix
2011-04-12 18:16:32 -07:00
Blake Kaplan
d7c603eab8
Bug 618176 - Skip multiple wrappers when deciding whether this object is an array. r=gal
2011-04-12 15:56:45 -07:00
Brian Hackett
793bec3ed6
[INFER] Add dependency on type of pushed value in JSOP_GETGNAME, bug 649261, mark properties redefined with getters/setters as configured, bug 649272.
2011-04-12 08:33:48 -07:00
Brian Hackett
83e8f1e4ab
Merge TM -> JM
2011-04-12 07:04:45 -07:00
Brian Hackett
bee0fa2c86
[INFER] Don't propagate type sets for 'new' type objects along prototype chain.
2011-04-11 21:32:46 -07:00
Brian Hackett
2c80c88ba3
[INFER] Direct global name accesses, bug 648994.
2011-04-11 20:10:46 -07:00
Mook
c671b3dec1
bug 651663 - mark TestXPC global class as JSCLASS_GLOBAL_FLAGS (r=jorendorff)
2011-04-20 15:19:43 -07:00
Ms2ger
941e819c63
Bug 616684 - Remove support for DOM Views; r=sicking,ehsan
2011-04-24 08:54:25 +02:00
Chris Jones
ed22df8f64
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Justin Lebar
7af0c522be
Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted. a=philor CLOSED TREE
2011-04-28 15:49:16 +02:00
Olli Pettay
744a48fa95
Bug 652814 - Rename nsIDOMTouchPoint to nsIDOMTouch (and a *aRetVal = nsnull for bug 648573 comment 19), r=mbrubeck
2011-04-27 14:58:25 +03:00
Brian Hackett
6c6b5d6f3a
[INFER] Always ensure XDR'd scripts have a shape, bug 649103.
2011-04-11 16:39:29 -07:00
Brian Hackett
be364cb797
[INFER] Rejoin from FlatLambda, fix broken forgetMismatchedObject, bug 648992, bug 648999.
2011-04-11 08:30:01 -07:00
Brian Hackett
e4deebb68d
Merge TM -> JM
2011-04-11 07:33:47 -07:00
Brian Hackett
7fc4e4971f
[INFER] Clear initialized length when changing clasp during array slowification, bug 648773.
2011-04-11 06:52:23 -07:00
Brian Hackett
954651b3a0
[INFER] Make stubcall before adjusting stack in singleton CALLPROP, bug 648708.
2011-04-11 06:39:14 -07:00
Brian Hackett
2f716094fe
[INFER] Add call site for scripted call made in call rejoin path, bug 648966.
2011-04-11 06:14:58 -07:00
Christian Legnitto
197347cdba
Version bump to 6.0a1. Merge to mozilla-aurora. r=bsmedberg, a=LegNeato.
2011-04-12 06:51:00 -07:00
Brian Hackett
3ebc87699f
[INFER] Coalesce rejoin sites for call ops, bug 648843.
2011-04-10 21:43:35 -07:00
Andreas Gal
ba0ea508c2
CallJSPropertyOp incorrectly called with obj instead of receiver in Shape::get (bug 648919, r=jorendorff).
2011-04-10 17:49:59 -07:00
Brian Hackett
3ba5f32195
[INFER] Separate call sites from rejoin sites in JITScript, reconstruct doubles on each rejoin, bug 647991.
2011-04-10 16:09:01 -07:00
Phil Ringnalda
20ed667819
Bug 648870 - Stop trying to package the tests in proxies/, since those tests are actually in js1_8_5/extensions/, r=bc
...
--HG--
extra : rebase_source : d7e63571c7ae91ece3fdc310b1a4264fb0b34d3d
2011-04-10 13:35:38 -07:00
Ed Morley
90a849de12
Bug 647389 - Remove WINCE stuff from Spidermonkey (r=jorendorff)
2011-04-09 20:17:53 +01:00
Gregor Wagner
63e89ff1d0
Bug 648786 - Fix checkArenaListsForThing (r=gal)
2011-04-09 17:26:58 -07:00
Brian Hackett
3756228559
[INFER] Use both inline and dynamic slots for objects other than dense arrays, bug 648321.
2011-04-08 19:51:40 -07:00
Brian Hackett
012e3b1119
Merge TM -> JM
2011-04-08 19:27:14 -07:00
Brian Hackett
4cdca73e55
[INFER] Preserve VMFrame registers while tracer is running, bug 648586.
2011-04-08 18:48:09 -07:00
Brian Hackett
30b794a8a2
[INFER] Patch unsynced local types when expanding inline frames, bug 648567.
2011-04-08 17:57:58 -07:00
Brian Hackett
1411ab0bed
[INFER] Fix bogus assert, bug 648499.
2011-04-08 16:04:44 -07:00
Brian Hackett
6105beca85
[INFER] Don't inspect invalidated fe when converting to double, bug 648498.
2011-04-08 15:56:34 -07:00
Jeff Walden
1c76488210
Bug 648355 - Disable a fragile JSAPI test that seems to have been kicked into failure likely by compiler-determined optimizations, or something similarly undefined and maybe now impossible to rely upon -- but we'll see. For now, just return to green and really deal with it later. r=orange
2011-04-08 15:24:00 -07:00
Dave Herman
829e7dc189
added missing JS_HAS_GENERATORS #if/#endif (r=gal)
2011-04-08 13:46:19 -07:00
Dave Herman
98fe02ea81
Function.isGenerator (bug 648355, r=brendan)
2011-04-08 13:31:14 -07:00
Brian Hackett
8186cc1e21
[INFER] Don't evict register from incomplete frame entry, bug 618692.
2011-04-07 17:43:36 -07:00
Brian Hackett
cd69e136e6
Merge.
2011-04-07 17:15:43 -07:00
Brian Hackett
814665de9f
[INFER] Fix cases where dense arrays have initialized length < capacity with disabled inference, bug 648357.
2011-04-07 17:14:15 -07:00
Brian Hackett
52950bca44
[INFER] Loop invariant code motion for array slot pointers, bug 618692.
2011-04-07 16:12:37 -07:00
Brian Hackett
db0b3cac1b
[INFER] Don't try to inline known-unjittable scripts, use pushed type set instead of type tag when storing double result in JSOP_DIV, bug 648230.
2011-04-07 12:35:01 -07:00
Brian Hackett
c1666a63cd
[INFER] Fix Kraken benchmark bustage.
2011-04-06 16:49:22 -07:00
Brian Hackett
ac1a9b0c9c
[INFER] Always track active loop in liveness analysis, bug 643829.
2011-04-06 14:04:24 -07:00
Brian Hackett
40cc39a621
[INFER] Don't add stale unsynced entries to inline frame info, bug 647973.
2011-04-06 12:24:17 -07:00
Brian Hackett
32fcec93dd
[INFER] Don't optimize calls to Array in non-compileAndGo scripts, bug 647657.
2011-04-06 10:56:38 -07:00
Jan de Mooij
68f8b8cc06
[INFER] Avoid accessing CallProp IC after recompilation, bug 648004. r=bhackett
2011-04-06 10:50:31 -07:00
Brian Hackett
4226ea1e6e
[INFER] Array bounds check hoisting, cleanup, bug 618690.
2011-04-05 18:12:03 -07:00
Jan de Mooij
80ef2ee888
[INFER] Don't let known types influence whether jsop_not pushes a constant value, bug 647785. r=bhackett
2011-04-05 13:51:56 -07:00
Brian Hackett
406ea98001
[INFER] Fixes for crashtest and jstestbrowser.
2011-04-04 13:06:38 -07:00
Steven Johnson
474f15c5ca
Bug 643969 - LIR_jf can generate jump-to-location-zero code on i386 and x64 (r=rreitmai)
...
--HG--
extra : convert_revision : 3b0667d8dc545c74a903d2b63e2116b407f035d7
2011-04-04 12:20:54 -07:00
Brian Hackett
dac20a37f4
[INFER] Maybe fix build breaks.
2011-04-03 19:54:19 -07:00
Brian Hackett
7b79426ab3
[INFER] Fix build break.
2011-04-03 17:05:21 -07:00
Brian Hackett
8a8647455c
[INFER] Fix build break for uses of C++ constructs in jsarena.h
2011-04-03 16:19:05 -07:00
Brian Hackett
1ddb3c2c55
[INFER] Watch for recompilation triggered by ValueToObject, bug 647183.
2011-04-03 16:11:46 -07:00
Brian Hackett
6e57f07678
[INFER] Revert broken, pointless optimization to EnsureDenseArrayCapacity, bug 647524.
2011-04-03 15:56:37 -07:00
Brian Hackett
c6dc64b0ba
[INFER] Check VMFrame return addresses against inlined call sites when expanding frames, bug 647199.
2011-04-03 15:29:01 -07:00
Brian Hackett
55790989cb
[INFER] Don't discard JIT code for the topmost frame while recompiling, bug 647424.
2011-04-03 14:37:50 -07:00
Brian Hackett
54470b0628
[INFER] Fix bogus assert, bug 647428.
2011-04-03 13:52:27 -07:00
Brian Hackett
79871712b2
[INFER] Make sure the operands in bitops are not copies of one another, bug 647440.
2011-04-03 13:47:46 -07:00
Brian Hackett
e90a588261
[INFER] Define static functions after defining the class for Number, String, bug 647537.
2011-04-03 13:14:38 -07:00
Brian Hackett
2390894c39
[INFER] Bail from GetProperty IC if js_FindProperty triggered recompilation, bug 647547.
2011-04-03 12:25:16 -07:00
Brian Hackett
90dcf54737
[INFER] Fix (again) use of CALLPROP ic after it may have been destroyed, bug 647559.
2011-04-03 12:14:15 -07:00
Brian Hackett
4d147d073e
[INFER] DefineConstructorAndPrototype should update types before adding global property, bug 647464.
2011-04-03 11:34:31 -07:00
Brian Hackett
a583740626
[INFER] Use defineProperty when initializing singleton arrays, bug 647463.
2011-04-03 11:25:54 -07:00
Brian Hackett
1ed19456f6
[INFER] Always emit jsop_getprop stub calls for rejoining in JSOP_INSTANCEOF, bug 647532.
2011-04-03 11:16:44 -07:00
Jeff Walden
af6649155f
Bug 647385 - Implement a ToInteger helper that corresponds to the spec method (rather than inlining its contents everywhere it can be trivially used). Also fixes a couple bugs in one place that should have used ToInteger but didn't. r=cdleary
2011-04-02 11:33:20 -07:00
Brian Hackett
8b7888dd66
Merge TM -> JM
2011-04-01 19:57:28 -07:00
Brian Hackett
a1f196a052
[INFER] More fixes for stock JM behavior, bug 647048.
2011-04-01 17:26:34 -07:00
Chris Leary
220936793d
Bug 627632: Avoid unnecessary realloc in StringBuffer::finishString(). (r=luke)
2011-04-01 16:33:41 -07:00
Chris Leary
7863ab591f
Bug 644753: Turn ILLEGAL_RANGE NS_ASSERTIONs to warnings. (r=mrbkap)
2011-04-01 12:07:39 -07:00
Steven Johnson
d5ee3b9a2c
Bug 644473 - lirasm does not support backwards jump (r=njn)
...
--HG--
extra : convert_revision : 1efd735757e4a32a8d451007400319c4ad2d9238
2011-04-01 08:57:26 -07:00
Paul Biggar
59c1af50d3
Fix minor typo, followup to bug 634155 (no review)
2011-03-31 19:34:14 -07:00
Brian Hackett
b447aaf9bb
[INFER] Restore stock JM behavior with inference off, bug 647048.
2011-03-31 18:11:41 -07:00
Luke Wagner
1913b99eb0
Bug 639883 - Use JSString (not JSShortString) for inline really short inline strings (r=njn)
...
--HG--
extra : rebase_source : 5d18f67f841864064e032836014978cf51b52f5c
2011-03-31 16:07:21 -07:00
Luke Wagner
53aca4319a
Bug 639883 - rm js_FinalizeStringRT (r=igor)
...
--HG--
extra : rebase_source : c7f77ad290112fe7d6c53255dbf5595c94be3422
2011-03-31 16:05:31 -07:00
Brian Hackett
1053f5510c
[INFER] Make ReleaseScriptCode specify which JIT to destroy, fix inline code invariant logic, bug 619433.
2011-03-31 07:39:30 -07:00
Brian Hackett
41b3f4b682
[INFER] Fix broken DefineConstructorAndPrototype logic, make jstype unsigned.
2011-03-31 03:26:10 -07:00
William Maddox
87f3288bed
Bug 644900 - Generate probes for stack expansion when allocating large frames on Windows (r=edwsmith)
...
Also extend lirasm with --stkskip option to exercise the fix.
--HG--
extra : convert_revision : 670889ebdbca23505e134a116155a2bb2ca41240
2011-03-30 21:45:21 -07:00
Paul Biggar
7a1dbd7c9f
Bug 647482 (followup): Fix jstests for directory structure used by SM builds, by actually searching the current path (r=dmandelin)
2011-04-17 17:45:42 +01:00
Andreas Gal
fd2168c3af
Implement Harmony weak maps (bug 547941, r=jorendorff).
2011-04-16 21:23:44 -07:00
Andreas Gal
04ee44b4e6
for-in loop on proxy does not suppress properties deleted during enumeration (bug 600702, r=brendan)
2011-04-16 14:51:18 -07:00
Wes Garland
ed8e6d5fcf
Bug 650526 - Follow up to Bug 648102, changes to JS_BufferIsCompilableUnit. r=gal
2011-04-16 15:13:10 -04:00
Wes Garland
256dd8ad05
Bug 586016, update JS_GetImplementationVersion. r=jorendorff
2011-04-16 14:16:50 -04:00
Colin Walters
2a0395d63b
Bug 648102 - Make shell REPL/snarf/run always take UTF-8 input; add JS_DecodeUTF8; add UTF-8 flag to JS_BufferIsCompilableUnit. r=gal
2011-04-16 14:11:10 -04:00
Wes Garland
fcc7ecf08b
Bug 648102 - Add UTF-8 C strings option for shell. r=gal
2011-04-16 13:44:45 -04:00
Dave Yeo
2f806bf292
Bug 648208 - Fix build break on OS/2. r=igor
2011-04-16 12:55:11 -04:00
Luke Wagner
6fcaf8c63f
Bug 649531 - tidy up this-computation logic a bit, add some asserts (r=waldo)
...
--HG--
extra : rebase_source : f01409526e4582b87ced4b9f9d1170254a55373b
2011-04-12 17:16:12 -07:00
Jason Orendorff
28a0d1622a
Bug 614714 - Change JS_ClearScope to use the new enumeration code. r=Waldo.
2011-04-14 16:59:26 -07:00
David Anderson
61cc68f032
Fix clang warnings (bug 647280, r=luke).
2011-04-14 13:45:06 -07:00
Brian Hackett
4b2582d94a
[INFER] Move containingSegment to StackSpace, fix uninitialized field, bug 646660.
2011-03-30 17:24:34 -07:00
Brian Hackett
740de451bc
[INFER] Update the types of existing copies when updating the backing's type in storeTop, bug 646495.
2011-03-30 15:16:25 -07:00
Brian Hackett
47fe3ec386
[INFER] Always mark overflows for slowpath incops, bug 646594.
2011-03-30 15:01:31 -07:00
Brian Hackett
0efc0215e7
[INFER] Track currently compiled script on the TypeCompartment, 646587.
2011-03-30 14:10:16 -07:00
Brian Hackett
a2bbf13b04
[INFER] Disallow reentrant recompilation, inlining during recompilation from an active call IC, bug 646480.
2011-03-30 13:10:23 -07:00
Brian Hackett
221e7c805b
[INFER] Don't use a stub call in PROPINC on known non-objects, bug 646429.
2011-03-30 11:47:02 -07:00
Brian Hackett
2d35b04f7f
[INFER] Don't track type sets of values pushed by opcode fusions, bug 646411.
2011-03-30 11:30:23 -07:00
Brian Hackett
70ee8fa7f3
[INFER] Cache standard class objects earlier to avoid reentrant class construction, bug 646393.
2011-03-30 07:08:58 -07:00
Brian Hackett
cb84851874
[INFER] Fix fallout from bug 642307 commit.
2011-03-29 22:26:21 -07:00
Brian Hackett
b9d34d8bb2
[INFER] Allow known integers to be copies of doubles, bug 645657.
2011-03-29 22:17:23 -07:00
Brian Hackett
1a69b03a70
[INFER] Don't try to trigger lazy standard class initialization during inference, bug 642307.
2011-03-29 21:49:38 -07:00
Brian Hackett
5b04fe74cd
[INFER] Tolerate scripts whose JIT code has already been destroyed when recompiling, bug 646215.
2011-03-29 21:20:09 -07:00
Brian Hackett
643346988b
[INFER] RegisterAllocation::synced should account for parentRegs, bug 646060.
2011-03-29 21:15:51 -07:00
Brian Hackett
7b1f08d78a
[INFER] Bail out from IC code on any recompilation/expansion change in the compartment, bug 646006.
2011-03-29 18:51:15 -07:00
Brian Hackett
ed887865ed
[INFER] Reserve and check extra space when inlining frames, bug 646004.
2011-03-29 17:45:14 -07:00
Brian Hackett
14684c4e4b
[INFER] Evict as necessary when restoring parent registers before branching, bug 646001.
2011-03-29 16:36:06 -07:00
Brian Hackett
d7434b87f6
[INFER] Add object test when statically walking the prototype chain for CALLPROP, bug 645985.
2011-03-29 15:57:38 -07:00
Brian Hackett
1f1a4d216c
[INFER] Ensure that inlined scripts always have JIT code for expanding, bug 645666.
2011-03-29 08:30:05 -07:00
Brian Hackett
aa6b5e0e2f
[INFER] Check for heavyweight functions when deciding to inline, bug 645645.
2011-03-29 06:39:09 -07:00
Brian Hackett
20901cf7b7
[INFER] Don't notify constraints of new TypeResults on functions with unknown properties, bug 645632.
2011-03-29 06:28:54 -07:00
Brian Hackett
6583f29906
[INFER] Always monitor accesses on __proto__ and similar properties, bug 645044.
2011-03-29 06:18:44 -07:00
Jan de Mooij
e8661b558f
[INFER] Load atom pointer for CallProp stub call, bug 645629. r=bhackett
2011-03-29 05:55:49 -07:00
Brian Hackett
a3134a913f
[INFER] Fix x64 build break.
2011-03-28 19:16:36 -07:00
Makoto Kato
7a5360fad1
Bug 636296 - Fix forceReturn trampoline on Win64/Solaris (r=dvander)
...
--HG--
extra : rebase_source : 85846343b38031931adafb7e44bc8983fdd3472c
2011-03-28 17:33:53 -07:00
Phil Ringnalda
8d4385b7fe
Back out bd821ea0ad41 (638324) for mochitest-chrome crashes
2011-03-31 19:55:10 -07:00