Commit Graph

24051 Commits

Author SHA1 Message Date
Benjamin Peterson
8e5f088c9f Bug 831846 - Enter a script global's compartment before running the expression decompiler on it. r=billm 2013-01-27 15:16:01 -05:00
Brian Hackett
adb8388228 Bug 832364 - Generate optimized paths for element accesses on native objects, r=jandem. 2013-01-26 13:21:27 -07:00
Jan de Mooij
2cf5db424f Bug 825379 - Fix JSContext::findVersion to work with Ion frames. r=dvander 2013-01-26 16:40:06 +01:00
Tom Schuster
9d7b9480f4 Bug 830787 - Move jsscope to vm/Shape. r=jorendroff
--HG--
rename : js/src/jsscopeinlines.h => js/src/vm/Shape-inl.h
rename : js/src/jsscope.cpp => js/src/vm/Shape.cpp
rename : js/src/jsscope.h => js/src/vm/Shape.h
2013-01-26 16:03:19 +01:00
Brian Hackett
eeae3d8a69 Bug 834826 - Eliminate or refactor various unnecessary stack roots, r=terrence. 2013-01-26 07:42:20 -07:00
Jeff Walden
d16ab51821 Bug 830257 - Compute the local time zone offset, not including any offset due to DST, in a different, hopefully more correct, way. r=dmandelin 2013-01-25 22:02:55 +00:00
Sean Stangl
8f2307fcc4 Bug 834762 - yarr/MatchResult.h:58:44: warning: overflow in implicit constant conversion [-Woverflow]. r=warning-spam
From 29c3e8f8ef230a27d2bce0016094b43f812befe0 Mon Sep 17 00:00:00 2001
---
 js/src/yarr/MatchResult.h | 2 +-
 js/src/yarr/YarrJIT.cpp   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
2013-01-25 16:34:08 -08:00
Nicholas D. Matsakis
aa174a5dd7 Bug 825714 followup: Silence various warnings and make various style corrections. r=billm 2013-01-25 14:09:25 -08:00
Joey Armstrong
ee2eada8c4 bug 747540: fix dependencies for java build 2013-01-25 15:22:13 -05:00
Kannan Vijayan
6360c65059 Bug 834447 - Make Ion entry use AbstractFramePtr instead of StackFrame*. r=sstangl 2013-01-25 11:34:47 -05:00
Jan de Mooij
a9f2829ff4 Bug 833817 part 3 - Replace JSStackFrame with JSAbstractFramePtr. r=luke 2013-01-25 09:49:29 +01:00
Jon Coppeard
6ecb789968 Bug 815542 - crash in IncrementalCollectSlice r=billm
--HG--
extra : rebase_source : d751b3684f6461b094278aa39508417928c2b660
2013-01-25 09:56:04 +00:00
Bobby Holley
800db35b78 Bug 833856 - Handle errors better in EvaluateString. r=bz
This bug happens when we take the !useSandbox path. Basically, when the code
throws, we can end up with garbage in *aRetValue while still returning true
from EvaluateString. It looks like the convention is for these kind of eval
functions to return success even for invalid code, so lets just make sure we
check things a bit better.

This crashtest is kind of half-baked in the sense that it doesn't actually
crash without the rest of the patch. But the testcase here involves a lot of
undefined behavior (what ends up getting left in *aRetValue) during a call
to window.open (which spins the event loop, etc). I already sunk about half
an hour into trying to make it crash, so I'm just going to go with this for
now.
2013-01-25 11:17:40 +01:00
Nicholas D. Matsakis
29d4b19e90 Bug 825714: Refactor JS allocation routines to enable allocation on parallel
threads, and move various ion fields into per-thread-data. r=billm

More detailed:
- A new routine JSObject::parExtendDenseArray() that permits parallel code to
  allocate a dense array on its own Allocator.
- Create an allocation path in the GC for loading a fresh arena as needed
  (ArenaLists::parallelAllocate()).
- Ensure that if GC is triggered during parallel execution, parallel execution
  is aborted and the request is deferred until parallel execution terminates.
- Updates to the ForkJoin/ThreadPool so that they create their own Allocators
  as well as other misc API changes.
- Moves some of the ion-related fields (e.g., |ionTop|) into perThreadData.
- Remove out-of-date malloc tracking fields.
2013-01-24 21:12:44 -08:00
Ryan VanderMeulen
0ec8f1851b Merge m-c to inbound. 2013-01-24 22:47:56 -05:00
Makoto Kato
39914ff1f5 Bug 830676 - YarrJIT is broken on Win64 after landing bug 820124. r=sstangl 2013-01-25 12:09:54 +09:00
Ryan VanderMeulen
bc26304729 Merge the last PGO-green inbound changeset to m-c. 2013-01-24 20:59:19 -05:00
Mike Hommey
ad2788a617 Bug 834429 - Re-export MACOSX_DEPLOYMENT_TARGET after bug 833627. r=ted 2013-01-24 22:11:28 +01:00
Brian Hackett
08de32891b Bug 834242 - Reduce cost of exact stack rooting during property reads, r=terrence. 2013-01-24 20:18:34 -07:00
Ryan VanderMeulen
2a6786e231 Merge m-c to inbound. 2013-01-24 21:09:59 -05:00
Jon Coppeard
8183eae08b Bug 833396 - Fix some rooting issues found by static analysis r=sphink 2013-01-21 17:41:49 +00:00
Nicholas Nethercote
6414ad3a6b Bug 833151 - Avoid unnecessary copy of CompileOptions. r=benjamin.
--HG--
extra : rebase_source : 542536e11e35f31bec2c5811bcfc56e491d6358a
2013-01-23 18:14:38 -08:00
Steve Fink
5f0dd03670 Bug 831961 - fix jsapi-tests rooting hazards from static analysis. r=terrence
https://tbpl.mozilla.org/?tree=Try&rev=3938c588e1d1

