Brendan Eich
|
44ed0935e5
|
Fix ReconstructPCStack oplen code, extend js_OpLength to avoid cs recalculation where possible.
|
2008-06-03 13:51:30 -07:00 |
|
Andreas Gal
|
d78d723aeb
|
Compiler fixes for CAS patch.
|
2008-06-03 13:29:10 -07:00 |
|
Andreas Gal
|
3bc4b753d4
|
Merge.
|
2008-06-03 13:22:04 -07:00 |
|
Brendan Eich
|
b2ee0f4849
|
Fix so it compiles, also avoid else after return.
|
2008-06-03 12:37:20 -07:00 |
|
Andreas Gal
|
70cdf27b42
|
Make js_CompareAndSwap visible outside jslock.cpp.
|
2008-06-03 10:06:28 -07:00 |
|
Andreas Gal
|
53060c32ce
|
Move all inlines that do not represent primitives out of jsinterpinlines.h since we don't have to overwrite them in jstracerinlines.h. They live in jsinterp.cpp now. Added missing error handling for prim_ddiv and prim_dmod. Make sure prim_ddiv and prim_dmod do not call other primitives. Fixed bug in dmod (-1 should be n, but since all invocations had n=-1 this was a non-issue).
|
2008-06-02 23:26:17 -07:00 |
|
Brendan Eich
|
946fa41d8c
|
Fiddle loop table slot interface and impl in hope of freeing slots over time.
|
2008-06-02 18:06:33 -07:00 |
|
Brendan Eich
|
21c493d829
|
Use correct idempotent include guard macro name.
|
2008-06-02 18:05:18 -07:00 |
|
Brendan Eich
|
3db9424289
|
Merge and undo js_AllocateLoopTableSlot reparam.
|
2008-06-02 17:28:39 -07:00 |
|
Brendan Eich
|
01514c4b16
|
No JS_TRACER ifdefs, keep line len < 80, reparameterize jstracer.cpp functions, js_OpLength helper.
|
2008-06-02 17:19:41 -07:00 |
|
Brendan Eich
|
ea827846a5
|
Avoid overlong lines per modeline comments.
|
2008-06-02 17:16:14 -07:00 |
|
Andreas Gal
|
d528552bca
|
Assign fresh loop table slots for all JSOP_HEADER opcodes in a script as it is thawed since the slots we stored there are likely stale by now.
|
2008-05-31 18:12:39 -07:00 |
|
Brendan Eich
|
5b116ae998
|
Merge, style nits, no locking for tracing.
|
2008-05-31 15:29:54 -07:00 |
|
Brendan Eich
|
ef8a767739
|
Left brace style.
|
2008-05-31 10:17:40 -07:00 |
|
Andreas Gal
|
e66383e26e
|
Fixed a bug that triggered the tracer at TRACE_THRESHOLD/2 already.
|
2008-05-31 09:53:16 -07:00 |
|
Andreas Gal
|
e461a72736
|
The table is now per-thread in a multi-threaded environment, and per-runtime otherwise. During code generation we merely allocate a loop table slot to each loop. Each thread will enlarge the table as needed in JSOP_HEADER.
|
2008-05-30 18:58:43 -07:00 |
|
Andreas Gal
|
de3107d2ee
|
Add a per-runtime loop attribute table that associates a jsval attribute with every loop in the code. The jsval is used initially as a counter until a certain threshold is reached, at which point the loop is traced and compiled and the resulting native code object is stored in the jsval to be executed for future encounters of the loop.
|
2008-05-30 10:11:56 -07:00 |
|
Andreas Gal
|
a6ded872bf
|
Steer macro naming in jsinterinlines.h using a macro. This allows us to prefix all primitives with some prefix (i.e. interp_) when we compile the tracer and replace them with new primitives that invoke the interpreter version first, and then do some tracer specific action.
|
2008-05-29 17:14:42 -07:00 |
|
Brendan Eich
|
7cdb540c44
|
Fix goof in switching from word to jsval counters.
|
2008-05-28 23:12:45 -07:00 |
|
Brendan Eich
|
ed4274e179
|
Instrument loop headers with jsvals above fp->vars and below fp->spbase.
|
2008-05-28 19:07:32 -07:00 |
|
Brendan Eich
|
8bfb8bfef7
|
Split trace-supporting inlines, add ifdefs/macros for deriving js_TracingInterpret in jstracer.cpp.
|
2008-05-28 19:07:25 -07:00 |
|
Brendan Eich
|
968021cff9
|
Style (and substance for vim users: left brace opening in column 1 enables [[ navigation).
|
2008-05-28 19:07:16 -07:00 |
|
Andreas Gal
|
f4d6e71bf6
|
Make relational operations (<,<=,>,>=) traceable.
|
2008-05-27 10:45:58 -07:00 |
|
Andreas Gal
|
8a5d86fa50
|
Mark getting and setting arguments and local variables as safe for tracing.
|
2008-05-26 23:40:52 -07:00 |
|
Andreas Gal
|
e0a5de51b2
|
Make branch instructions traceable using a new primitive guard_boolean_is_true.
|
2008-05-26 23:33:23 -07:00 |
|
Andreas Gal
|
32908d0e2f
|
Enable tracing for selected opcodes that do not have any remaining tracing hazards.
|
2008-05-26 20:04:58 -07:00 |
|
Andreas Gal
|
33ec9a35fb
|
Opcodes that can be traced through can be declared with TRACE_CASE(op). Currently all opcodes are declared as BEGIN_CASE(op), which automatically aborts trace recording. In addition, error handlers (defined with DEFINE_HANDLER) also abort trace recording. At every backwards branch trigger monitor_branch(), which will monitor for new trace tree anchors.
|
2008-05-26 18:55:16 -07:00 |
|
Andreas Gal
|
288e988b40
|
Introduce primitives for common binary operations.
|
2008-05-26 17:29:28 -07:00 |
|
Andreas Gal
|
6d10603538
|
Convert macro code in jsinterp.cpp into inline functions and introduce trace primitives (prim_*, guard_*, call_*).
|
2008-05-26 15:27:13 -07:00 |
|
Brendan Eich
|
b065dd2fce
|
From Igor's patch for bug 433382.
|
2008-05-24 11:39:18 -07:00 |
|
Brendan Eich
|
c611e90657
|
Fix bad merge.
|
2008-05-24 10:17:15 -07:00 |
|
Brendan Eich
|
5e03c06ce3
|
Igor's patch for bug 433382, r=me.
|
2008-05-23 23:44:08 -07:00 |
|
Brendan Eich
|
2595b54a6b
|
Fix POP_STACK to take a macro out param.
|
2008-05-23 22:18:36 -07:00 |
|
Brendan Eich
|
602bcd5f50
|
First round of macro cleanups to enable tracing.
|
2008-05-23 19:24:10 -07:00 |
|
Brendan Eich
|
2f95757906
|
Igor's fix for bug 432881, r=me.
|
2008-05-23 19:14:05 -07:00 |
|
Brendan Eich
|
c0c9201c0a
|
Fix for bug 433672, r=igor.
|
2008-05-23 19:08:44 -07:00 |
|
bcrowder@mozilla.com
|
ccdd027d08
|
Bug 433964 - dtrace build fixes for C++ linkage, r=jorendorff
|
2008-05-19 12:59:09 -07:00 |
|
jorendorff@mozilla.com
|
f2cbe9af26
|
Merge 8 changesets from cvs-trunk-mirror to mozilla-central. Use (hg log -r b60aee4a61a6:e70e05d8eda2) to see them.
|
2008-05-16 11:55:05 -05:00 |
|
bclary@bclary.com
|
b017a73ad2
|
JavaScript Tests - update test and remove from exclusion list, bug 433698, r=jorendorff
|
2008-05-14 16:18:47 -07:00 |
|
jorendorff@mozilla.com
|
9b5032bfde
|
Merge from cvs-trunk-mirror to mozilla-central.
|
2008-05-13 09:57:11 -05:00 |
|
bclary@bclary.com
|
abd3a90982
|
JavaScript Tests - add unary - tests for bug 432881
|
2008-05-09 20:33:48 -07:00 |
|
reed@reedloden.com
|
82c33e4d43
|
Bug 430955 - "jsfun.h uses JSArenaPool without needed typename" [p=mh+mozilla@glandium.org (Mike Hommey) r=brendan a1.9=damons]
|
2008-05-09 00:40:10 -07:00 |
|
jorendorff@mozilla.com
|
9b2db511f4
|
Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsobj.c => js/src/jsobj.cpp
|
2008-05-07 17:37:49 -07:00 |
|
reed@reedloden.com
|
888518dda2
|
Bug 410606 - "AIX linker error for trunk build xpconnect module : ERROR: Undefined symbol: .JSAutoTempValueRooter::operator delete(void*,unsigned long)" [p=shailen.n.jain@gmail.com (Shailen) r+sr=mrbkap a1.9=beltzner]
|
2008-05-07 03:26:52 -07:00 |
|
crowder@fiverocks.com
|
db98c2faeb
|
Bug 432275: Regression - Java applets crashing browser [@ obj_eval], patch by mrbkap, r=crowder, a=beltzner
|
2008-05-06 15:01:32 -07:00 |
|
crowder@fiverocks.com
|
84d826ee05
|
Bug 432275 - Regression - Java applets crashing browser [@ obj_eval], r=igor, a=beltzner
|
2008-05-06 14:59:49 -07:00 |
|
bent.mozilla@gmail.com
|
eb31e16632
|
Bug 429442 - "crashes [@ nsJSIID::HasInstance][@ XPCNativeSet::FindInterfaceWithIID]". r+sr=jst, a=beltzner.
|
2008-05-06 14:37:50 -07:00 |
|
Benjamin Smedberg
|
4393fe5a30
|
Merge cvs-trunk-mirror to mozilla-central. Conflict resolution:
* client.mk: new NSS tag merge to client.py
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
|
2008-05-05 13:39:59 -04:00 |
|
crowder@fiverocks.com
|
21e08b8a71
|
Bug 429864: assertion at startup with venkman, patch by mrbkap, r=brendan, a=beltzner
|
2008-05-03 21:31:01 -07:00 |
|
crowder@fiverocks.com
|
e04b777729
|
Bug 431465 -- (relanding) Crash [@ DecompileExpression] with trap, r=brendan, shaver, igor; a=mtschrep
|
2008-05-03 21:20:23 -07:00 |
|
Benjamin Smedberg
|
d23620a37a
|
Merge cvs-trunk-mirror to mozilla-central. One conflict resolution: updated NSPR tag from client.mk into client.py
--HG--
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.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
|
2008-05-02 14:08:43 -04:00 |
|
bclary@bclary.com
|
b8c31e4e72
|
Sisyphus|JavaScript Tests - runtests.sh -I include conflicts with msvc include on Windows
|
2008-05-01 16:38:29 -07:00 |
|
gavin@gavinsharp.com
|
e76cb415a6
|
Back out patch for bug 431465 due to unit test failures
|
2008-05-01 16:06:43 -07:00 |
|
crowder@fiverocks.com
|
80a811f0de
|
Addressing white-space nits.
|
2008-05-01 15:16:38 -07:00 |
|
igor@mir2.org
|
5cab25689b
|
[Bug 427798] faster js_PutBlockObject(), r=brendan a1.9=shaver
|
2008-05-01 14:59:52 -07:00 |
|
crowder@fiverocks.com
|
aa2f89f028
|
Bug 431465 - Crash [@DecompileExpression] with trap, r/a=shaver
|
2008-05-01 14:36:19 -07:00 |
|
bclary@bclary.com
|
239dd9ab80
|
JavaScript Tests - update public failures, bug 404367
|
2008-05-01 08:05:24 -07:00 |
|
Benjamin Smedberg
|
44143a17c2
|
Merge from cvs-trunk-mirror to mozilla-central. No conflict resolution necessary.
--HG--
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
|
2008-05-01 09:50:06 -04:00 |
|
bclary@bclary.com
|
50b65436c4
|
JavaScript Tests - test for section ecma 262-3 15.4.5.1
|
2008-04-30 18:22:00 -07:00 |
|
bclary@bclary.com
|
daf599b79c
|
JavaScript Tests - regression test for bug 414531
|
2008-04-30 18:17:05 -07:00 |
|
Vladimir Vukicevic
|
ce3a5f0097
|
Merge cvs-trunk-mirror to mozilla-central. No conflicts.
--HG--
rename : js/src/jsmath.c => js/src/jsmath.cpp
|
2008-04-30 15:34:49 -07:00 |
|
brendan@mozilla.org
|
b90454bf32
|
Fix JSOP_GETTHISPROP decompile-value-generator bug (431248, r=igor, a=dsicore).
|
2008-04-30 11:33:51 -07:00 |
|
gavin@gavinsharp.com
|
64ef898187
|
Bug 414531: The return value of some of math method of javascript is not IEEE standard on solaris, patch by Leon Sha <leon.sha@gmail.com>, r=brendan, a=damon
|
2008-04-30 10:15:41 -07:00 |
|
Benjamin Smedberg
|
5337262e90
|
Merge cvs-trunk-mirror to mozilla-central. No manual conflict resolution was necessary.
--HG--
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
|
2008-04-30 12:35:19 -04:00 |
|
igor@mir2.org
|
5c81e09b95
|
[Bug 431489] r=brendan a1.9=shaver
|
2008-04-30 06:30:38 -07:00 |
|
bclary@bclary.com
|
798117722c
|
JavaScript Tests - regression test for bug 431428, by Jesse Ruderman
|
2008-04-30 05:41:59 -07:00 |
|
brendan@mozilla.org
|
3d10ff4835
|
Clear GetSrcNote cache in js_UntrapScriptCode (431428, r/a=shaver).
|
2008-04-29 19:18:19 -07:00 |
|
igor@mir2.org
|
34643896ed
|
[Bug 429281] r=brendan a1.9=dsicore
|
2008-04-29 14:24:01 -07:00 |
|
igor@mir2.org
|
e34384934d
|
[Bug 429739] proper handling of __noSuchMethod__ when it is invoked as constructor. r=brendan a1.9=dsicore
|
2008-04-29 14:17:11 -07:00 |
|
bent.mozilla@gmail.com
|
d2928f847a
|
Bug 430552 - "Browsing on the given site and closing the tab results in no active tab and keyboard shortcuts don't work until you refocus any element". r=jst, sr=mrbkap, a=beltzner.
|
2008-04-29 11:01:03 -07:00 |
|
crowder@fiverocks.com
|
eb84eb2a79
|
Bug 429252 - trap changes decompilation of "{ let X }", r/a=shaver
|
2008-04-29 10:26:31 -07:00 |
|
Benjamin Smedberg
|
160d9d1766
|
Merge cvs-trunk-mirror to mozilla-central. Automated merge, no manual conflict resolution necessary.
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jslong.c => js/src/jslong.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/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
|
2008-04-29 10:20:07 -04:00 |
|
brendan@mozilla.org
|
b5b5553389
|
Fix hang when GetPropertyTreeChild calls js_GenerateShape calls js_GC (424636, r=igor, a=beltzner).
|
2008-04-28 23:19:42 -07:00 |
|
igor@mir2.org
|
e573263407
|
[Bug 430871] Eliminating unused JSINVOKE_INTERNAL and JSFRAME_INTERNAL. r=brendan a1.9=dsicore
|
2008-04-27 23:50:37 -07:00 |
|
brendan@mozilla.org
|
359d48234b
|
Don't cache shared properties under JSOP_SET{NAME,PROP} (428282, r=igor, a=mconnor).
|
2008-04-27 13:31:24 -07:00 |
|
bclary@bclary.com
|
d288e6e1ff
|
JavaScript Tests - regression test for bug 428706, by Jesse Ruderman
|
2008-04-25 18:08:59 -07:00 |
|
bclary@bclary.com
|
8ddd66ec6d
|
JavaScript Tests - regression test for bug 429248, by Jesse Ruderman
|
2008-04-25 18:02:29 -07:00 |
|
bclary@bclary.com
|
622c565af2
|
JavaScript Tests - regression test for bug 429249, by Jesse Ruderman
|
2008-04-25 17:47:40 -07:00 |
|
bclary@bclary.com
|
fc992186ee
|
JavaScript Tests - update known failures due to bug 429252
|
2008-04-25 17:35:05 -07:00 |
|
bclary@bclary.com
|
84a9cbc1db
|
JavaScript Tests - regression test for bug 429252, by Jesse Ruderman
|
2008-04-25 17:28:48 -07:00 |
|
bclary@bclary.com
|
f0c1b587c1
|
JavaScript Test - regression test for bug 429264, by Jesse Ruderman
|
2008-04-25 17:02:29 -07:00 |
|
bclary@bclary.com
|
c972dd555f
|
JavaScript Tests - regression test for bug 430717, by Mike Shaver
|
2008-04-25 14:34:20 -07:00 |
|
bclary@bclary.com
|
89b16d7e31
|
JavaScript Tests - regression test for bug 420919, by Jesse Ruderman
|
2008-04-25 14:28:09 -07:00 |
|
bclary@bclary.com
|
ed1d030b51
|
JavaScript Tests - regression test for bug 422137, by Mike Shaver
|
2008-04-25 14:10:45 -07:00 |
|
crowder@fiverocks.com
|
488c36ab4a
|
Bug 428128 - Removal of legacy JSLL_ routines, r=brendan, a=mtschrep
|
2008-04-25 11:40:05 -07:00 |
|
bclary@bclary.com
|
458a72eba7
|
JavaScript Tests - jsDriver.pl doesn't detect all test failures, bug 430509
|
2008-04-25 10:52:13 -07:00 |
|
igor@mir2.org
|
c4ac1056e5
|
[Bug 428706] Making sure that all let blocks has non-zero stack depth. r=brendan a1.9=beltzner
|
2008-04-25 10:28:36 -07:00 |
|
brendan@mozilla.org
|
aa6eca81f9
|
Fix '(void 0) is undefined' decompilation regression (420919, r=igor, a=dsicore).
|
2008-04-24 16:48:32 -07:00 |
|
shaver@mozilla.org
|
d1076e6e69
|
Bug 430717: fix lookup of incorrect ID when delegating to prototype for hole in dense array. r=mrbkap, a=mconnor.
|
2008-04-24 13:30:07 -07:00 |
|
crowder@fiverocks.com
|
fb779b15d3
|
Bug 422137 - assertion botch or bogus OOM when decompiling script with debugger trap on JOF_CALL bytecode, r=igor, a1.9=shaver
|
2008-04-24 11:59:14 -07:00 |
|
bclary@bclary.com
|
4a3274eba4
|
JavaScript Tests - update regression tests due to bug 416933
|
2008-04-23 18:49:19 -07:00 |
|
gavin@gavinsharp.com
|
db243d2ea7
|
Bug 428021: Can't define both a getter and a setter for a property of the global object, patch by Brian Crowder <crowder@fiverocks.com>, r=shaver, r=mrbkap, a=shaver
|
2008-04-23 16:17:45 -07:00 |
|
jruderman@hmc.edu
|
adc66e8601
|
Add mochitest
|
2008-04-22 22:40:56 -07:00 |
|
jst@mozilla.org
|
6e4f5d38c8
|
Landing fix for plugin hang bug 429903. Fix hang on pages that script plugins. Patch by bent.mozilla@gmail.com, r+sr=brendan@mozilla.org/jst@mozilla.org, a=beltzner
|
2008-04-22 22:23:57 -07:00 |
|
jruderman@hmc.edu
|
4382c1f13b
|
Add crashtest
|
2008-04-22 21:16:56 -07:00 |
|
crowder@fiverocks.com
|
73e23e4e46
|
Bug 416933 - Invalid range error for some case-insensitive regular expressions, r/a=shaver
|
2008-04-22 09:26:37 -07:00 |
|
igor@mir2.org
|
849ff12b5c
|
[Bug 418304] Backing out the patch as it depends on Getopt::Long feature that is not widely available.
|
2008-04-21 10:28:36 -07:00 |
|
igor@mir2.org
|
6e8f49742c
|
[Bug 418304] Replacing deprecated Getopt::Mixed with Getopt::Long. r=bclary, a=not-part-of-the-build
|
2008-04-21 03:15:23 -07:00 |
|
jonas@sicking.cc
|
3201958a8e
|
Fix redness. Stupid second security manager
|
2008-04-18 10:51:10 -07:00 |
|
bclary@bclary.com
|
148dfbab4d
|
JavaScript Tests - update public failures, bug 416834
|
2008-04-18 07:05:35 -07:00 |
|