Heiher
2d0e7d7bf2
Bug 1141921 - OdinMonkey: MIPS: Fix callJitFromAsmJS to push return address. r=nbp
2015-03-19 03:29:00 -04:00
Jon Coppeard
535ee047bf
Bug 1141563 - Don't update Shapes in parallel after compacting GC r=terrence
2015-03-23 17:06:45 +00:00
Lars T Hansen
7530a5ce91
Bug 1146364 - use resumeAfter after effectful instructions. r=nbp
2015-03-24 09:06:03 +01:00
Nicholas Nethercote
3a86eefdcd
Bug 1146216 - Remove MakeSlotArray(), because it's dead. r=terrence.
...
--HG--
extra : rebase_source : 34e575f632ba58052ddaece47f3180ecc40c449d
2015-03-22 19:40:23 -07:00
Shu-yu Guo
ff15a447de
Bug 1145924 - Ensure JSRuntime is kept in sync with the profiler. (r=djvj)
2015-03-23 20:33:01 -07:00
Boris Zbarsky
da29ffd385
Bug 1146472 part 2. Use JSOP_NEWOBJECT as needed even if the script is not compile-and-go. r=luke
2015-03-23 20:37:31 -04:00
Boris Zbarsky
64eb476fc9
Bug 1146472 part 1. Don't do object-kind guessing for object literal templates in scripts, since we in fact know exactly how many slots we want them to have and hence what the kind should be. r=terrence
2015-03-23 20:37:30 -04:00
Terrence Cole
f174c824a1
Bug 1144931 - Move gray buffering code to RootMarking.cpp; r=jonco
...
--HG--
extra : rebase_source : 684ef52c0ee78ab9d8a77199af461e32a044b9bc
2015-03-19 13:38:11 -07:00
Terrence Cole
b7c1bdf80d
Bug 1144925 - Buffer gray roots using a CallbackTracer instead of the GCMarker; r=jonco
...
--HG--
extra : rebase_source : 6b952295709d61e4c24ab0d502a8329b94af2266
2015-03-19 13:37:52 -07:00
Jason Orendorff
c27c772b49
Bug 1142761 - Move CallSetter into ScriptedIndirectProxyHandler so it will eventually be deleted along with its only remaining caller. r=efaust.
...
--HG--
extra : rebase_source : c755d285b273a0e7342a478b0751883f65b7d1ab
extra : amend_source : ad32fcfc9b2a9c446bfcf1be3010580c3bdfb720
extra : source : 1519b8f2bbba393de20366c782f0590ddb290b42
2015-02-28 11:49:49 -06:00
Jason Orendorff
453e39c072
Bug 1139683 - Rewrite SetExistingProperty with comments and references to the standard. r=efaust.
...
--HG--
extra : rebase_source : c2f9c45464ae1eb7bc8ef7e19788e9dcfb6eef4d
extra : source : 26fd5567784152b092a241061771552eb8c0004a
2015-02-16 10:48:07 -06:00
Jason Orendorff
49d436c7c7
Bug 1144819 - Change JS_DefineProperty APIs to treat getter=nullptr and setter=nullptr as indicating class getter/setter ops only for data properties. r=Waldo.
...
--HG--
extra : rebase_source : e830197dc8c5543b730351f42b658ac3493ebfbd
extra : source : 7ebc76a450c31ef5b8c53482f3a9ad830bc96ee8
2015-03-16 20:28:44 -05:00
Jason Orendorff
c74a306ad4
Bug 1143810 - Remove some XPConnect JSClass::setProperty hooks that are not needed anymore. r=bholley.
...
--HG--
extra : rebase_source : 92dff40805b956b3b703f75a2512344b9ef0f777
extra : source : 92adb459d519c7d0c6fd08e234dafd3f6f660a14
2015-03-13 14:43:48 -05:00
Steve Fink
b865c47548
Bug 1125412 - Draw a graph of memory usage, r=terrence
...
--HG--
extra : rebase_source : bf1f136bd06665349fc1f68eec2aec87b7bff4e4
2015-01-26 16:52:46 -08:00
Steve Fink
9c855788fb
Bug 1125412 - Expose an object for inspecting GC memory values, r=terrence
...
--HG--
extra : rebase_source : c98affaa7f01beb0757256cbe4d63bd78e297dac
2015-01-26 15:32:54 -08:00
Jim Blandy
2825048c96
Bug 1146267: Define XP_DARWIN as appropriate in js/src stand-alone builds. r=sfink
...
--HG--
extra : rebase_source : 0ecd1f65aa210c4a692d852859ed81951b514b90
2015-03-23 12:33:03 -07:00
Guillaume Maudoux
3387d4307b
Bug 731683 - IonMonkey: Improve Ion compilation/bailouts checks. r=nbp
...
* * *
Introduce a warmup reset counter
--HG--
extra : transplant_source : X%DD1%5B%8F%D0%3D%B4%1B%F9%F7%C9%D9%96%8A%5DR%C8%20%91
2015-03-15 01:45:06 +01:00
Jim Blandy
be4c8ae31e
Bug 1146156: Add RR support to js/src/tests/jstests.py. r=nbp
...
--HG--
extra : rebase_source : 8b9c654db673383ddf0c645d331e8813043c370f
extra : histedit_source : 7af0d7deb4786add100653f32e4f046d6303df36
2015-03-21 17:34:45 -07:00
Boris Zbarsky
ee2ffbbfc9
Bug 1145491 part 7. Stop checking compileAndGo before emitting GNAME ops. r=luke
2015-03-20 21:34:19 -04:00
Boris Zbarsky
aa7430e61e
Bug 1145491 part 6. Fix script cloning to propagate the polluted-global-scope state to the lambda templates in the script. r=luke
2015-03-20 21:34:18 -04:00
Boris Zbarsky
0ee526e128
Bug 1145491 part 5. Fix up various other places that check for JSOP_GET/SETNAME without checking for the GNAME versions too. r=luke
2015-03-20 21:34:18 -04:00
Boris Zbarsky
dfb8cedba5
Bug 1145491 part 4. Emit JSOP_IMPLICITTHIS for JSOP_GETGNAME as well, because otherwise bareword calls in polluted-global scripts won't work right. r=luke
2015-03-20 21:34:18 -04:00
Boris Zbarsky
96f5b25ca3
Bug 1145491 part 3. Only do the fast path for JSOP_SETGNAME and JSOP_STRICTSETGNAME when the script doesn't have a polluted global. r=luke,jandem
2015-03-20 21:34:18 -04:00
Boris Zbarsky
2d34843d6c
Bug 1145491 part 2. Only do the fast path for JSOP_GETGNAME when the script doesn't have a polluted global. r=luke,jandem
2015-03-20 21:34:18 -04:00
Boris Zbarsky
91cd7cf1ae
Bug 1145491 part 1. Only do the fast path for JSOP_BINDGNAME when the script doesn't have a polluted global. r=luke,jandem
2015-03-20 21:34:18 -04:00
Boris Zbarsky
8481b8ca9f
Bug 1145488. Stop using compileAndGo in the JITs. r=jandem
2015-03-20 21:34:18 -04:00
Brian Hackett
f8c02740d9
Bug 1145426 - Fix compilation of unboxed object construction stubs on ARM and x86, r=jandem.
2015-03-23 08:06:40 -07:00
Maksim Lebedev
814ff7c30f
Bug 1105766 - Part 2: A couple of additions to enable compilation on Windows Phone 8. r=terrence r=ehoogeveen
2015-03-21 15:24:00 +01:00
Emanuel Hoogeveen
9a8fc8b96d
Bug 1105766 - Part 1: Extend the GC allocation logic to work on Windows Phone. r=terrence
...
--HG--
extra : rebase_source : d364f7743766dd059cd5e95295590224a3d3eaec
2015-03-21 15:22:00 +01:00
Benjamin Bouvier
7f11646965
Bug 1144692: Fix --disable-ion builds; r=h4writer
...
--HG--
extra : amend_source : f53a8fb37dbb3e79268b4ca50efb3a4b06e1d8bd
2015-03-23 07:59:36 +01:00
Phil Ringnalda
c4745d28b1
Backed out 9 changesets (bug 1142775, bug 1139683, bug 1143810, bug 1142761, bug 1142784, bug 1142794, bug 1144819) for widespread bustage
...
CLOSED TREE
Backed out changeset 7613fc978d36 (bug 1142794)
Backed out changeset e5f0cb31263d (bug 1142784)
Backed out changeset dcd0af73ac84 (bug 1142784)
Backed out changeset 034f9c8e79ee (bug 1142784)
Backed out changeset ce0ee37e3ca9 (bug 1142775)
Backed out changeset 1519b8f2bbba (bug 1142761)
Backed out changeset 26fd55677841 (bug 1139683)
Backed out changeset 7ebc76a450c3 (bug 1144819)
Backed out changeset 92adb459d519 (bug 1143810)
2015-03-22 09:34:25 -07:00
Jason Orendorff
735dca6f1b
Bug 1142794 - Change 'receiver' argument to SetProperty functions and ProxyHandler::set methods to be a HandleValue. r=Waldo.
...
Also: Change signature of these functions and methods to all have the same arguments in the same order: (cx, obj, id, v, receiver). Also change v from MutableHandleValue to HandleValue.
There is no change in behavior.
In fact the new error message `JSMSG_SET_NON_OBJECT_RECEIVER` is
impossible to trigger from scripts for now, I think (after re-reading
the whole patch with this in mind). JS_ForwardSetPropertyTo is the only
way to get a non-object receiver into the engine, but no caller
currently does so.
We're installing new pipes here, and they should work, but for now it's
the same cold water flowing through as before. Actually hooking up the
hot water is left for another bug (one with tests, not to put too fine a
point on it).
Notes:
* InvokeGetterOrSetter had to be split into two functions:
InvokeGetter takes a MutableHandleValue out-param,
InvokeSetter a HandleValue in-param.
* Watchpoints can still tamper with values being assigned. So can
JSSetterOps. I'm pleased we can support this craziness in a way that
doesn't have to spread via the type system to encompass the entire
codebase.
* Change in GlobalObject::setIntrinsicValue is not really a change.
Yes, it asserted before, but an exception thrown during self-hosting
initialization is not going to go unnoticed either.
* Since the receiver argument to js::SetProperty() is at the end now, it
makes sense for it to be optional. Some callers look nicer.
--HG--
extra : rebase_source : 68cd15627a62728061e663706cb1ff8c7bb292a0
2015-03-01 13:16:19 -06:00
Jason Orendorff
a5c5338e0f
Bug 1142784, part 3 - Change js::DefinePropertyOp and a few property-defining functions to use PropertyDescriptor rather than separate (value, attrs, getter, setter) arguments. r=Waldo.
...
--HG--
extra : rebase_source : a177bc1d8991f24652b4e629da5eaa52d9d4a59c
2015-02-28 11:23:44 -06:00
Jason Orendorff
db04193771
Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo.
...
--HG--
extra : rebase_source : 92dd18b10e100e7e2537c151a21d4f3be37e1c08
2015-02-17 11:58:43 -06:00
Jason Orendorff
c9896079b5
Bug 1142784, part 1 - In NativeObject.cpp, move some Lookup functions out of the way and make a big swath of this file the [[DefineOwnProperty]] section. r=Waldo.
...
--HG--
extra : rebase_source : b37456f33319b428dfbdc1b1c4270d7ea2d758a9
2015-02-17 12:01:54 -06:00
Jason Orendorff
39c8858336
Bug 1142775 - Rename NativeSet -> NativeSetExistingDataProperty and simplify it since it is only called for data properties. Delete Shape::set. Add comments. No change in behavior. r=efaust.
...
--HG--
extra : rebase_source : c9800f8ab602dae9e3da09a14a70f47ebd3fa86c
2015-02-28 14:40:07 -06:00
Jason Orendorff
53fd691536
Bug 1142761 - Move CallSetter into ScriptedIndirectProxyHandler so it will eventually be deleted along with its only remaining caller. r=efaust.
...
--HG--
extra : rebase_source : e6500d49877741ec992114a392ac0ad0cceb1da5
2015-02-28 11:49:49 -06:00
Jason Orendorff
800363dd52
Bug 1139683 - Rewrite SetExistingProperty with comments and references to the standard. r=efaust.
...
--HG--
extra : rebase_source : 780fb68a7ad32993b615a08fd43357b230d10d7d
2015-02-16 10:48:07 -06:00
Jason Orendorff
951bae6812
Bug 1144819 - Change JS_DefineProperty APIs to treat getter=nullptr and setter=nullptr as indicating class getter/setter ops only for data properties. r=Waldo.
...
--HG--
extra : rebase_source : eb14d7bbd47d57eb9b8168ee4d5e064dcc3c596d
2015-03-16 20:28:44 -05:00
Jason Orendorff
73269b1dad
Bug 1143810 - Remove some XPConnect JSClass::setProperty hooks that are not needed anymore. r=bholley.
...
--HG--
extra : rebase_source : 94898ab662a5b57f7170cb9a504fe8eb64dded9a
2015-03-13 14:43:48 -05:00
Jim Blandy
62ae929398
Bug 1140773: Address review comments. r=shu
2015-03-21 23:37:47 -07:00
Jim Blandy
a0c02e8e15
Bug 1140773: Ensure that GCParallelTask subclasses properly join at the start of their destructor. r=shu
...
--HG--
extra : rebase_source : 552a1f4a49e5c1a0164c97795788578731896c78
extra : amend_source : ad83004645c2e71443008d3e12f1d49fbd7df266
2015-03-21 22:18:50 -07:00
Shu-yu Guo
c169a99c98
Bug 1143286 - Fix terminating scope assertion in DebugScopeObject. (r=jimb)
2015-03-21 14:11:14 -07:00
Shu-yu Guo
23132a22c5
Bug 1143194 - Skip JSTRY_FOR_OF when unwinding exceptions. (r=jorendorff)
2015-03-21 14:11:14 -07:00
Shu-yu Guo
132d074b5c
Bug 1143194 - Handle JSTRY_FOR_OF in TI. (r=bhackett)
2015-03-21 14:11:14 -07:00
Shu-yu Guo
3153dbad9d
Bug 1143194 - Make trynote checking in BytecodeParse clearer. (r=jorendorff)
2015-03-21 14:11:14 -07:00
Shu-yu Guo
0c2245089a
Bug 1143194 - Rename JSTRY_ITER to JSTRY_FOR_IN. (r=jorendorff)
2015-03-21 14:11:14 -07:00
Shu-yu Guo
3bca61f7a5
Bug 1143194 - Handle JSTRY_FOR_OF when bailing out in-place from Ion for debug mode. (r=jandem)
2015-03-21 14:11:14 -07:00
Shu-yu Guo
ad0d736971
Bug 1143194 - Emit JSTRY_FOR_OF notes for for-of loops. (r=jorendorff)
2015-03-21 14:11:14 -07:00
Tom Schuster
936b3f4a37
Bug 1138157 - Change ScriptedDirectProxyHandler to inherit from BaseProxyHandler. r=efaust
...
This avoids the fallback behavior from DirectProxyHandler, which can't handle revoked proxies correctly.
Test created by André Bargull and me.
2015-03-21 20:30:57 +01:00