--HG--
extra : rebase_source : c566e3137bca925c7c4789bcd477d0cd85fc366e
2013-01-17 11:45:51 -08:00
Brian Hackett
5c1084be65 Bug 832972 - Reduce cost of exact stack rooting during name operations, clean up some GC allocation methods, r=terrence. 2013-01-23 15:22:10 -07:00
Daniel Holbert
78fd9f0665 Back out 06d0d20fbaf1 (bug 825379) for apparently causing bc perma-orange. 2013-01-23 13:07:06 -08:00
Brian Hackett
ee84757fde Bug 832360 - Store an object's class as part of its type, r=jandem. 2013-01-23 12:57:55 -07:00
Jan de Mooij
8852486dba Bug 825379 - IonMonkey: Differential Testing: Getting different output w/without --ion-eager with forEach. r=dvander 2013-01-24 14:10:53 -05:00
Jason Orendorff
a40a589454 Bug 790629 - Fix the value of this in generator-expressions. r=Waldo. 2013-01-07 12:22:26 -06:00
Jason Orendorff
3679accfd3 Bug 828466 - Remove some ParseNode morphing. Part 3, ParseNode::append. r=Waldo. 2013-01-15 18:57:26 -06:00
Jason Orendorff
f51e0f4e23 Bug 828466 - Remove some ParseNode morphing. Part 2, empty statements. r=Waldo with apparently successful fuzz-testing. 2013-01-15 18:57:26 -06:00
Jason Orendorff
10cddcd678 Bug 828466 - Remove some ParseNode morphing. Part 1, FoldConstants. r=Waldo. 2013-01-15 16:12:15 -06:00
Jason Orendorff
6abfa90236 Bug 825699 - jsapi-tests: Silence two bogus error reports to stderr. r=Waldo. 2013-01-07 12:22:25 -06:00
Eddy Bruel
3b181cb142 Bug 568953 - Fix for module object; r=benjamin 2013-01-23 16:58:50 +01:00
Brian Hackett
1b2896bed2 Bug 832578 - Tweaks to improve compilation of element accesses, r=dvander. 2013-01-23 08:43:40 -07:00
Jacek Caban
df46d43449 Bug 831707 - Use -static-libgcc and -static-libstdc++ on mingw r=glandium 2013-01-23 16:04:34 +01:00
Ryan VanderMeulen
bd08b980a7 Merge m-c to inbound. 2013-01-24 07:09:10 -05:00
Mike Hommey
4d9f2c54bd Bug 780561 - Remove now unused bits of the packaging scripts. r=ted 2013-01-23 11:23:15 +01:00
Jon Coppeard
3c1f76d1c6 Bug 833340 - Fix a couple of jittests failing with rooting analysis r=terrence 2013-01-22 17:03:05 +00:00
Jon Coppeard
72831e79be Bug 831750 - GC: testConservativeGC jsapi test fails with rooting analysis r=terrence a=nonlibxul 2013-01-21 11:00:29 +00:00
Jan de Mooij
d61c628e12 Bug 830885 - Factor out interpreter/debugger exception unwinding code. r=jorendorff a=nonlibxul 2013-01-22 09:46:52 +01:00
Jan de Mooij
b925fe9986 Bug 832950 - Remove frame annotations from SpiderMonkey. r=luke a=nonlibxul 2013-01-22 09:34:17 +01:00
Brian Hackett
ae02ae1919 Bug 832329 - Improve analysis of definite properties for 'new' scripts, r=jandem, a=nonlibxul. 2013-01-21 17:10:21 -07:00
Hannes Verschore
d5a1119abc Bug 831087 - IonMonkey: Differential Testing: Getting different output w/without --ion-eager with /= r=mjrosenb a=nonlibxul 2013-01-21 13:26:26 -08:00
Jan de Mooij
6f41fe1cad Bug 832373 part 1 - Refactor eval-in-frame to use AbstractFramePtr. r=luke 2013-01-21 13:58:50 +01:00
Nicholas Nethercote
1d5169b3d1 Bug 394311 - Stop building with -pedantic. r=ted,dbaron.
--HG--
rename : content/svg/content/nsISVGPoint.cpp => content/svg/content/src/DOMSVGPoint.cpp
rename : docshell/test/browser/browser_bug234628-9.js => docshell/test/browser/browser_bug134911.js
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
extra : rebase_source : 012df725d55b031ccc03d9bfcf785056d95a2ebe
2013-01-20 14:12:42 -08:00
Jon Coppeard
051f3c8c36 Bug 832363 - GC: Rooting updates to jsdate.cpp r=sphink 2013-01-18 17:36:24 +00:00
Mike Hommey
fa66112164 Bug 833253 - Don't rely on eval during recursive expansion for nsinstall_is_usable. r=ted 2013-01-23 10:13:04 +01:00
Mike Hommey
651db16a7c Bug 833627 - Reject gcc < 4.4, and remove a few unused Xcode related variables. r=ted 2013-01-23 10:13:02 +01:00
Brian Hackett
4bd948e772 Bug 821361 - Optimize type information in closures that only run once, r=luke. 2013-01-20 02:49:21 -07:00
Brian Hackett
fc6b99d448 Bug 832425 - gcPreserveCode() should be defined when not using JS_GC_ZEAL, r=h4writer. 2013-01-19 17:30:05 -07:00