Commit Graph

24788 Commits

Author SHA1 Message Date
Brian Hackett
f87094ce9f Bug 845404 - Handle common 'for' statements during syntax parsing, r=jorendorff. 2013-03-11 20:06:51 -06:00
Brian Hackett
325db63ae9 Bug 849785 - Avoid repeated computation of local standard time vs. UTC time difference, r=waldo. 2013-03-11 19:59:58 -06:00
Terrence Cole
1f75120459 Bug 848595 - Move the hashtable postbarrier to Barrier-inl; r=billm
It cannot be in the header since the barrier needs to know about JSRuntime.

--HG--
extra : rebase_source : f2307d9b0b708c755b790c6074822d7b82a41214
2013-03-06 17:52:31 -08:00
Terrence Cole
d064dfecda Bug 849452 - Remove unused SetProxyPrivate; r=billm
--HG--
extra : rebase_source : 80ddeeeb3a39ae8815177e1998f2b39be356e97e
2013-03-11 10:47:33 -07:00
Terrence Cole
935ca4c1e5 Bug 849068 - Fix some build warnings in the StoreBuffer; r=billm
--HG--
extra : rebase_source : 3907302df2bd102314c9112055b1c6ee8f63ffd1
2013-03-08 18:14:07 -08:00
Masatoshi Kimura
e5e5a90814 Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
Brian Hackett
b2adf364d1 Bug 849420 - Use MaybeRooted instead of Shape::AutoRooter, r=sfink. 2013-03-11 15:50:01 -06:00
Bobby Holley
4b67b8b7c1 Bug 809674 - Tests. r=me 2013-03-11 14:45:21 -07:00
Bobby Holley
11c07cabce Bug 809652 - Tests. r=jorendorff 2013-03-11 14:45:21 -07:00
Bobby Holley
f41fb0aa30 Bug 806751 - Crashtest. r=me 2013-03-11 14:45:21 -07:00
Bobby Holley
1c7f0daec3 Bug 805807 - Tests. r=mrbkap 2013-03-11 14:45:20 -07:00
Bobby Holley
4ea6146b51 Bug 786142 - Crashtest. r=me 2013-03-11 14:45:18 -07:00
Ryan VanderMeulen
100806930b Backed out changeset e7f298d7b17b (bug 829602) for frequent B2G mochitest crashes on a CLOSED TREE. 2013-03-11 17:24:31 -04:00
Nicholas D. Matsakis
96c1558dcb Bug 829602 - Enable self-hosted ParallelArray r=dvander,till 2013-03-11 13:57:59 -04:00
Steve Fink
c5b6d6e750 Bug 846590 - Do not poison when GC suppressed. r=terrence 2013-03-05 15:36:23 -08:00
Nicolas B. Pierron
2cde4c923b Bug 843733 part 2 - Use IonAllocPolicy allocator instead of the system one. r=mjronseb 2013-03-05 15:33:37 -08:00
Bobby Holley
1a97a988bd Bug 844211 - Make this-object nativeCall special-casing actually do something. r=jorendorff 2013-03-05 15:16:36 -08:00
Ryan VanderMeulen
1ce2c3fc86 Backed out 5 changesets (bug 790732) for talos-other hangs/crashes on a CLOSED TREE. 2013-03-05 15:44:15 -05:00
Gregor Wagner
93b9abdf5f Bug 842217 - Contacts list swipe and pan gets stuck because of frequent GCs. r=billm 2013-03-05 11:08:44 -08:00
Boris Zbarsky
7039e84fa4 Remove no longer used NodeIterator quickstubs. No bug. r=peterv 2013-03-05 13:42:06 -05:00
Boris Zbarsky
fd9f2ed96b Bug 847119. Fix the "did the DOM call throw?" test in IonMonkey to check the return value correctly. r=jandem 2013-03-05 13:41:24 -05:00
Bobby Holley
2e00ecfa83 Bug 790732 - Omit Components object for content scopes. r=mrbkap 2013-03-05 10:02:00 -08:00
Bobby Holley
cf88b2614c Bug 790732 - Remove Components warning and Telemetry. r=mrbkap 2013-03-05 10:01:59 -08:00
Bobby Holley
d80a23a7e1 Bug 790732 - Stop attaching Components in InitClasses. r=mrbkap
This method is larely deprecated. The only two consumers are JSD and the setup
for the safe JSContext, neither of which use system principal and thus neither
of which should have |Components|.
2013-03-05 10:01:59 -08:00
Bobby Holley
b8d46855f4 Bug 790732 - Remove the aTarget parameter from AttachComponentsObject. r=mrbkap
I added this when I thought we'd be defining Components on an object on the XBL
scope chain. At this point, it's not necessary anymore.
2013-03-05 10:01:59 -08:00
Luke Wagner
7c2ec8745f Bug 841617 - replace ObjectElements::convertDoubleElements with a 'flags' field (r=bhackett)
--HG--
extra : rebase_source : e0651358ae4a87b8599af8559112f111fb960898
2013-02-13 18:11:52 -08:00
Jan de Mooij
4ef12b6576 Bug 847450 - Change FastInvokeGuard to only construct an IonContext if it needs one. r=h4writer 2013-03-05 11:19:10 +01:00
William Chen
f3658e2a5e Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap 2012-11-01 11:18:08 -07:00
Jim Blandy
4bd1727faf Bug 839313: Add regression test for JS shell 'it.customNative' fix. r=waldo 2013-03-04 15:42:11 -08:00
Terrence Cole
338bd90239 Bug 841558 - Don't exactly mark tagged NULL pointers; r=sfink
--HG--
extra : rebase_source : 062760866d171948b2f866910ebd764521ed3f6f
2013-02-07 18:18:12 -08:00
Steve Fink
01d8110fde Bug 847579 - disable testGCOutOfMemory temporarily to reopen a CLOSED TREE. r=terrence 2013-03-04 14:53:49 -08:00
Nicolas B. Pierron
5799eea95f Bug 847605 - Check operands of branchTestBool before using testb. r=mjrosenb CLOSED TREE 2013-03-04 14:31:22 -08:00
Nicolas B. Pierron
0902f1e95b Bug 843733 - IonMonkey ARM, Allocate assembly template in temporary space. r=dvander,mrosenberg 2013-03-04 12:53:43 -08:00
Ryan VanderMeulen
c42dcf36fd Backed out changeset eef5f845fb75 (bug 829602) for intermittent jit-test failures. 2013-03-04 15:41:27 -05:00
Joey Armstrong
b273c1badb bug 750303: mkdir_deps - target specific enhancement 2013-03-04 14:34:02 -05:00
Sean Stangl
f5ee759b48 Bug 846539 - Remove jsop_call_inline(). r=djvj 2013-03-04 10:55:22 -08:00
Ryan VanderMeulen
87c2b225e1 Backed out changeset b4d1bc6b9d1a (bug 846539) for bustage on a CLOSED TREE. 2013-03-04 14:05:08 -05:00
Sean Stangl
3f1337b8e2 Bug 846539 - Remove jsop_call_inline(). r=djvj 2013-03-04 10:55:22 -08:00
Jeff Walden
bf23cd54f1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Jeff Walden
21d4a821b2 Bug 835542 - Add an IntegralConstant helper to TypeTraits.h, and use it where the spec says we should be using it. r=bjacob
--HG--
extra : rebase_source : a1272a85489771ce1cbe5c3aaa678b5b04b49226
2012-12-16 18:20:17 -05:00
Gregory Szorc
c01a900ada Bug 847073 - Record and print detailed summary of moz.build execution; r=glandium
--HG--
extra : rebase_source : 7d88cea873764650e62368ba40305f8cfff9d864
2013-03-04 10:32:57 -08:00
Mike Hommey
10660f1e5e Bug 847411 - Remove mkdir_deps dependency for PP_TARGETS rules. r=ted 2013-03-04 19:34:02 +01:00
Mike Hommey
f586477911 Bug 737849 - Add a -o/--output option to Preprocessor.py. r=ted 2013-03-04 19:34:02 +01:00
Mike Hommey
62a9fc733a Bug 847397 - Remove mkdir_deps dependency for INSTALL_TARGETS rules. r=ted 2013-03-04 19:34:02 +01:00
Nicholas D. Matsakis
dd0136187c Bug 829602 - Switch to self-hosted ParallelArray. r=dvander,till 2013-03-04 13:23:24 -05:00
Till Schneidereit
095f9fa411 Bug 787927 - Prevent self-hosted JS script from being registered with the debugger. r=jimb
--HG--
extra : rebase_source : e5fd2c4bc80d11ad782180d10123c563eca5347a
2012-09-03 16:04:14 +02:00
Terrence Cole
0b0251275b Bug 841065 - Do not call pre-barrier on finalized objects when finalizing Map and SetObjects; r=billm
--HG--
extra : rebase_source : db2bbca3687ec396454645a8b60455356a4de453
2013-02-13 11:51:48 -08:00
Terrence Cole
6a424f90bd Bug 849536 - Make GetGCThingTraceKind work for Nursery things; r=billm
--HG--
extra : rebase_source : f13dffb79a041292b3a2b283927d4ca8bdda2dcf
2013-03-11 10:47:33 -07:00
Terrence Cole
95af7822f7 Bug 848199 - Rename the post barrier verifier nursery; r=billm
This allows us to use the post barrier verifier in parallel with generational
GC. It also makes the state tracking during verification much simpler.

