Commit Graph

31423 Commits

Author SHA1 Message Date
Nicholas D. Matsakis
0eee7c5ebe Bug 840339 - Move inlined functions that depend on jsscriptinlines.h into CompileInfo-inl.h r=dvander 2013-03-04 11:00:02 -05:00
Jan de Mooij
afac083447 Bug 846080 - Make DecompileArgumentFromStack a bit more robust. r=bhackett 2013-03-04 15:52:38 +01:00
Brian Hackett
2b78bcd043 Bug 846330 - Bail out before trying to eval scripts containing 'arguments' in Ion, r=jandem. 2013-03-04 07:21:16 -07:00
Jon Coppeard
21de54c9d5 Bug 844112 - GC: Fix misc build and test failures in exactly rooted shell r=sfink 2013-02-22 15:14:09 +00:00
Philipp Matthias Schäfer
e84c3a5ba4 Bug 815737 - Inline MathCache-reliant functions in IonMonkey. r=sstangl 2013-03-03 15:56:58 -08:00
Terrence Cole
c2c02cf291 Bug 843337 - No need for getAllocKind in JSObject::finalize anymore; r=jonco 2013-02-20 14:33:04 -08:00
Terrence Cole
57417692b6 Bug 844932 - HashTable rekey fixup does not guarantee !overloaded; r=sfink 2013-02-25 10:37:36 -08:00
Terrence Cole
6440b6a8ee Bug 845573 - Allocate singletons discovered by the parser in tenured; r=bhackett 2013-02-26 15:29:32 -08:00
Terrence Cole
41a222c7b1 Bug 847093 - Scope objects should start in the tenured heap; r=bhackett 2013-03-02 14:07:28 -08:00
Norbert Lindenberg
f8074373bf Bug 847000 - JSMSG_CANT_CONVERT_TO mapped to 35_TO in self-hosted code. r=tschneidereit 2013-03-01 23:57:00 +01:00
Igor Bukanov
7157fe6f93 Bug 743436 - remove XPCJSRuntime::mJSCycleCollectionContext and related code. r=peterv
The patch removes no longer used XPCJSRuntime::mJSCycleCollectionContext,
nsXPConnect::mCycleCollectionContext and related code to create/destroy
contexts. As that made nsCycleCollectionJSRuntime::FinishTraverse() empty
in all cases I removed that method as well.
2013-02-27 11:33:12 -08:00
Ms2ger
8e594502a2 Bug 638219 - Followup to fix the output for test failures on tbpl. 2013-03-02 10:50:50 +01:00
Ms2ger
257f2ce129 Backout changeset 84e8e319f735 for breaking rootanalysis build. 2013-03-02 10:44:07 +01:00
Norbert Lindenberg
a0199b8c37 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 16). r=jwalden 2013-03-01 20:24:40 -08:00
Norbert Lindenberg
8f565370fd Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 15). r=jwalden 2013-03-01 19:15:19 -08:00
Nicholas D. Matsakis
77d82d9753 Bug 829602 - Switch to self-hosted version of Parallel Array r=dvander,till 2013-03-01 13:48:13 -05:00
Terrence Cole
2e6241b03b Bug 638219 - Fix test selection after prior landings for bug 638219; rs=Waldo 2013-03-01 17:08:35 -08:00
Brian Hackett
724e086922 Bug 834240 - Add missing setPendingNukeTypes, r=dvander. 2013-03-01 17:08:18 -07:00
Daniel Holbert
6ae9657227 Bug 845868: Reorder js.cpp's #include list so that GCC doesn't spam Wattributes warnings about attributes being ignored on class decl-after-definition. r=Waldo 2013-03-01 16:02:21 -08:00
Dirkjan Ochtman
1b51fcdc83 Bug 638219 - Set all test-independent command-line bits up once, pass in; r=terrence
This will help integration with the jstests framework, which also uses
a single prefix argument to its Test command construction method.

Note that the order of js arguments is changed, from:

    cmd = [js] + list(set(self.jitflags)) + shell_args + ['-e', expr]
    cmd += ['-f', os.path.join(LIB_DIR, 'prolog.js'), '-f', self.path]

