Commit Graph

33816 Commits

Author SHA1 Message Date
Bobby Holley
0c9994db1d 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
59d3c6c36d Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
d916a1015e 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
be3814c47e Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
ea8d501a0c 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
4591fd0a3d 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
e969932415 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
141e362856 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
1c8920e364 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
9fbb71c834 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
16e0bf8187 Back out 0fc2a36c23d8 (bug 844253) for bustage
CLOSED TREE
2013-02-24 22:52:40 -08:00
Kannan Vijayan
259242f46c 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
23730fbeba 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
9c183b485f 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
4f7d3fdf51 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
5cf6e9aa04 Bug 845569 - Land tests for various bugs. r=terrence 2013-02-27 10:40:01 -08:00
Jim Blandy
7ea994bd5d 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
25a528bdb3 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
f759056e02 Bug 843999 - Shrink the property cache. r=bhackett.
--HG--
extra : rebase_source : a05435c289528619856b70665453703a628c3790
2013-02-24 14:15:23 -08:00
Kannan Vijayan
dc3f80f4a9 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
b71f255ba0 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 17:58:48 -08:00
Bobby Holley
07f2fa5d3f Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Eddy Bruel
7200bfd67f Bug 757188 - Implement Script.getAllColumnOffsets; r=jorendorff 2013-02-25 15:16:39 +01:00
Peter Van der Beken
3f112891fb Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Nicholas D. Matsakis
724a84dc9e Bug 843684 - Add ParallelDo() r=dvander 2013-02-19 08:57:32 -05:00
Nicholas D. Matsakis
18b7ed61f4 Bug 843684 - Bring over self-hosted intrinsics r=till,dvander 2013-02-19 09:22:35 -05:00
Gregory Szorc
0822698795 Backout cc13b2fc76c0 (bug 843015) for crashes on Android and B2G 2013-02-23 23:48:54 -08:00
Marty Rosenberg
9f609024be 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
bdc6473dda 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
fb1d64c454 Bug 843656 - Fixup callee in JM jitcode prologue for callsite clones r=dvander 2013-02-20 16:33:38 -08:00
Nicholas D. Matsakis
d07a195a3e Bug 843656 - move clone-at-callsite to the script r=bhackett 2013-02-19 10:49:33 -05:00
L. David Baron
49b7670edf 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
a8e0a1a69c Bug 845458 - IonMonkey: simplify constant double handling on x86 (r=dvander) 2013-02-26 19:56:30 -05:00
Bobby Holley
2b5b1bffe9 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
8282715391 Bug 845569 - Land tests for various bugs. r=terrence 2013-02-26 15:31:04 -08:00
Shu-yu Guo
9c3ffe3bd0 Bug 845016 - Inline Math.abs with double input and int output (r=sstangl) 2013-02-26 14:51:43 -08:00
David Anderson
68d9b3d62a 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
976d8ee64e Bug 845226 - Move inlined functions into jsscriptinlines.h r=dvander 2013-02-26 16:42:43 -05:00
Jim Blandy
90e65845c7 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
0063b3589d 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
a3d357830c 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
d381f677ac 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
75c19cf6e0 Bug 834732 - Assert proper cx stack handling in WrapperFactory::Rewrap. r=mrbkap 2013-02-26 11:04:13 -08:00
Bobby Holley
917b9b02b4 Bug 834732 - Implement stricter cx handling in xpc_EvalInSandbox. r=mrbkap 2013-02-26 11:04:11 -08:00
Bobby Holley
321002c62d 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
d2ef489c30 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
03f7f4b219 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
e3812b3710 Bug 841666 - Use exponent over-estimation to truncate operations. r=h4writer 2013-02-26 10:54:26 -08:00
Nicolas B. Pierron
53573c675f Bug 844305 - Check that excluded type are included before generating guards. r=bhackett 2013-02-26 10:43:32 -08:00
Nicolas B. Pierron
3bd0bd475d 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
efb6d5492c 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
bf593b3710 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
a6357c3246 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
78bf555c82 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
26561239d9 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
481e815158 Bug 812693 - Remove GetJSObjectOfWrapper. r=mrbkap 2013-02-26 08:15:44 -08:00
Brian Hackett
adb6d6b80e Bug 835587 - Add syntax only mode to parser, r=jorendorff. 2013-02-26 08:41:57 -07:00
Jan de Mooij
5909fc59dd 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
cd9eabebe7 Bug 842372 - Part 2: Hide getUserData and setUserData from content. r=bz 2013-02-23 13:46:06 +09:00
Daniel Holbert
b62c4bbb26 Bug 845222: Remove unused private field Loop::graph. r=jandem 2013-02-26 00:06:37 -08:00
Marty Rosenberg
a52453d3d6 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
41740b527d 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
7c86473ca0 bug 833164 - consolodate the various makeDepend things in the tree r=ted 2013-02-14 07:06:16 -05:00
L. David Baron
a8ee400190 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Daniel Holbert
ba4c24c2cb Bug 845117 - Mark js/ipc as FAIL_ON_WARNINGS. r=smaug 2013-02-25 20:45:41 -05:00
Shu-yu Guo
07f9331f9a Bug 843884 - Pass execution mode through to inline IonBuilder (r=nmatsakis) 2013-02-22 13:51:51 -08:00
Shu-yu Guo
2851e16982 Bug 843743 - Check return value of JSObject::setElement in UnsafeSetElement (r=nmatsakis) 2013-02-22 13:51:50 -08:00
Benoit Girard
f49834c59d Bug 767231 - Part 1: Add GTest. r=ted 2012-05-22 13:45:24 -07:00
Jim Blandy
8882e320c5 Bug 827581: Unify JS_GetStringCharsZAndLength with JS_GetStringCharsAndLength. r=wmccloskey 2013-02-22 16:07:14 -08:00
Brian Hackett
1f74ea77cc Bug 843937 - Specialize on eval(name + "()"), r=jandem. 2013-02-22 17:01:23 -07:00
Brian Hackett
56f63d1f20 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
dba3797c2c Revert previous change to YARR (bug 824856, r=sstangl). 2013-02-21 14:52:20 -08:00
Ryan VanderMeulen
7fb17435cb Merge m-c to inbound. 2013-02-22 12:45:21 -05:00
Ryan VanderMeulen
3e83288571 Merge the last PGO-green inbound changeset to m-c. 2013-02-22 12:42:58 -05:00
Gregory Szorc
6b72da0d0f Merge mozilla-central into build-system 2013-02-22 08:15:12 -08:00
Gregory Szorc
2b30ef2b1f Bug 784841 - Part 13: Properly normalize topsrcdir in config.status; r=glandium 2013-02-21 10:55:55 -08:00
Chuck Lee
5cfe2d786d Bug 835719 - 0003. Rename JSAutoByteString.encode() to encodeLatin1(). r=terrence 2013-02-21 17:48:17 +08:00
Chuck Lee
b4d7ba2694 Bug 835719 - 0001. Support encode string to UTF-8 byte array. r=terrence 2013-02-22 10:58:52 +08:00
Jonathan Kew
9c8145baf7 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
0fe1e9a92f 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
482b463db7 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
610de6044a 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
a45f7adb85 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
d71768ef35 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
f05de18e6c 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
abfe2f5f55 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
ba588b4c6f 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
0d976843aa 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
a133579459 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
5d4e5e281f Back out b831500ca4be (bug 837714) for bustage
CLOSED TREE
2013-02-21 14:26:04 -08:00
Nicolas B. Pierron
4ae7b2480b Bug 796114 - Inline with type-checked arguments. r=h4writer 2013-02-21 14:04:49 -08:00
David Anderson
88991a1f41 Prevent GC from occuring during IC linking (bug 837714, r=bhackett). 2013-02-21 13:52:09 -08:00
Bobby Holley
ffe17acd93 Bug 842940 - Remove another instance of cx->isExceptionPending(). r=jorendorff 2013-02-21 13:32:14 -08:00
Bobby Holley
dd9c320e78 Bug 842940 - Don't squelch exceptions in Proxy::get. r=jorendorff 2013-02-21 13:32:13 -08:00
Nicholas D. Matsakis
d6b722e0fb Bug 842723 - Remove incorrect inlines.h include r=dvander 2013-02-19 09:18:43 -05:00
Phil Ringnalda
7529e0b16b Back out 4d301b2bcad0:e0632e639097 (bug 836301) for Windows build bustage
CLOSED TREE
2013-02-22 08:41:37 -08:00
Brian Hackett
340aa3c8b1 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
510ba5b448 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
bdcb37109c Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-22 08:14:34 -08:00
Bobby Holley
2c74bb15cf 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
428bacbd55 Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-22 08:14:33 -08:00
Bobby Holley
0418ad061b 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
f27050fcfb 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
3e3a4e08c3 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
79dd453af9 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
4f504ff426 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
9462fcb184 Bug 843231 - Compute whether to use an XBL scope exactly once. r=bz 2013-02-22 07:56:03 -08:00
Bobby Holley
863901e6cd 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
35df7de8e1 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
d131fb1949 No bug: IonMonkey: Improve debugging spew, r=evilpie 2013-02-21 16:09:39 +01:00
Hannes Verschore
1368cd4884 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
7b4eae0612 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
3a7fc27a9c Bug 842424 - Remove assertion. 2013-02-21 07:02:41 -07:00
Brian Hackett
79c242d45e Bug 743394 - Ion compile JSOP_EVAL, r=jandem. 2013-02-21 06:56:54 -07:00
Brian Hackett
477e909b9d 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
43253beb47 Bug 842424 - Add missing newKind, r=terrence. 2013-02-21 06:46:46 -07:00
Brian Hackett
aaff83af89 Bug 842305 - Don't try to cleanup values in global frames. 2013-02-21 06:02:45 -07:00
Brian Hackett
0374fe6458 Bug 842305 - Watch for null payloads flowing into Ion, r=jandem. 2013-02-21 05:38:44 -07:00
Brian Hackett
e269e4b2aa Bug 841367 - Check for suppressed GC before verifying barriers, fix OOM crash, r=billm. 2013-02-21 05:26:57 -07:00
Chuck Lee
3bb80e66a1 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
ff74fa1c7c 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
8d5a87bac8 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
9eba6cb516 Bug 842192 - Self-host Array.map. r=jorendorff 2013-02-19 21:36:37 +01:00
Benjamin Peterson
6c9cb2b56d 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
c8ce3140c7 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
0de65d896a 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
b17c86c836 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
8e8ec2a116 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
f54d765736 Bug 568953 - Parser support for module declarations; r=jorendorff 2013-02-20 20:49:41 +01:00
Eddy Bruel
18862b2df8 Bug 568953 - Refactor FunctionNode; r=jorendorff 2013-02-20 20:15:15 +01:00
Ryan VanderMeulen
ce761bdc9d Merge m-c to inbound. 2013-02-20 12:52:59 -05:00
Gregory Szorc
a9616cce11 Backout 4682ed369545 (bug 841713) for reftest make target bustage
--HG--
extra : rebase_source : 6bf45c9f33563109cf6d17197f9184a3a336efe0
2013-02-20 09:16:02 -08:00
Benjamin Smedberg
98326b9c16 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
c945fc05f1 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
787467a938 Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-02-19 15:23:21 -08:00
Eddy Bruel
b645cb8c05 CLOSED TREE. (Bug 568593) Backed out changeset e0aa698192b7 2013-02-19 23:51:40 +01:00
Eddy Bruel
f21fcc86b9 Bug 568953 - Refactor FunctionNode; r=jorendorff 2013-02-19 23:06:14 +01:00
Luke Wagner
b233d5c3ea 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
bce0a6fdc3 Fix a bug in typed array speculation (bug 841462, r=jandem). 2013-02-19 13:23:29 -08:00
Gavin Sharp
f7d3d91a63 Bug 841359 - Always log error originating from windows with chrome principals. r=bz 2013-02-16 17:01:59 -08:00
Ryan VanderMeulen
b59ad2d831 Merge m-c to inbound. 2013-02-19 12:46:19 -05:00
Lukas Blakk
96a4d23df2 Merging in version bump NO BUG CLOSED TREE 2013-02-19 09:35:19 -08:00
Eddy Bruel
91f2effc81 Bug 568593 - Refactor ModuleBox; r=jorendorff 2013-02-19 16:43:42 +01:00
Eddy Bruel
f082919185 Bug 757188 - Refactor FlowGraphSummary; r=jorendorff 2013-02-19 16:05:15 +01:00
Hannes Verschore
0ea4bcce63 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
5b201e8b6f 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
934ee65385 Bug 840696 part 2 - Add typed array support to GetElem ICs. r=dvander 2013-02-18 22:15:30 -08:00
Nicolas B. Pierron
69deea834b 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
e4d4c659d7 Bug 814823 - Clean-up Ion cache mechanism. r=dvander 2013-02-18 21:29:55 -08:00
Hannes Verschore
cd8dd057b0 Bug 839315: IonMonkey: Fix fault in TypePolicy of MCompare for CompareType_Boolean and CompareType_String, r=jandem 2013-02-18 18:32:10 +01:00