--HG--
extra : rebase_source : d4e1f8486b46178ccfc90df5f2ec983a5b7d10c1
2013-02-05 14:07:28 -08:00
Brian Hackett
1bb25e3266 Bug 836968 - Cache shapes for JSON objects and assign types to constructed JSON objects and arrays, r=waldo,jandem. 2013-03-12 13:45:21 -06:00
Eddy Bruel
2fd34c95b0 Bug 850086 - Recognize source URLs inside multiline comments. r=tschneidereit
--HG--
extra : rebase_source : dd7487c8a2d977b6b9013d5eac7421431d5a7115
2013-03-12 19:27:57 +01:00
Jesse Ruderman
1ecc8d3b4a Bug 404077 followup - remove bug mention from a test. DONTBUILD 2013-03-12 12:36:08 -07:00
Julian Seward
e74cad535a Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium
bug 850089 - fix SPS with disable-crashreporter. Patch by Ted Mielczarek <ted@mielczarek.org>, r=glandium
Bug 850132 - SPS breakpad unwind (bug 779291) breaks Win64 builds with "Unsupported platform". Patch by Makoto Kato <m_kato@ga2.so-net.ne.jp>, r=ted
2013-03-10 23:00:23 +01:00
Hannes Verschore
c53cfadb7f Bug 848803: LICM shouldn't hoist intructions that depend on instruction in or after the loop, r=jandem 2013-03-12 18:37:15 +01:00
Nicholas D. Matsakis
a67d1c4582 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
db197b064e Bug 846080 - Make DecompileArgumentFromStack a bit more robust. r=bhackett 2013-03-04 15:52:38 +01:00
Brian Hackett
09f8886982 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
2d2e488aa7 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
ad9066a18f Bug 815737 - Inline MathCache-reliant functions in IonMonkey. r=sstangl 2013-03-03 15:56:58 -08:00
Terrence Cole
072699b75e Bug 843337 - No need for getAllocKind in JSObject::finalize anymore; r=jonco
--HG--
extra : rebase_source : d5fdc33b362d7d486579f1934316e00a746a3d13
2013-02-20 14:33:04 -08:00
Terrence Cole
e42d1d2e11 Bug 844932 - HashTable rekey fixup does not guarantee !overloaded; r=sfink
--HG--
extra : rebase_source : e9354d0d3377f75c56cee8a0b2d6078fa9d9fbdb
2013-02-25 10:37:36 -08:00
Terrence Cole
d8caea816a Bug 845573 - Allocate singletons discovered by the parser in tenured; r=bhackett 2013-02-26 15:29:32 -08:00
Terrence Cole
09f26254f0 Bug 847093 - Scope objects should start in the tenured heap; r=bhackett 2013-03-02 14:07:28 -08:00
Norbert Lindenberg
12895305f7 Bug 847000 - JSMSG_CANT_CONVERT_TO mapped to 35_TO in self-hosted code. r=tschneidereit
--HG--
extra : rebase_source : 5a8bc53c47b45c8ff288a3859601a5476e2901e9
2013-03-01 23:57:00 +01:00
Igor Bukanov
6e38ffd2b4 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
ba169c4751 Bug 638219 - Followup to fix the output for test failures on tbpl. 2013-03-02 10:50:50 +01:00
Ms2ger
e12fa04199 Backout changeset 84e8e319f735 for breaking rootanalysis build. 2013-03-02 10:44:07 +01:00
Norbert Lindenberg
fa39b64585 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 16). r=jwalden
--HG--
extra : rebase_source : e163af1b07efe16108869aa05794673b9f4f3be3
2013-03-01 20:24:40 -08:00
Norbert Lindenberg
ce32420144 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 15). r=jwalden
--HG--
extra : rebase_source : 9060bb8f6700debfdbb116099b4f3dc5a0ceb254
2013-03-01 19:15:19 -08:00
Nicholas D. Matsakis
b83b4385b0 Bug 829602 - Switch to self-hosted version of Parallel Array r=dvander,till 2013-03-01 13:48:13 -05:00
Terrence Cole
98dba44aec Bug 638219 - Fix test selection after prior landings for bug 638219; rs=Waldo
--HG--
extra : rebase_source : eb107700ec8c3e136323ef8173d3d3ec13418de0
2013-03-01 17:08:35 -08:00
Brian Hackett
8735e156f5 Bug 834240 - Add missing setPendingNukeTypes, r=dvander. 2013-03-01 17:08:18 -07:00
Daniel Holbert
dbf69ad033 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
43071c9a42 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.