to:

    prefix = [os.path.abspath(args[0])] + shlex.split(options.shell_args)
    prefix += ['-f', os.path.join(jittests.LIB_DIR, 'prolog.js')]
    cmd = prefix + list(set(self.jitflags)) + ['-e', expr, '-f', self.path]

The assumption here is that only the order of -f options matters.
2013-02-15 17:58:45 +01:00
Dirkjan Ochtman
4d3c81962e Bug 638219 - Move test result output into result processing function; r=terrence 2013-02-15 17:09:33 +01:00
Dirkjan Ochtman
dbc5af16e7 Bug 638219 - Reuse cmd saved in results object rather than rebuilding it; r=terrence 2013-02-15 17:44:24 +01:00
Dirkjan Ochtman
ea0f86e254 Bug 638219 - Use TestOutput class to wrap test results; r=terrence 2013-02-15 17:00:58 +01:00
Dirkjan Ochtman
e8986a46cf Bug 638219 - Save static paths in module-level constants; r=terrence
These paths are a little far away from the script they're referenced in, so
it's a little fragile. However, since (a) these aren't expected to change
that often, and (b) the code should fail conspicuously if there is a change,
I don't think it's a problem.
2013-02-15 09:01:19 +01:00
Dirkjan Ochtman
485f645695 Bug 638219 - Extract valgrind setup, prepend in Test.command(); r=terrence 2013-02-15 08:33:25 +01:00
Dirkjan Ochtman
f1dd3b1dfd Bug 638219 - Move command construction into Test class method; r=terrence 2013-02-15 08:32:43 +01:00
Ryan VanderMeulen
c309cf192c Merge m-c to inbound on a CLOSED TREE. 2013-03-01 18:43:05 -05:00
Daniel Holbert
b36a1c39e5 Bug 842752: Remove unused (& debug-only) variable 'u' from SnapshotReader::readFrameHeader, and related code. r=nbp 2013-03-01 13:57:12 -08:00
Hannes Verschore
df7f4f6cb1 Bug 843023: IonMonkey: Inline Math.pow when result is expected to be intger, r=sstangl 2013-03-01 01:22:55 +01:00
Nicholas Nethercote
2fbe0a765c Bug 839376 (part 14) - More exact rooting in shell/js.cpp. r=sfink. 2013-02-28 15:03:17 -08:00
Steve Fink
9ae92f8522 Bug 845519 - Spot-fix Unrooted-related problems. r=terrence 2013-02-28 13:24:47 -08:00
Steve Fink
9ded21111d Bug 845519 - Use SkipRoots for jschar pointers until we need to start moving them. r=terrence 2013-02-26 16:45:49 -08:00
Steve Fink
58344d3a11 Bug 845519 - Check getType(cx) return value (also fixes rooting hazard). r=bhackett 2013-02-26 15:45:12 -08:00
Tom Schuster
f26c542fb9 Bug 836949 - Remove E4X only unicode flags. r=jwalden 2013-02-28 13:50:24 +01:00
Daniel Holbert
eef4273b31 Bug 846460: Remove duplicate period at the end of error message in rules.mk. r=gps 2013-02-28 22:45:03 -08:00
Norbert Lindenberg
4f7d5d868d Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 14). r=jwalden 2013-02-28 21:47:36 -08:00
Norbert Lindenberg
ed18790bb9 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 13). r=jwalden 2013-02-28 20:51:29 -08:00
Norbert Lindenberg
ab99e43082 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 12). r=jwalden 2013-02-28 20:51:14 -08:00
Yati Sagade
426466f140 Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
Steve Fink
02a7d33870 Bug 845519 - Fix aliasing problem between Rooted<T> and Rooted<derived-from-T>. r=bhackett 2013-02-15 10:18:30 -08:00
Boris Zbarsky
12716924bf Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
3c2adc682a Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Ryan VanderMeulen
9d1831e75b Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE. 2013-02-28 14:41:30 -05:00
Olli Pettay
b11c8df130 Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking 2013-02-28 20:53:04 +02:00
Boris Zbarsky
00730e4549 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
697b96580b Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Ms2ger
ac5466d247 Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Jan de Mooij
df8ea75b09 Bug 845841 - Don't inline object element read if the value may be a string. r=bhackett 2013-02-28 09:40:17 +01:00
Gregory Szorc
ec2f914881 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
6c0b50fe17 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00