Commit Graph

11508 Commits

Author SHA1 Message Date
shaver@mozilla.org
d853312135 merge from andreas 2008-07-23 01:08:23 -04:00
shaver@mozilla.org
0ae0232183 merge (still not working, probably box/unbox dumbness) 2008-07-23 01:06:18 -04:00
shaver@mozilla.org
13beafcd1a merge (now compiling, untested) 2008-07-23 00:20:29 -04:00
shaver@mozilla.org
d6b7e95f5b merge (mostly, doesn't build) 2008-07-22 23:58:43 -04:00
Andreas Gal
28d41c849c Handle leaving of frames in one central place. 2008-07-22 20:16:12 -07:00
Andreas Gal
fa30479a65 Reduce HOTLOOP threshold to 2. 2008-07-22 18:31:44 -07:00
Andreas Gal
86108222f1 Avoid calculating native frame offset by tracking the last load/store for every slot and extracting the offset from there. 2008-07-22 17:54:04 -07:00
Andreas Gal
636de55594 Avoid nativeFrameOffset calls in import(). 2008-07-22 17:24:29 -07:00
Andreas Gal
4e7d7ebb5d Merge. 2008-07-21 19:38:03 -07:00
Andreas Gal
988bfce570 Add a pattern to recognize safe_add and emit a simple add for it. 2008-07-21 19:37:43 -07:00
shaver@mozilla.org
c998f5492d use nargs rather than argc, since bytecode only refers to [o-nargs) args 2008-07-21 22:31:08 -04:00
shaver@mozilla.org
4e20ef2007 make time.sh more useful 2008-07-21 21:44:21 -04:00
Andreas Gal
f75ac4ed76 Reverse the insanity that used to be tamarin's arg passing in ins2. Now it makes sense. 2008-07-21 17:59:42 -07:00
Andreas Gal
edaf656e39 Avoid overflow checks on integer adds when its safe to do so. 2008-07-21 17:50:17 -07:00
Andreas Gal
b149b25974 Eliminate entryFrame pointer (not safe to carry that around.) 2008-07-21 16:20:53 -07:00
Andreas Gal
cb8f2b1107 Use callDepth instead of entryFrame in the FORALL macro. 2008-07-21 16:19:38 -07:00
Andreas Gal
568e3f882c Eliminate exit filter, write the type map directly in snapshot. 2008-07-21 15:09:19 -07:00
Andreas Gal
81d604c67d Sink stack-targeting type conversion in the set() path instead of in the ExitFilter. 2008-07-21 15:01:47 -07:00
Andreas Gal
3ca6099bab Use callDepth, not entryFrame in nativeFrameSlots(). 2008-07-21 14:55:41 -07:00
Andreas Gal
7d41fd6a8e Remove excess parameters of verifyTypeStability. 2008-07-21 13:21:00 -07:00
Andreas Gal
83dcd55ff1 Track call depth in the trace recorder. This lays the groundwork to get rid of entryFrame. 2008-07-21 13:18:08 -07:00
shaver@mozilla.org
640220ca0f beginning of entryFrame removal 2008-07-21 15:57:02 -04:00
Andreas Gal
7466af13cc Merge. 2008-07-21 12:44:03 -07:00
Andreas Gal
e4b7f9cdbb Use ti instead of fi for TreeInfo pointers. 2008-07-21 12:43:51 -07:00
Andreas Gal
fe52907712 Rename VMFragmentInfo to TreeInfo. 2008-07-21 12:41:43 -07:00
Andreas Gal
6c9d3d7051 Merge. 2008-07-20 17:36:47 -07:00
Andreas Gal
a344d8eb92 Style cleanup and eliminate redundant f2u(i2f|u2f) chains. 2008-07-20 17:36:11 -07:00
Brendan Eich
796ede974c Cite bug 445262 with a FIXME instead of omfgHack_ prefix ;-). 2008-07-20 16:21:45 -07:00
Brendan Eich
bc62129a68 Tighten up js_IsLoopEdge and include JSOP_IFNEX. 2008-07-20 16:11:52 -07:00
Brendan Eich
9de8dbd4a7 Nit patrol. 2008-07-20 16:09:08 -07:00
shaver@mozilla.org
84071cde06 merge time is fun time 2008-07-20 18:04:27 -04:00
shaver@mozilla.org
f3fe654c91 add simple timing harness 2008-07-20 18:03:07 -04:00
Andreas Gal
ba670ddc66 Simplify updating of the side exit target. 2008-07-20 14:56:04 -07:00
shaver@mozilla.org
42c8798d31 simpler loop exit check (backwards is a loop exit, forwards is not) 2008-07-20 17:54:16 -04:00
shaver@mozilla.org
b881262443 force Math to be interned, and defend against non-interned globals until upvar saves us all 2008-07-20 17:23:39 -04:00
Andreas Gal
92ad36939a Use exponential backoff when trying to extend trees. 2008-07-20 14:28:56 -07:00
Igor Bukanov
139cdca010 bug 330765 - patch from romaxa to fix NativeCompareAndSwap implementation on ARM. r=myself 2008-07-22 16:12:04 +02:00
Johnny Stenback
438112013e Landing fix for bug 442708. JS_GC with GC_SET_SLOT_REQUEST doesn't loop until all threads are satisfied. Patch by brendan@mozilla.org, r=bent.mozilla@gmail.com 2008-07-21 16:58:24 -07:00
Johnny Stenback
6e95111554 Landing fix for bug 444880. Make the JS component loader use the JS context stack so that pending requests are suspended while components load. Patch by bent.mozilla@gmail.com, r+sr=jst@mozilla.org 2008-07-21 16:56:45 -07:00
Bob Clary
fa9992c713 Sisyphus|JavaScript Tests - allow user to execute tests from other location than TEST_DIR, bug 446097, r=cbook 2008-07-21 18:18:15 -04:00
Brendan Eich
c1547ca25f 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
Jason Orendorff
4a48e072f3 Bug 445624 - Delete dead code in JSObject2NativeInterface hot path (r+sr=jst) 2008-07-21 15:16:47 -05:00
Brendan Eich
46e183a6c2 Fix property cache fill to use the best shape (445899, r=shaver). 2008-07-20 16:27:10 -07:00
Andreas Gal
e42833b0db Merge. 2008-07-20 13:29:20 -07:00
Andreas Gal
6922d0cd5f Don't emit boxed values, use the unboxed representation for constants. 2008-07-20 13:28:53 -07:00
Andreas Gal
99e9e80629 Removed meaningless assert. 2008-07-20 13:25:36 -07:00
shaver@mozilla.org
65d84971d7 don't pretend we can trace INCELEM and friends (fixes trace-test.js, ahem) 2008-07-20 16:21:43 -04:00
shaver@mozilla.org
62dccff8dd move summarization to the end, so I can see it through the debug spew 2008-07-20 16:17:58 -04:00
Igor Bukanov
af90a7ef45 bug 441686 - eliminating JSStackFrame.(nvars|vars). r=brendan 2008-07-20 22:13:17 +02:00
shaver@mozilla.org
bddc445991 improve tracing/recording diagnostics 2008-07-20 15:42:19 -04:00