--HG--
extra : rebase_source : 9655d6efc62006aa840d72f6b31d764bd870cc7d
2013-02-15 17:58:45 +01:00
Dirkjan Ochtman
0cfa5c95f5 Bug 638219 - Move test result output into result processing function; r=terrence
--HG--
extra : rebase_source : c72b28460c2e4b52aa3e4bfa903d5ee1563c1e39
2013-02-15 17:09:33 +01:00
Dirkjan Ochtman
1fc0df4224 Bug 638219 - Reuse cmd saved in results object rather than rebuilding it; r=terrence
--HG--
extra : rebase_source : 4b955e7793c966db184f67cc1a90ab8c24bbfcd7
2013-02-15 17:44:24 +01:00
Dirkjan Ochtman
07babddef9 Bug 638219 - Use TestOutput class to wrap test results; r=terrence
--HG--
extra : rebase_source : 446d5f86d11c4d41fc771dde2b6357f6fff63175
2013-02-15 17:00:58 +01:00
Dirkjan Ochtman
0304b5d7cc 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.

--HG--
extra : rebase_source : 2e2d278826d4d30c813156553590c24d9056575f
2013-02-15 09:01:19 +01:00
Dirkjan Ochtman
3ff725a17b Bug 638219 - Extract valgrind setup, prepend in Test.command(); r=terrence
--HG--
extra : rebase_source : dc17ae04127892f4d5778e5d546d8fba4436766f
2013-02-15 08:33:25 +01:00
Dirkjan Ochtman
ec3556c690 Bug 638219 - Move command construction into Test class method; r=terrence
--HG--
rename : toolkit/modules/Timer.jsm => browser/devtools/shared/Browser.jsm
rename : toolkit/modules/tests/xpcshell/test_timer.js => browser/devtools/shared/test/browser_browser_basic.js
extra : rebase_source : 4a02112413b31457cf855d68a6db6d816172652f
2013-02-15 08:32:43 +01:00
Ryan VanderMeulen
6890c5e0e7 Merge m-c to inbound on a CLOSED TREE. 2013-03-01 18:43:05 -05:00
Daniel Holbert
4091fbb0af 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
6e406beacc 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
9e3cebd690 Bug 839376 (part 14) - More exact rooting in shell/js.cpp. r=sfink.
--HG--
extra : rebase_source : 5dbacfb158ff5ea3935c0378f1c691006cb013a8
2013-02-28 15:03:17 -08:00
Steve Fink
2480d724b8 Bug 845519 - Spot-fix Unrooted-related problems. r=terrence
--HG--
extra : rebase_source : d725080582e51c4d6385b0adbb188933641988bd
2013-02-28 13:24:47 -08:00
Steve Fink
24d68f4706 Bug 845519 - Use SkipRoots for jschar pointers until we need to start moving them. r=terrence
--HG--
extra : rebase_source : d337dba6972e78e1994dd5563f093622e4475fc8
2013-02-26 16:45:49 -08:00
Steve Fink
7b134aa2b0 Bug 845519 - Check getType(cx) return value (also fixes rooting hazard). r=bhackett
--HG--
extra : rebase_source : 3031e892cd93c36db9096e47fcb20fb3dc9913dc
2013-02-26 15:45:12 -08:00
Tom Schuster
f8e6abb029 Bug 836949 - Remove E4X only unicode flags. r=jwalden 2013-02-28 13:50:24 +01:00
Daniel Holbert
8986e09212 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
d3616302be Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 14). r=jwalden
--HG--
extra : rebase_source : 03309cc5245306892ae45bad1696f84cfda266a3
2013-02-28 21:47:36 -08:00
Norbert Lindenberg
2f9a71ed49 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 13). r=jwalden
--HG--
extra : rebase_source : 7591734146c4aa654d3cbdbb8ec9a3671f3fdbdf
2013-02-28 20:51:29 -08:00
Norbert Lindenberg
1002d829dc Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 12). r=jwalden
--HG--
extra : rebase_source : ed07060d340e7f644b7501635ac40e19e22a8240
2013-02-28 20:51:14 -08:00
Yati Sagade
54fcbb6e17 Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
Steve Fink
e22c0828a5 Bug 845519 - Fix aliasing problem between Rooted<T> and Rooted<derived-from-T>. r=bhackett
--HG--
extra : rebase_source : 38e1a42e7408e6bd60dbdc42f2dbb5cffb68625d
2013-02-15 10:18:30 -08:00
Boris Zbarsky
4549dd5886 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
09556095dd 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
ebcc7ae06a Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Olli Pettay
fee019f92c Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Boris Zbarsky
30f64b6cf1 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
7015a00262 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
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Jan de Mooij
2af3344a27 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
89d297a677 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
f0b7e3972c 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
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Hannes Verschore
7a456295a3 Bug 843866: IonMonkey: Make sure inference ran before inlining empty script, r=jandem 2013-02-26 11:20:03 +01:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Brian Hackett
97d638251f Bug 841530 - Tweaks to fit JIT inspector after the decompilerectomy, r=pierron. 2013-02-25 15:31:49 -07:00
Gregory Szorc
01c06b3b88 Bug 784841 - Part 19: Remove allmakefiles.sh and friends; r=ted 2013-02-25 14:09:16 -08:00
Gregory Szorc
c1b5e29e19 Bug 784841 - Part 18s: Convert /js; r=glandium 2013-02-25 12:47:22 -08:00
Gregory Szorc
aa1ef1d3f8 Bug 784841 - Part 18e: Convert /build, /config, and core build system; r=ted 2013-02-25 12:47:18 -08:00
Gregory Szorc
39ec7e4cdf Bug 784841 - Part 16: Use moz.build files to build the tree; r=ted, glandium 2013-02-25 12:47:11 -08:00
Nicholas D. Matsakis
b87286ac46 Bug 843684 - Patch up include to avoid compilation warnings when JS_THREADSAFE is not defined r=njn 2013-02-25 08:06:48 -05:00
Ed Morley
2863af18c4 Backed out changeset d9d90bf85bcf (bug 845569) for bug839758.js assertions 2013-02-27 10:31:18 +00:00
Ehsan Akhgari
3a2fdeb18a Bug 780474 - Disable the struct/class mismatch warning on MSVC as well; r=glandium
--HG--
extra : rebase_source : 3e593b71e589df349abc41f9182739305478690f
2013-02-25 12:10:41 -05:00
Brian Hackett
b9530756ad Bug 844482 - Watch for OOM disabling TI under CreateThisForFunction, r=dvander. 2013-02-25 15:21:13 -07:00
Brian Hackett
59348db6ca Bug 844364 - Fix bogus assertion, inverted test when compiling JSOP_EVAL, r=jandem. 2013-02-25 15:17:12 -07:00
Bobby Holley
c014987e4f Bug 836301 - Hoist some assertions, remove a bunch of no-op trap overrides, and add assertions that we've entered our policy. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
f84dddd71f Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
83a57c8d91 Bug 836301 - Introduce an RAII class for entering policies. r=mrbkap
This will allow us to make some hard assertions that a given policy has been
entered exactly once.
2013-02-25 13:54:18 -08:00
Bobby Holley
15161f36d3 Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
97705ea7e1 Bug 836301 - Add tracking for whether we have a non-trivial enter() trap. r=mrbkap
This will allow us to skip the virtual function call for non-security-wrapper
proxies, which are the cases where we care most about performance.
2013-02-25 13:54:18 -08:00
Bobby Holley
1c9777f504 Bug 836301 - Stop enter()ing with CALL for nativeCall. r=mrbkap
This is kind of nonsensical, because CALL means "the wrapped object is being
called", whereas nativeCall means "the wrapped object is being unwrapped to
have a JSNative invoked on it", which are two very different things.

