Commit Graph

24672 Commits

Author SHA1 Message Date
Brian Hackett
9516ebc71c Bug 844364 - Fix bogus assertion, inverted test when compiling JSOP_EVAL, r=jandem. 2013-02-25 15:17:12 -07:00
Bobby Holley
71a3669399 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
c3361bfc99 Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
256ed2c8ba 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
48bda79df5 Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
a9b42a6db0 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
f82f71bb85 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
22266c42fe 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
3cd9119770 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
6406390443 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
f82fd42806 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
5b691fd773 Back out 0fc2a36c23d8 (bug 844253) for bustage
CLOSED TREE
2013-02-24 22:52:40 -08:00
Kannan Vijayan
9432092846 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
2a71afa141 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
68ebdcecbf 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
9f21892a79 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
91b8dd7606 Bug 845569 - Land tests for various bugs. r=terrence 2013-02-27 10:40:01 -08:00
Jim Blandy
4cf2bc7866 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
182c3ffa08 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
a5b0f7906e Bug 843999 - Shrink the property cache. r=bhackett.
--HG--
extra : rebase_source : a05435c289528619856b70665453703a628c3790
2013-02-24 14:15:23 -08:00
Kannan Vijayan
4001489bf4 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
e2654f58c5 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 17:58:48 -08:00
Bobby Holley
076b7bfcfa Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Eddy Bruel
8ba018572b Bug 757188 - Implement Script.getAllColumnOffsets; r=jorendorff 2013-02-25 15:16:39 +01:00
Peter Van der Beken
60efffbed9 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Nicholas D. Matsakis
af92dee354 Bug 843684 - Add ParallelDo() r=dvander 2013-02-19 08:57:32 -05:00
Nicholas D. Matsakis
4abc9bdca7 Bug 843684 - Bring over self-hosted intrinsics r=till,dvander 2013-02-19 09:22:35 -05:00
Gregory Szorc
73dc3f3f6d Backout cc13b2fc76c0 (bug 843015) for crashes on Android and B2G 2013-02-23 23:48:54 -08:00
Marty Rosenberg
4fb7debecd 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
ef259d0058 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
1e570ae0ee Bug 843656 - Fixup callee in JM jitcode prologue for callsite clones r=dvander 2013-02-20 16:33:38 -08:00
Nicholas D. Matsakis
da39cbb5af Bug 843656 - move clone-at-callsite to the script r=bhackett 2013-02-19 10:49:33 -05:00
L. David Baron
05d5d9dfa9 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
aa1d0960df Bug 845458 - IonMonkey: simplify constant double handling on x86 (r=dvander) 2013-02-26 19:56:30 -05:00
Bobby Holley
b51f6208c3 Bug 845201 - Pass mayThrow=true to iterate. r=mrbkap
We only want fallback behavior here if the policy decides to fail silently. If
the policy passes *bp == false, we want to just throw.
2013-02-26 16:41:55 -08:00
Gary Kwong
c365d6a83d Bug 845569 - Land tests for various bugs. r=terrence 2013-02-26 15:31:04 -08:00
Shu-yu Guo
d8f1250d9b Bug 845016 - Inline Math.abs with double input and int output (r=sstangl) 2013-02-26 14:51:43 -08:00
David Anderson
181154e5a3 Prevent GC from occuring during IC linking (bug 837714, r=bhackett).
--HG--
extra : rebase_source : 4973d1be905775ea5623dbe808a034659e8c7797
2013-02-21 13:52:09 -08:00
Nicholas D. Matsakis
3708951491 Bug 845226 - Move inlined functions into jsscriptinlines.h r=dvander 2013-02-26 16:42:43 -05:00
Jim Blandy
a41df08de8 Bug 839313: Don't use a runtime value root to implement the 'customNative' property of 'it'. r=waldo 2013-02-26 11:48:44 -08:00
Jim Blandy
6e2c93f8f0 Bug 839313: In js/src/shell/js.cpp, Use JS_SET_RVAL, instead of assigning to *vp. r=waldo 2013-02-26 11:48:44 -08:00
Jim Blandy
58455e9632 Bug 839313: Replace JSVAL_VOID and similar constants with their JS::MumbleValue() equivalents. r=waldo 2013-02-26 11:48:43 -08:00
Joshua Cranmer
11274b83c3 Bug 648980 - Add a hook for projects to have custom configure scripts. r=glandium
--HG--
extra : rebase_source : e020071adc89e07fd45d468aabe518027df7ba44
2013-02-26 13:45:52 -06:00
Bobby Holley
2c5746f6db Bug 834732 - Assert proper cx stack handling in WrapperFactory::Rewrap. r=mrbkap 2013-02-26 11:04:13 -08:00
Bobby Holley
169d010a55 Bug 834732 - Implement stricter cx handling in xpc_EvalInSandbox. r=mrbkap 2013-02-26 11:04:11 -08:00
Bobby Holley
e83e186c1b Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
784a476fb8 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
e04f8d807d Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Nicolas B. Pierron
95fc06671d Bug 841666 - Use exponent over-estimation to truncate operations. r=h4writer 2013-02-26 10:54:26 -08:00
Nicolas B. Pierron
e6bc6cbf2c Bug 844305 - Check that excluded type are included before generating guards. r=bhackett 2013-02-26 10:43:32 -08:00
Nicolas B. Pierron
94b681eea6 Bug 844059 - Prevent int-specialized GetElementIC to produce stub for float typed arrays. r=dvander 2013-02-26 10:40:19 -08:00
Rafael Ávila de Espíndola
898300a17a Bug 845277 - Asan builds burning with "js/src/jsproxy.h:346:7: error: visibility does not match previous declaration". r=bholley. 2013-02-26 11:43:13 -05:00
Norbert Lindenberg
b30833345e Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 11). r=jwalden
--HG--
extra : rebase_source : 4de3e1ccf4c5f5809ff517ac7190ea411119dac3
2013-02-22 15:31:09 -08:00
Norbert Lindenberg
74bf2d554e Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 10). r=jwalden
--HG--
extra : rebase_source : 5e68b2c9aaa862152a80d870f0379d81db98fead
2013-02-22 15:31:07 -08:00
Norbert Lindenberg
7fc14db7e8 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 9). r=jwalden
--HG--
extra : rebase_source : f87af76e895dc145e73d0df0e44aec931ec1ffdf
2013-02-22 15:30:28 -08:00
Norbert Lindenberg
52958d0c29 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 8). r=jwalden
--HG--
extra : rebase_source : 7d583e686ae7c2f830971e7282b5f1754d2c57f9
2013-02-22 15:30:09 -08:00
Bobby Holley
a0de2e2bc9 Bug 812693 - Remove GetJSObjectOfWrapper. r=mrbkap 2013-02-26 08:15:44 -08:00
Brian Hackett
d9c16841f6 Bug 835587 - Add syntax only mode to parser, r=jorendorff. 2013-02-26 08:41:57 -07:00
Jan de Mooij
4a0621a2c2 Bug 844893 - Don't assert when two threads call getVMWrapper at the same time. r=luke 2013-02-26 13:49:44 +01:00
Masatoshi Kimura
58be2f3664 Bug 842372 - Part 2: Hide getUserData and setUserData from content. r=bz 2013-02-23 13:46:06 +09:00
Daniel Holbert
1232748dc5 Bug 845222: Remove unused private field Loop::graph. r=jandem 2013-02-26 00:06:37 -08:00
Marty Rosenberg
f79e9a13d1 Bug 843015: The Extended ldr instructions have a smaller maximum offset (255). Actually respect these limits. Also use paretheses correctly (r=sstangl) 2013-02-24 00:40:28 -05:00
Terrence Cole
485cb54be8 Bug 842482 - Don't try to guess typedarray initializer type with missing script; r=bhackett
--HG--
extra : rebase_source : cace8e3f6c79b0f330a9385b96c1680e3bfbc966
2013-02-25 22:26:37 -08:00
Trevor Saunders
1049ccba35 bug 833164 - consolodate the various makeDepend things in the tree r=ted 2013-02-14 07:06:16 -05:00
L. David Baron
4f4296979b Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Daniel Holbert
e088fa7176 Bug 845117 - Mark js/ipc as FAIL_ON_WARNINGS. r=smaug 2013-02-25 20:45:41 -05:00
Shu-yu Guo
051b517fa6 Bug 843884 - Pass execution mode through to inline IonBuilder (r=nmatsakis) 2013-02-22 13:51:51 -08:00
Shu-yu Guo
6a3fed7e52 Bug 843743 - Check return value of JSObject::setElement in UnsafeSetElement (r=nmatsakis) 2013-02-22 13:51:50 -08:00
Benoit Girard
75c4cfd49c Bug 767231 - Part 1: Add GTest. r=ted 2012-05-22 13:45:24 -07:00
Jim Blandy
5323204d18 Bug 827581: Unify JS_GetStringCharsZAndLength with JS_GetStringCharsAndLength. r=wmccloskey 2013-02-22 16:07:14 -08:00
Brian Hackett
4d3abc486e Bug 843937 - Specialize on eval(name + "()"), r=jandem. 2013-02-22 17:01:23 -07:00
Brian Hackett
d71d21d919 Bug 843875 - Don't use converted value for result of array assigns that require double conversion, r=jandem. 2013-02-22 16:58:31 -07:00
David Anderson
ea720cbbcb Revert previous change to YARR (bug 824856, r=sstangl). 2013-02-21 14:52:20 -08:00
Ryan VanderMeulen
1b1d4736df Merge m-c to inbound. 2013-02-22 12:45:21 -05:00
Ryan VanderMeulen
30ea044f55 Merge the last PGO-green inbound changeset to m-c. 2013-02-22 12:42:58 -05:00
Gregory Szorc
e18a5a8dfd Merge mozilla-central into build-system 2013-02-22 08:15:12 -08:00
Gregory Szorc
21c12f5774 Bug 784841 - Part 13: Properly normalize topsrcdir in config.status; r=glandium 2013-02-21 10:55:55 -08:00
Chuck Lee
e45fb52048 Bug 835719 - 0003. Rename JSAutoByteString.encode() to encodeLatin1(). r=terrence 2013-02-21 17:48:17 +08:00
Chuck Lee
4d6e622ba9 Bug 835719 - 0001. Support encode string to UTF-8 byte array. r=terrence 2013-02-22 10:58:52 +08:00
Jonathan Kew
e04415fc7f backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00
Bill McCloskey
a9bd163faa Bug 816033 - Disable ecma_5/extensions/JSON-string-replacer-overflow.js on Windows debug builds 2013-02-21 21:54:35 -08:00
Nicholas Nethercote
8c25c7c6b8 Bug 842419 (part 8) - Reduce the arity of SRC_CATCH from 1 to 0. r=jorendorff.
--HG--
extra : rebase_source : 25b167dbbe39c673b9b7b66ef09b2d33e923c2a7
2013-02-20 17:42:22 -08:00
Nicholas Nethercote
97b0a14e50 Bug 842419 (part 7) - Split SRC_SWITCH in two. r=jorendorff.
--HG--
extra : rebase_source : c91557416354c9d8003ce9f1b481c09d7eca867b
2013-02-20 17:42:22 -08:00
Nicholas Nethercote
28db687f13 Bug 842419 (part 6) - Reduce the arity of three loop-related srcnotes, and remove another. r=jorendorff.
--HG--
extra : rebase_source : 1bd7092dd1bd116752c2817844e7351448b91d4d
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
bfe7258189 Bug 842419 (part 5) - Reduce the arity of SRC_IF_ELSE from 2 to 1. r=jorendorff.
--HG--
extra : rebase_source : f892b0ca7e18f48332156f6c541a3bc6696b7332
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
bd3d571ae7 Bug 842419 (part 4) - Clean up srcnote constants and js_SrcNoteSpec. r=jorendorff.
--HG--
extra : rebase_source : 2340657e4bdd1a0c47151ffdc0b6ad55f6b99792
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
5feb161516 Bug 842419 (part 3) - Remove dead JOF_* constants, and kill off JSOP_BACKPATCH_POP. r=jorendorff.
--HG--
extra : rebase_source : 5b478653eee7113cf8a5c7574febbaabf63a7d70
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
513aa6c175 Bug 842419 (part 2) - Remove unnecessary SRC_CONTINUE notes, and kill off PNX_ENDCOMMA. r=jorendorff.
--HG--
extra : rebase_source : bd8c6665824d428aa7a01ff2d77ae872abaac282
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
5e685bf9d0 Bug 842419 (part 1) - Remove unnecessary JSOp arg from EmitBackPatchOp(). r=jorendorff.
--HG--
extra : rebase_source : 1066edf46cc5c34cd79a9b021b0e5cd36dfd2403
2013-02-20 17:42:21 -08:00
Bill McCloskey
6798be1a0e Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley) 2013-02-21 18:23:47 -08:00
Phil Ringnalda
c851ab102a Back out b831500ca4be (bug 837714) for bustage
CLOSED TREE
2013-02-21 14:26:04 -08:00
Nicolas B. Pierron
8a3fa24cd0 Bug 796114 - Inline with type-checked arguments. r=h4writer 2013-02-21 14:04:49 -08:00
David Anderson
a7a4608f44 Prevent GC from occuring during IC linking (bug 837714, r=bhackett). 2013-02-21 13:52:09 -08:00
Bobby Holley
32fbf57fb6 Bug 842940 - Remove another instance of cx->isExceptionPending(). r=jorendorff 2013-02-21 13:32:14 -08:00
Bobby Holley
3654407e0c Bug 842940 - Don't squelch exceptions in Proxy::get. r=jorendorff 2013-02-21 13:32:13 -08:00
Nicholas D. Matsakis
9ae365f1ee Bug 842723 - Remove incorrect inlines.h include r=dvander 2013-02-19 09:18:43 -05:00
Phil Ringnalda
03a1dc0a38 Back out 4d301b2bcad0:e0632e639097 (bug 836301) for Windows build bustage
CLOSED TREE
2013-02-22 08:41:37 -08:00
Brian Hackett
ddc5fd3107 Bug 844048 - Track uses of 'var arguments' within eval scripts, always make arguments objects for generators, r=luke. 2013-02-22 09:29:28 -07:00
Bobby Holley
b9a551bd57 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-22 08:14:34 -08:00
Bobby Holley
a98d6a7dfd Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-22 08:14:34 -08:00
Bobby Holley
9ea662d5a5 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-22 08:14:33 -08:00
Bobby Holley
55c2f3f408 Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-22 08:14:33 -08:00
Bobby Holley
0e28477234 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-22 08:14:33 -08:00
Bobby Holley
8723efd01d 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-22 08:14:33 -08:00
Bobby Holley
fa62b333b9 Bug 836301 - Add Special handling to allow us to call enter() for defineProperty on Xrays. r=mrbkap 2013-02-22 08:14:33 -08:00
Bobby Holley
93369747ec 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-22 08:14:32 -08:00
Bobby Holley
a307379ec0 Bug 836301 - Assert against JSID_VOID in JSID wrapping. r=mrbkap
Luke explained to me that it should never get there.
2013-02-22 08:14:32 -08:00
Bobby Holley
d5c80d07cc Bug 843231 - Compute whether to use an XBL scope exactly once. r=bz 2013-02-22 07:56:03 -08:00
Bobby Holley
ea51770fa3 Bug 843231 - Remove SetGlobal. r=bz
This stuff has all been simplified significantly with CPG, and this is no longer
necessary. We always have a global when we construct a scope, and it never
changes.
2013-02-22 07:56:03 -08:00
Bobby Holley
b1e6cef1c7 Bug 843231 - Move the nulling out of mPrototypeNoHelper from SetGlobal to RemoveWrappedNativeProtos. r=bz
The only call-site for both of these is JSD->nsXPConnect::InitClasses, so this
is equivalent. All this will go away soon anyhow when JSD goes away.
2013-02-22 07:56:02 -08:00
Hannes Verschore
bb7bd7e48f No bug: IonMonkey: Improve debugging spew, r=evilpie 2013-02-21 16:09:39 +01:00
Hannes Verschore
3490ed0d86 Bug 843038: IonMonkey: Correct the definition of when an instruction is part of the loop, r=jandem 2013-02-21 15:56:49 +01:00
Hannes Verschore
407104ef88 Bug 843518: IonMonkey: Run alias analysis when UCE removes dependency of an instruction, r=nmatsakis 2013-02-21 15:56:43 +01:00
Brian Hackett
0071d2ff30 Bug 842424 - Remove assertion. 2013-02-21 07:02:41 -07:00
Brian Hackett
4a4012adac Bug 743394 - Ion compile JSOP_EVAL, r=jandem. 2013-02-21 06:56:54 -07:00
Brian Hackett
610e2d4848 Bug 842425 - Watch for arrays that need elements converted to doubles when pushing elements, r=jandem. 2013-02-21 06:54:16 -07:00
Brian Hackett
28df7a17d3 Bug 842424 - Add missing newKind, r=terrence. 2013-02-21 06:46:46 -07:00
Brian Hackett
ba46adc7bd Bug 842305 - Don't try to cleanup values in global frames. 2013-02-21 06:02:45 -07:00
Brian Hackett
f8f4d60be2 Bug 842305 - Watch for null payloads flowing into Ion, r=jandem. 2013-02-21 05:38:44 -07:00
Brian Hackett
8bbb11151f Bug 841367 - Check for suppressed GC before verifying barriers, fix OOM crash, r=billm. 2013-02-21 05:26:57 -07:00
Chuck Lee
a03b38dfb1 Bug 828782 - 0002. Add new readString function for ctypes to use new inflate function. r=terrence 2013-02-20 11:20:56 +08:00
Chuck Lee
bbabae2dfa Bug 828782 - 0001. Add inflate function for replacing invalid byte while decoding UTF-8 character. r=terrence 2013-02-20 11:20:54 +08:00
Jon Coppeard
dcad11cbe3 Bug 843626 GC: Rooting analysis failures in parallel array jittests r=terrence
--HG--
extra : rebase_source : a671dd445040312bdd464555f18844c993357129
2013-02-21 15:50:50 +00:00
Till Schneidereit
99695a8ebf Bug 842192 - Self-host Array.map. r=jorendorff 2013-02-19 21:36:37 +01:00
Benjamin Peterson
5c92254d03 Bug 842884 - Don't do array assignment optimizations when spread is involved. r=jorendorff
--HG--
extra : rebase_source : 70554fd3db325b39319199afbb6101bb6701846d
2013-02-20 14:48:59 -05:00
Nicholas D. Matsakis
db275e7ded Bug 842729 - Repair merge failures from bug 807853 in TypeOracle and MCallOptimize r=bhackett 2013-02-19 08:30:25 -05:00
Peter Van der Beken
54c7bd1cc9 Fix for bug 825628 (Implement NamedConstructor) - use NamedConstructor for Image() and Option(). r=bz.
--HG--
extra : rebase_source : f48e0ded2374d84b89d585309309b1a42a95d868
2013-01-22 11:53:13 +01:00
Peter Van der Beken
86d3fc6af5 Fix for bug 825628 (Implement NamedConstructor) - add codegen support for NamedConstructor. r=bz.
--HG--
extra : rebase_source : 8393995dca6f65cb49512874c1916ee745436638
2013-01-22 11:51:15 +01:00
Nicholas D. Matsakis
073ed19b99 Bug 842745 - Modify timer in JS shell function to take an arbitrary JS function. r=dvander 2013-02-19 09:23:31 -05:00
Eddy Bruel
ddd1327b08 Bug 568953 - Parser support for module declarations; r=jorendorff 2013-02-20 20:49:41 +01:00
Eddy Bruel
89a579f54c Bug 568953 - Refactor FunctionNode; r=jorendorff 2013-02-20 20:15:15 +01:00
Ryan VanderMeulen
5fba1dc363 Merge m-c to inbound. 2013-02-20 12:52:59 -05:00
Gregory Szorc
d63d28cf51 Backout 4682ed369545 (bug 841713) for reftest make target bustage
--HG--
extra : rebase_source : 6bf45c9f33563109cf6d17197f9184a3a336efe0
2013-02-20 09:16:02 -08:00
Benjamin Smedberg
5da193665b Bug 791244 - Make the hangprocessor pref dependent on RELEASE_BUILD since deploying multidump hasn't happened yet, r=heycam
--HG--
extra : rebase_source : 145a4fd0f9cecc8835c56389c2403f8c15c97489
2013-02-20 10:52:16 -05:00
Daniel Holbert
d9fcac071a Bug 842886: Initialize & compare size_t variables to SIZE_MAX instead of -1 in Debugger.cpp. r=ejpbruel 2013-02-19 23:20:14 -08:00
Gregory Szorc
007c5b7899 Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-02-19 15:23:21 -08:00
Eddy Bruel
e5fe88efa4 CLOSED TREE. (Bug 568593) Backed out changeset e0aa698192b7 2013-02-19 23:51:40 +01:00
Eddy Bruel
998a480f3e Bug 568953 - Refactor FunctionNode; r=jorendorff 2013-02-19 23:06:14 +01:00
Luke Wagner
582dc44dd0 Bug 842411 - Fire operation callback before time is up so we can test the non-aborting case (r=terrence)
--HG--
extra : rebase_source : 9f23aa8fc1be361f55b2db3943d20d510730fb7a
2013-02-19 13:17:39 -08:00
David Anderson
ae0de3cf8b Fix a bug in typed array speculation (bug 841462, r=jandem). 2013-02-19 13:23:29 -08:00
Gavin Sharp
58c2d69de4 Bug 841359 - Always log error originating from windows with chrome principals. r=bz 2013-02-16 17:01:59 -08:00
Ryan VanderMeulen
4aa6da6a4f Merge m-c to inbound. 2013-02-19 12:46:19 -05:00
Lukas Blakk
4c259b985a Merging in version bump NO BUG CLOSED TREE 2013-02-19 09:35:19 -08:00
Eddy Bruel
40179528db Bug 568593 - Refactor ModuleBox; r=jorendorff 2013-02-19 16:43:42 +01:00
Eddy Bruel
c3fd23946f Bug 757188 - Refactor FlowGraphSummary; r=jorendorff 2013-02-19 16:05:15 +01:00
Hannes Verschore
9e91283128 Bug 836274: Disable funapply inlining when typeset of callee is tighter than caller, r=nbp 2013-02-19 11:33:42 +01:00
Phil Ringnalda
ada83cb5e4 Back out 3de5ec9de48a:7a1ecef13ae9 (bug 840696) and 62fa6ee0a279 (bug 814823) for Android bustage
CLOSED TREE
2013-02-18 23:15:27 -08:00
Nicolas B. Pierron
ca0778b23c Bug 840696 part 2 - Add typed array support to GetElem ICs. r=dvander 2013-02-18 22:15:30 -08:00
Nicolas B. Pierron
7aef909002 Bug 840696 part 1 - Enable GetElem IC if typed arrays & arrays are mix-up. r=dvander 2013-02-18 22:14:25 -08:00
Nicolas B. Pierron
adedaf3e35 Bug 814823 - Clean-up Ion cache mechanism. r=dvander 2013-02-18 21:29:55 -08:00