Commit Graph

18741 Commits

Author SHA1 Message Date
Andreas Gal
f29178e950 Track number of breaks we generate loop exits for. 2008-08-29 15:29:55 -07:00
Andreas Gal
1e41ca88af Long-form conditional branches (IFEQX, IFNEX) are never fused, so don't check for them in fuseIf. 2008-08-29 15:20:36 -07:00
Andreas Gal
57a8fae3d1 Merge. 2008-08-29 15:17:20 -07:00
Andreas Gal
9e7246a2b9 Track locations of control-flow merges in cfgMerges during recording (452869). 2008-08-29 15:12:17 -07:00
David Anderson
a2fdc866ff Fixed assumptions that nanojit's insCall() would not clobber the input argument array (bug 452853, r=gal). 2008-08-29 14:22:21 -07:00
David Anderson
f10bd19c8e Abort recording on invalid string indexes for JSOP_GETELEM (bug 452713, r=brendan). 2008-08-29 13:05:41 -07:00
Robert Sayre
f35adba372 Add tests covering division. 2008-08-29 13:04:08 -04:00
Robert Sayre
5d1f73ba74 Add tests for continue statement. 2008-08-29 11:01:56 -04:00
Brendan Eich
f92de94117 Fix bogus JOF_VARPROP test; fix uninitialized id in JSOP_IN recorder, should have caught it when I reviewed danderson's patch. 2008-08-29 00:58:10 -07:00
Brendan Eich
18d5749230 Fix upvar decompilation for eval-from-fun case (452441, r=igor). 2008-08-29 00:24:11 -07:00
Brendan Eich
655888f31e Consolidate equal and cmp code harder, trace switch ops, use INS_CONST more (bug to be filed -- bugzilla down atm). 2008-08-28 23:50:48 -07:00
Andreas Gal
1115d0162b Unroll loops we were not able to call once, but only if we don't have a tree available for that loop header. 2008-08-28 23:19:23 -07:00
Andreas Gal
535bdef3ee Merge. 2008-08-28 22:34:14 -07:00
Andreas Gal
c263b7a218 Merge. 2008-08-28 22:33:45 -07:00
David Anderson
951c95658a Fixed trying to record JSOP_IN with some unusuable left-hand values (bug 452724, r=brendan). 2008-08-28 22:33:32 -07:00
Andreas Gal
4fb4d1fdc5 Monitor downward branches only during recording (452709). 2008-08-28 22:33:22 -07:00
Brendan Eich
1f07d79c75 Abort trace if forInLoop values are not stable; currently, not strings (bug 452703). 2008-08-28 21:41:15 -07:00
Brendan Eich
25a591f870 Fixed bogus assertion in test_property_cache (bug 452693, r=dvander). 2008-08-28 21:15:39 -07:00
Jesse Ruderman
5663d9166a Turn NANO_DIE macro into NanoAssertFail function so that it shows up in stack traces. Having it appear in stack traces makes it clear the exit was due to an assertion failure rather than a real crash. Followup to bug 452674. 2008-08-28 19:07:49 -07:00
Andreas Gal
aaf46f467e Merge. 2008-08-28 17:47:11 -07:00
Andreas Gal
f10a08c384 Cleanup detection of gotos that were emitted as a result of a BREAK statement. 2008-08-28 17:46:25 -07:00
David Anderson
6ab07e371a Merge. 2008-08-28 17:28:36 -07:00
David Anderson
d5e48e84d7 Added descriptive messages to always-taken assertions in Nativei386.cpp. 2008-08-28 17:27:29 -07:00
Jesse Ruderman
db3a854298 Fix NanoAssertMsgf in non-debug builds. Regression from my patch in bug 452674. 2008-08-28 17:15:51 -07:00
Andreas Gal
65bc53f864 Merge. 2008-08-28 17:01:22 -07:00
Andreas Gal
c0e0852952 Notify the monitor of all branches, not just backwards branches. 2008-08-28 17:00:52 -07:00
Jesse Ruderman
67955c4c42 Add a message to a NanoAssert(0) to make it possible to match against. r=gal 2008-08-28 17:00:52 -07:00
Jesse Ruderman
12aa1d345a Bug 452674: change NanoAssert* macros to make it easier to check for nanojit assertions in automated testing. r=danderson. 2008-08-28 16:57:49 -07:00
Blake Kaplan
977123733e Bug 452338 - Abort on the weird case where we find a global name on the prototype of the scope chain. r=brendan 2008-08-28 16:37:03 -07:00
Andreas Gal
c274daed5c Merge. 2008-08-28 14:51:16 -07:00
David Anderson
1b50da7117 Abort recording on JSOP_INCPROP with an invalid slot (bug 452336, r=brendan). 2008-08-28 14:43:44 -07:00
Andreas Gal
453ea3339f If the inner tree cannot be adjusted to match the call site of the outer tree because it uses an int where the outer tree uses a double, trash the inner tree, not the outer one. In CallTree, return the innermost guard we return from, not the outermost one. Jump over at most 1 loop edge that doesn't go back to our own header, not an arbitrary amount. 2008-08-28 14:24:58 -07:00
David Anderson
48fe80af99 Merge. 2008-08-28 13:15:34 -07:00
David Anderson
eb051d8c73 Better fix for bug 451666 - only track new rval for primitives (r=brendan). 2008-08-28 13:14:59 -07:00
Blake Kaplan
1006bbf99c Bug 452333 - Don't push tagged jsvals on the stack. r=brendan 2008-08-28 12:40:48 -07:00
David Anderson
d7c4af1e0c Merge. 2008-08-28 11:56:45 -07:00
David Anderson
d7b5791be9 Track new rval from JSOP_RETURN when constructing inline frames (same as JSOP_STOP). 2008-08-28 11:55:58 -07:00
Blake Kaplan
2bcc0a39b5 Bug 452573 - The interpreter's JSOP_VOID doesn't push anything, so we shouldn't expect it to. r=brendan 2008-08-28 11:55:27 -07:00
Serge Gautherie
e9783ae60e Bug 78388 - Fix uses of |new nsAutoString / nsCAutoString| in RuleProcessorData, r+sr=dbaron 2008-08-28 17:38:34 +02:00
Vlad Sukhoy
6092d34ccf bug 449463: make outparams more gcc42-compatible. r=dmandelin 2008-09-02 12:24:34 -05:00
Josh Aas
03fcfb23fd fix include paths for opt builds in the default plugin xcode project. b=360955 2008-09-02 13:15:10 -04:00
Josh Aas
a1acc28838 move default plugin out of samples into modules/plugin. b=360955 rs=jst
--HG--
rename : modules/plugin/samples/default/mac/DefaultPlugin.xcodeproj/project.pbxproj => modules/plugin/default/mac/DefaultPlugin.xcodeproj/project.pbxproj
rename : modules/plugin/samples/default/mac/DefaultPluginPrefix.h => modules/plugin/default/mac/DefaultPluginPrefix.h
rename : modules/plugin/samples/default/mac/English.lproj/InfoPlist.strings => modules/plugin/default/mac/English.lproj/InfoPlist.strings
rename : modules/plugin/samples/default/mac/Info-DefaultPlugin.plist => modules/plugin/default/mac/Info-DefaultPlugin.plist
rename : modules/plugin/samples/default/mac/Makefile.in => modules/plugin/default/mac/Makefile.in
rename : modules/plugin/samples/default/mac/NullPlugin.cpp => modules/plugin/default/mac/NullPlugin.cpp
rename : modules/plugin/samples/default/mac/NullPlugin.rsrc => modules/plugin/default/mac/NullPlugin.rsrc
rename : modules/plugin/samples/default/mac/npmac.cpp => modules/plugin/default/mac/npmac.cpp
rename : modules/plugin/samples/default/mac/npnul.pkg => modules/plugin/default/mac/npnul.pkg
rename : modules/plugin/samples/default/os2/Makefile.in => modules/plugin/default/os2/Makefile.in
rename : modules/plugin/samples/default/os2/dbg.cpp => modules/plugin/default/os2/dbg.cpp
rename : modules/plugin/samples/default/os2/dbg.h => modules/plugin/default/os2/dbg.h
rename : modules/plugin/samples/default/os2/dialogs.cpp => modules/plugin/default/os2/dialogs.cpp
rename : modules/plugin/samples/default/os2/dialogs.h => modules/plugin/default/os2/dialogs.h
rename : modules/plugin/samples/default/os2/maindll.cpp => modules/plugin/default/os2/maindll.cpp
rename : modules/plugin/samples/default/os2/npnul.pkg => modules/plugin/default/os2/npnul.pkg
rename : modules/plugin/samples/default/os2/npnulos2.h => modules/plugin/default/os2/npnulos2.h
rename : modules/plugin/samples/default/os2/npnulos2.ico => modules/plugin/default/os2/npnulos2.ico
rename : modules/plugin/samples/default/os2/npnulos2.rc => modules/plugin/default/os2/npnulos2.rc
rename : modules/plugin/samples/default/os2/npos2.cpp => modules/plugin/default/os2/npos2.cpp
rename : modules/plugin/samples/default/os2/npshell.cpp => modules/plugin/default/os2/npshell.cpp
rename : modules/plugin/samples/default/os2/plugin.cpp => modules/plugin/default/os2/plugin.cpp
rename : modules/plugin/samples/default/os2/plugin.h => modules/plugin/default/os2/plugin.h
rename : modules/plugin/samples/default/os2/utils.cpp => modules/plugin/default/os2/utils.cpp
rename : modules/plugin/samples/default/os2/utils.h => modules/plugin/default/os2/utils.h
rename : modules/plugin/samples/default/unix/Makefile.in => modules/plugin/default/unix/Makefile.in
rename : modules/plugin/samples/default/unix/npnul.pkg => modules/plugin/default/unix/npnul.pkg
rename : modules/plugin/samples/default/unix/npshell.c => modules/plugin/default/unix/npshell.c
rename : modules/plugin/samples/default/unix/npunix.c => modules/plugin/default/unix/npunix.c
rename : modules/plugin/samples/default/unix/nullplugin.c => modules/plugin/default/unix/nullplugin.c
rename : modules/plugin/samples/default/unix/nullplugin.h => modules/plugin/default/unix/nullplugin.h
rename : modules/plugin/samples/default/windows/Makefile.in => modules/plugin/default/windows/Makefile.in
rename : modules/plugin/samples/default/windows/Npnul32.dsp => modules/plugin/default/windows/Npnul32.dsp
rename : modules/plugin/samples/default/windows/dbg.cpp => modules/plugin/default/windows/dbg.cpp
rename : modules/plugin/samples/default/windows/dbg.h => modules/plugin/default/windows/dbg.h
rename : modules/plugin/samples/default/windows/dialogs.cpp => modules/plugin/default/windows/dialogs.cpp
rename : modules/plugin/samples/default/windows/dialogs.h => modules/plugin/default/windows/dialogs.h
rename : modules/plugin/samples/default/windows/maindll.cpp => modules/plugin/default/windows/maindll.cpp
rename : modules/plugin/samples/default/windows/npnul.pkg => modules/plugin/default/windows/npnul.pkg
rename : modules/plugin/samples/default/windows/npnul32.def => modules/plugin/default/windows/npnul32.def
rename : modules/plugin/samples/default/windows/npnul32.dsw => modules/plugin/default/windows/npnul32.dsw
rename : modules/plugin/samples/default/windows/npnul32.rc => modules/plugin/default/windows/npnul32.rc
rename : modules/plugin/samples/default/windows/npshell.cpp => modules/plugin/default/windows/npshell.cpp
rename : modules/plugin/samples/default/windows/npwin.cpp => modules/plugin/default/windows/npwin.cpp
rename : modules/plugin/samples/default/windows/plugicon.ico => modules/plugin/default/windows/plugicon.ico
rename : modules/plugin/samples/default/windows/plugin.cpp => modules/plugin/default/windows/plugin.cpp
rename : modules/plugin/samples/default/windows/plugin.h => modules/plugin/default/windows/plugin.h
rename : modules/plugin/samples/default/windows/resource.h => modules/plugin/default/windows/resource.h
rename : modules/plugin/samples/default/windows/utils.cpp => modules/plugin/default/windows/utils.cpp
rename : modules/plugin/samples/default/windows/utils.h => modules/plugin/default/windows/utils.h
2008-09-02 12:57:44 -04:00
Gervase Markham
6dfda16e57 Bug 452428 - Update Public Suffix List again. Patch by David Triendl; r=gerv. 2008-09-02 16:16:18 +01:00
Neil Deakin
f9575f432d Bug 453062, dragging images to desktop does not work, r=smaug,sr=roc 2008-09-02 10:30:10 -04:00
Dão Gottwald
804fc04fd8 test for bug 453291 2008-09-02 15:18:48 +02:00
Dão Gottwald
03e0283948 fix fallout from bug 443863 landing 2008-09-02 15:00:14 +02:00
Dão Gottwald
6c59ad540d Bug 453095 - gBrowser.browsers shouldn't try to look like a node list. r=gavin 2008-09-02 14:15:06 +02:00
Marco Bonardo
fed5a1056a Bug 442731 - GIF favicons are not resampled in places.sqlite (large icons are stored), r=dietrich, pavlov 2008-09-02 13:59:59 +02:00
Dave Townsend
38b92580c3 Bug 449027: Support specifying application range for plugins in blocklist.xml. r=robstrong 2008-09-02 12:53:34 +01:00
Arpad Borsos
3c87be4ffc Bug 451909 kill MOZ_XUL_APP now that all apps set it. docshell/toolkit cleanup r=benjamin, makefile cleanups r=ted 2008-09-02 10:45:14 +01:00