We _could_ add a NATIVECALL enter() trap, but our current policy enforcement
around nativeCall involves overriding the trap itself, so we wouldn't use it
for anything. So let's just get rid of it.
2013-02-25 13:54:17 -08:00
Bobby Holley
a1a88275ee Bug 836301 - Add Special handling to allow us to call enter() for defineProperty on Xrays. r=mrbkap 2013-02-25 13:54:17 -08:00
Bobby Holley
6f2c3cdc97 Bug 836301 - Stop using JSRESOLVE_ASSIGNING to determine GET vs SET. r=mrbkap
This is just a heuristic, anyway, and some of the usage is downright broken.
There are two cases here:

1 - Deciding what to do for get{Own,}PropertyDescriptor. In these cases, we can
just enter with GET and rely on the filtering machinery to filter out dangerous
setters for security wrappers.

2 - Custom Xray props. None of these make sense in a |set| context. In fact,
    they generally have null setters anyway, so we can just assume GET.

The policy-entering code in XrayWrapper is super haphazard. We'll get rid of it
entirely later in these patches.
2013-02-25 13:54:17 -08:00
Bobby Holley
43540aa59a Bug 836301 - Assert against JSID_VOID in JSID wrapping. r=mrbkap
Luke explained to me that it should never get there.
2013-02-25 13:54:17 -08:00
Daniel Holbert
77c149b73d Bug 845021: Add size_t cast in assertion, to silence build warning, in ObjectWrapperChild::AnswerNewEnumerateNext. r=Waldo 2013-02-25 13:46:56 -08:00
Phil Ringnalda
6734097077 Back out 0fc2a36c23d8 (bug 844253) for bustage
CLOSED TREE
2013-02-24 22:52:40 -08:00
Kannan Vijayan
5d86893048 Bug 844253 - Change useNewType to be a flag on StackFrame instead of an explicitly passed argument. r=bhackett 2013-02-25 00:57:39 -05:00
Nicholas Nethercote
303eefa8b5 Bug 843462 (part 3) - Use a Vector to build the bytecode. r=jorendorff.
--HG--
extra : rebase_source : b5f266d41f94daf626540f40986f22a1f26c0556
2013-02-20 21:13:28 -08:00
Nicholas Nethercote
6b8ee78c07 Bug 843462 (part 2) - Use a Vector to build the source notes. r=jorendorff.
--HG--
extra : rebase_source : 57d50732d55b9e73bad04ec0c01b58b20de275b3
2013-02-20 21:13:26 -08:00
Nicholas Nethercote
160fb3d26e Bug 843462 (part 1) - Make Vector::insert() less error-prone. r=luke.
--HG--
extra : rebase_source : 8cc2ba2a01d7d4970aacb7728bb2936ea473dcf5
2013-02-20 21:13:25 -08:00
Gary Kwong
dcf70892da Bug 845569 - Land tests for various bugs. r=terrence 2013-02-27 10:40:01 -08:00
Jim Blandy
5bd2646110 Bug 841998: JS GDB support: Make prettyprinters.lookup_for_objfile cope with non-SpiderMonkey objfiles correctly. r=sfink 2013-02-27 09:30:02 -08:00
Bob Clary
45c167de16 Bug 845770 - Change fails-if(Android) js date tests to random-if(Android), r=jmaher. 2013-02-27 06:52:06 -08:00
Nicholas Nethercote
89f5a487ae Bug 843999 - Shrink the property cache. r=bhackett.
--HG--
extra : rebase_source : a05435c289528619856b70665453703a628c3790
2013-02-24 14:15:23 -08:00
Kannan Vijayan
ad6184732e Bug 844253 - Change useNewType to be a flag on StackFrame instead of an explicitly passed argument. r=bhackett 2013-02-25 15:15:38 -05:00
L. David Baron
9b9f1bc887 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 17:58:48 -08:00
Bobby Holley
440bea3fd7 Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Eddy Bruel
efd5e3ed65 Bug 757188 - Implement Script.getAllColumnOffsets; r=jorendorff 2013-02-25 15:16:39 +01:00
Peter Van der Beken
410cee5e49 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Nicholas D. Matsakis
fbd74d4519 Bug 843684 - Add ParallelDo() r=dvander 2013-02-19 08:57:32 -05:00
Nicholas D. Matsakis
de0ccc3cc2 Bug 843684 - Bring over self-hosted intrinsics r=till,dvander 2013-02-19 09:22:35 -05:00
Gregory Szorc
dedc999bdd Backout cc13b2fc76c0 (bug 843015) for crashes on Android and B2G 2013-02-23 23:48:54 -08:00
Marty Rosenberg
79fc883c06 Bug 843015: The Extended ldr instructions have a smaller maximum offset (255). Actually respect these limits. (r=sstangl) 2013-02-24 00:40:28 -05:00
Jim Blandy
d35a2bb73d Bug 822923: make JS shell's 'evaluate' handle compilation errors without leaking source-map URL names. r=jorendorff 2013-02-23 21:22:01 -08:00
Nicholas D. Matsakis
392c78f7d6 Bug 843656 - Fixup callee in JM jitcode prologue for callsite clones r=dvander 2013-02-20 16:33:38 -08:00
Nicholas D. Matsakis
d9e302a6d3 Bug 843656 - move clone-at-callsite to the script r=bhackett 2013-02-19 10:49:33 -05:00
L. David Baron
a144cc1c82 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
Luke Wagner
c28cc714bf Bug 845458 - IonMonkey: simplify constant double handling on x86 (r=dvander) 2013-02-26 19:56:30 -05:00