Commit Graph

46085 Commits

Author SHA1 Message Date
Lars T Hansen
7e3ff8f2e6 Bug 1073096 - Support for Odin and asm.js. r=luke 2014-11-20 16:27:40 +01:00
Lars T Hansen
acb8760d78 Bug 1073096 - Use MemoryBarrierBits type as container for bit sets. r=luke 2014-11-20 16:27:38 +01:00
Wes Kocher
1e974affed Backed out changeset 1b79b0d255e5 (bug 1097280) for spidermonkey errors on a CLOSED TREE 2014-11-20 17:09:31 -08:00
Shu-yu Guo
9892510781 Bug 1097280 - Disable intermittent PJS tests. (r=me) 2014-11-20 16:11:57 -08:00
Shu-yu Guo
acf1b17252 Bug 1102548 - Only bail out of Ion on debugger; if there's a live onDebuggerStatement hook. (r=jimb) 2014-11-20 15:58:42 -08:00
Jan de Mooij
c3b5c226e9 Bug 1100594 - Whitelist the function resolve hook in LookupPropertyPureInline. r=bhackett 2014-11-20 12:07:23 +01:00
Carsten "Tomcat" Book
be88fcfa1d Merge mozilla-central to mozilla-inbound 2014-11-20 12:03:13 +01:00
Carsten "Tomcat" Book
16d197f520 merge mozilla-inbound to mozilla-central a=merge 2014-11-20 11:38:15 +01:00
Wes Kocher
c2db08051e Merge m-c to fx-team a=merge 2014-11-19 19:08:27 -08:00
Brad Lassey
5bdf9eae23 bug 1074567 - measure time spent processing in sync CPOW calls per compartment r=bholley,billm
* * *
try: -b do -p linux64-b2g-haz -u none
2014-11-19 18:54:34 -05:00
Brian Hackett
3fb238eed2 Bug 1096539 - Keep track of typed object reference properties in type information, r=nmatsakis. 2014-11-20 03:56:13 -07:00
Jan de Mooij
0f604d1eb5 Bug 1100623 - Fix expression decompiler reporting the wrong local, get rid of FillBindingVector. r=luke
--HG--
extra : rebase_source : 8519ab0e32341e52d5b25b8e3c760450a70ce62f
2014-11-20 11:21:50 +01:00
Jon Coppeard
365b464e2e Bug 1101602 - Add --gc-zeal option to JS shell r=sfink 2014-11-20 10:19:31 +00:00
Jon Coppeard
099d9f90d0 Bug 1097864 - Don't release the GC lock while allocating arenas r=terrence 2014-11-20 10:12:03 +00:00
Hannes Verschore
16ed739a5c Bug 1101576 - IonMonkey: Add fixes for LSubstr, r=efaust 2014-11-20 01:48:11 +01:00
Terrence Cole
29e67251fe Bug 1074961 - Part 17: Use a direct pointer for the Chunk list's prev link; r=sfink
--HG--
extra : rebase_source : 66f02fe5c11a639f65ce7ccca7a3d45c463b4ca1
2014-11-19 12:18:17 -08:00
Terrence Cole
11d0e8696d Bug 1100652 - Simplify the store buffer implementation; r=sfink
--HG--
extra : rebase_source : caee6fef56e66a8af5be15678ffe29d6c618c0ba
2014-11-18 13:56:46 -08:00
Jeff Walden
e4d8e315a5 Bug 1001547 - Move test to extensions, make it run only where neuter is available. r=orange in a CLOSED TREE
--HG--
rename : js/src/tests/ecma_6/TypedArray/element-setting-ToNumber-neuters.js => js/src/tests/ecma_6/extensions/element-setting-ToNumber-neuters.js
2014-11-19 10:52:34 -08:00
Jeff Walden
00aeb5a35f Bug 1099956 - Style nitpick. r=ridiculously-trivial 2014-11-19 10:04:12 -08:00
James Long
33c237873d Bug 1074745 - allow setting sourceMapURL of a Debugger.Source and move warning to compiler. r=jimb 2014-11-19 16:02:00 +01:00
Terrence Cole
f4973e5620 Bug 1074961 - Part 16: Use a ChunkPool instead of manual list twiddling to manage available chunks; r=sfink
--HG--
extra : rebase_source : 2740670a8572cb1fd92709b5b6d3e33ff57d8185
2014-10-29 14:18:25 -07:00
Terrence Cole
09831a76ca Bug 1074961 - Part 15: Replace ChunkPool::Enum with ChunkPool::Iter; r=sfink
--HG--
extra : rebase_source : 2dd355cb6e7b1bc0e80284bf784eb70eeed517f7
2014-10-29 14:13:56 -07:00
Terrence Cole
5f2c50c393 Bug 1074961 - Part 14: Make the ChunkPool list doubly-linked; r=sfink
--HG--
extra : rebase_source : e2c420ad61a10939a8f8c68ddf5cb4822474fe74
2014-10-29 13:32:22 -07:00
Jim Blandy
fc94fe2e49 Bug 1101342: Debugger-related comment fixes. DONTBUILD r=shu
- Remove comment reference to removed JSCompartment::addDebuggee.
 - Clarify comments in js::DebugScript.
 - Add back form feeds separating sections of Debugger.cpp.
2014-11-19 16:10:52 -08:00
Bill McCloskey
36ce9f8f76 Bug 1101083 - js_DumpBacktrace should dump all frames (r=bholley,nbp) 2014-11-18 21:45:01 -08:00
Jim Blandy
e4e05ee727 Bug 1087549: Give IonScript::refcount_ and associated functions better names. r=jandem
This patch renames:

  - IonScript::refcount_ to invalidationCount_
  - IonScript::refcount to invalidationCount
  - IonScript::incref to incrementInvalidationCount
  - IonScript::decref to decrementInvalidationCount
  - IonScript::offsetOfRefcount to offsetOfInvalidationCount
2014-11-18 20:50:57 -08:00
Tooru Fujisawa
d29b938e70 Bug 1099956 - Parse regular expression after yield correctly. r=Waldo 2014-11-19 13:45:07 +09:00
Boris Zbarsky
dcb78a0257 Bug 1100579 part 2. Kill off JS_Evaluate(UC)Script. r=waldo 2014-11-18 23:27:16 -05:00
Boris Zbarsky
67d7197390 Bug 1100579 part 1. Remove the overloads of JS::Evaluate that don't take an rval mutable handle, and control the behavior via the JS::CompileOptions instead. r=waldo,bholley 2014-11-18 23:27:16 -05:00
Boris Zbarsky
7583c5ae7e Bug 1101001. Stop checking compileAndGo in GetPCCountScriptContents. r=bhackett 2014-11-18 23:27:15 -05:00
Wes Kocher
085398bba7 Backed out changeset df60c0297aa2 (bug 1100652) for ggc orange 2014-11-18 17:27:54 -08:00
Tom Schuster
127a42b89f Bug 1091900 - Make GetIterator and others take an object as outparam. r=efaust 2014-11-19 01:44:03 +01:00
Tom Schuster
fc0765b663 Bug 1091900 - Make some functions local. r=efaust 2014-11-19 01:44:02 +01:00
Tom Schuster
4bb81d61de Bug 1091900 - Introduce a function to create an empty iterator, which simplifies a bunch of stuff. r=efaust 2014-11-19 01:44:02 +01:00
Tom Schuster
ce77256bf9 Bug 1095439 - Make assignments to a const variable a syntax error. r=efaust 2014-11-19 01:44:02 +01:00
Shu-yu Guo
8d09083020 Bug 1100320 - Don't call onExceptionUnwind and onPop debugger hooks on over-recursion. (r=jimb) 2014-11-18 16:42:02 -08:00
Shu-yu Guo
6dda4a331e Bug 1100316 - Mark resumed BaselineFrames as debuggee when resuming from generator throw/close. (r=jandem) 2014-11-18 16:42:02 -08:00
Shu-yu Guo
be06e38a89 Bug 1098696 - Make onDebuggerStatement able to trigger on non-debuggee frames. (r=jandem,jimb) 2014-11-18 16:42:01 -08:00
Shu-yu Guo
f03f3e5894 Bug 1099446 - Rekey DebugScopes::missingScopes on debug mode OSR. (r=luke) 2014-11-18 16:42:01 -08:00
Shu-yu Guo
c0911d9bae Bug 1099444 - Fix getting pc offsets from BaselineFrames mid-debug mode OSR. (r=jandem) 2014-11-18 16:42:01 -08:00
Bill McCloskey
62af1a5643 Bug 1092156 - [e10s] Don't use compartment-per-addon if window already associated with add-on (r=bholley) 2014-11-18 16:20:59 -08:00
Terrence Cole
8b68f6741c Bug 1100652 - Simplify the store buffer implementation; r=sfink
--HG--
extra : rebase_source : 5df8784df384cc32e64b65903c501b84e255e073
2014-11-18 13:56:46 -08:00
Jon Coppeard
25031cb91e Bug 1100923 - Make onPromiseSettled() declaration JS_PUBLIC_API. r=fitzgen 2014-11-18 15:02:24 -08:00
Brian Hackett
189663a6e7 Bug 1095952 - Don't use SingleObjectPolicy with StoreTypedArrayElementStatic or StoreTypedArrayElementHole. 2014-11-18 15:52:28 -07:00
Dan Gohman
059e54468a Bug 1100685 - IonMonkey: Don't use tempCopy for LClampDToUint8. r=jandem 2014-11-18 14:25:57 -08:00
Jim Blandy
566dc5b315 Bug 1098132: Correctly set the source position of the function's parse node when parsing lazy functions. r=luke 2014-11-18 14:01:38 -08:00
Terrence Cole
28d7bc719f Bug 1074961 - Part 13: Do not iterate the chunk list concurrent with mutation; r=sfink
--HG--
extra : rebase_source : 6390da6d1dea82bd1fc42148b03bb48c64d1ac65
2014-11-06 14:03:10 -08:00
Nicolas B. Pierron
77eb5a11a2 Bug 1084612 - IonMonkey: Reduce the complexity of the assertion of the graph coherency. r=sunfish 2014-11-18 17:41:56 +01:00
Jarda
caee38d2a6 Bug 1036163 - IonMonkey: Implement Hypot recover instruction. r=nbp 2014-11-18 17:34:43 +01:00
Brian Hackett
f8ee57cf8f Bug 1100202 - Avoid downcasting callable objects to functions during polymorphic inlining, r=jandem. 2014-11-18 09:24:30 -07:00
Brian Hackett
395d95cffe Bug 1098961 - Prohibit use of .next() iteration in self hosted code, r=nmatsakis. 2014-11-18 09:05:00 -07:00
Brian Hackett
6e7ebeb52e Bug 1100169 - Fix allocation kind computation for inline typed objects, r=nmatsakis. 2014-11-18 09:00:11 -07:00
Brian Hackett
d25b31c0d8 Bug 1096018 - Always include a pre barrier when overwriting a value stored in a typed object, r=nmatsakis. 2014-11-18 08:51:46 -07:00
Brian Hackett
fc7cf72cea Bug 1095952 - Optimize accesses to known inline or outline typed objects, r=nmatsakis,jandem. 2014-11-18 08:37:32 -07:00
Brian Hackett
de242a3dba Bug 1096026 - Fix bug 1096026, r=terrence. 2014-11-18 08:33:01 -07:00
Aleksandar Zlicic
158c44896a Bug 1100927 - IonMonkey MIPS: Implement callAndPushReturnAddress, branchTestNull and jump. r=rankov 2014-11-18 14:12:02 +01:00
Hannes Verschore
b41b205bbf Bug 1052839 - Selfhost substr/slice/substring, r=waldo,till,jonco 2014-11-18 15:53:58 +01:00
Luke Wagner
ca3ea2e066 Bug 1100237 - Flush icache after change-heap patching (r=bbouvier) 2014-11-17 13:10:26 -06:00
Luke Wagner
76d4246187 Bug 1100083 - Don't crash if disableSingleStepProfiling is called when not profiling (r=djvj) 2014-11-17 09:00:01 -06:00
Jon Coppeard
7deb81eae9 Bug 1099015 - Use TenuredHeap<JSObject*> instead of raw JSObject* in XPCWrappedNativeTearOff r=bholley 2014-11-18 10:00:16 +00:00
Jon Coppeard
df0084904b Bug 650161 - Update cell pointers in parallel r=terrence 2014-11-18 09:59:14 +00:00
Jon Coppeard
a862dc239b Bug 1099463 - Clear parallel entry script flag when removing script from active table r=shu 2014-11-18 09:54:55 +00:00
Nick Fitzgerald
30799231c3 Bug 1084065 - Part 1: Add a Debugger.prototype.onPromiseSettled hook; r=shu 2014-11-17 10:43:00 +01:00
Nick Fitzgerald
d3db1f03ed Bug 1083210 - Part 1: Add a Debugger.prototype.onNewPromise hook. r=shu 2014-11-17 10:42:00 +01:00
Hannes Verschore
826712af6b Bug 1092947: IonMonkey: Improve ion entry sequence, r=djvj 2014-11-18 01:08:34 +01:00
Luke Wagner
440327dce2 Bug 1099339 - WOW64 requires THREAD_QUERY_INFORMATION to GetThreadContext (r=dmajor)
--HG--
extra : rebase_source : f58023bf885ddd1d11cb7229e9b801969c9af369
2014-11-17 20:06:53 -06:00
Wes Kocher
146446257b Backed out changeset 8cf79ca692cc (bug 1092947) under suspicion of breaking Windows Jit tests on a CLOSED TREE 2014-11-17 17:37:49 -08:00
Hannes Verschore
5401e3c159 Bug 1092947: IonMonkey: Improve ion entry sequence, r=djvj 2014-11-18 01:08:34 +01:00
Jeff Walden
8c81de074e Bug 712939 - Convert more JS_STATIC_ASSERT to static_assert. r=jandem 2014-11-12 17:50:25 -08:00
Jeff Walden
6eabf72264 Bug 712939 - Make a bunch of JIT code that depends on element-count * sizeof(Value), or slot-count * sizeof(Value), not overflowing int32_t, have markers indicating such. Also add BaseValueIndex for computing Value addresses from a base/index/offset triple, BaseObjectElementIndex for computing addresses of elements, and BaseObjectSlotIndex for computing addresses of slots. r=jandem 2014-11-07 18:33:22 -08:00
Jeff Walden
3d1a66b02a Bug 712939 - Convert more JS_STATIC_ASSERT to static_assert. r=jandem 2014-11-07 18:33:22 -08:00
Jeff Walden
e7ab01f9cd Bug 712939 - Use JS_ENUM_HEADER and JS_ENUM_FOOTER only where absolutely necessary, and don't expose them for general use. r=jandem 2014-11-07 18:33:20 -08:00
Jeff Walden
040244db4f Bug 712939 - Replace a bunch more JS_STATIC_ASSERTs with static_assert. r=jandem 2014-10-30 14:28:27 -07:00
Nick Fitzgerald
60c428209b Bug 1083456 - Part 2: Provide a mechanism to find all GC roots for a JS::ubi::Node traversal. r=jimb 2014-11-19 10:19:59 -08:00
Nick Fitzgerald
1ef2756d93 Backed out changeset 73ea3aa3ccec 2014-11-19 10:00:02 -08:00
Nick Fitzgerald
68b8173ea8 Bug 1083456 - Part 2: Provide a mechanism to find all GC roots for a JS::ubi::Node traversal. r=jimb 2014-11-19 09:57:11 -08:00
Jan Beich
9ad3225376 Bug 1063726 - Define MALLOC_H like top-level configure.in. r=ted 2014-09-20 02:03:00 +02:00
Jeff Walden
d8fb5730d9 Bug 983344. Add a test. r=sfink
--HG--
extra : rebase_source : b1e4a588ddc5979a073e47048f9115fc7987a9c0
2014-03-13 21:23:50 -07:00
Jeff Walden
ee2337b883 Bug 1001547 - Test for element-setting being careful to bounds-check. r=sfink
--HG--
extra : rebase_source : 86140463094efcc22990c5220010b53f1a8eb625
2014-04-25 12:26:11 -07:00
Jeff Walden
09086480de Bug 1097253. r=mjrosenb
--HG--
extra : rebase_source : e7f8c0c446a94cbe293f2043b0bb148a3b1ef1e5
2014-11-18 17:50:40 -08:00
Jan de Mooij
90b716b72b Bug 1100513 - Inline Array(x) in IonMonkey. r=bhackett 2014-11-19 13:14:23 +01:00
Jacek Caban
6f9f613e34 Bug 1101032 - Fixed ExecutableAllocatorWin.cpp compilation on mingw. r=luke 2014-11-19 11:08:34 +01:00
Jan de Mooij
dbbe29d5d6 Bug 1100129 - Add a missing prebarrier. r=terrence 2014-11-17 21:17:32 +01:00
Jan de Mooij
010648bac5 Bug 1098947 - Fix scope unwinding bug when closing a legacy generator. r=shu 2014-11-17 21:17:25 +01:00
Brian Hackett
3bbc07f1e9 Bug 1100168 - Allow pretenuring on more objects, r=terrence. 2014-11-17 09:55:27 -07:00
Jason Orendorff
9a4f182418 Bug 1000182, part 1 - Crash @js::ThreadSafeContext::onOutOfMemory with PJS and OOM. r=shu 2014-06-27 16:19:01 -05:00
Gabor Krizsanits
e63652f217 Bug 1094930 - part3: test. r=bz 2014-11-17 14:04:28 +01:00
Julian Seward
486e1c8571 Bug 1096054 - Uninitialised value use in Interpret(JSContext*, js::RunState&). r=jwalden.
--HG--
extra : rebase_source : 49b1ebd5750bf45cf59479c5f8aae06468b223a0
2014-11-14 21:55:03 +01:00
Jon Coppeard
cff89b6253 Bug 1097864 - Take GC lock before manipulating arena lists in compacting GC r=terrence 2014-11-17 10:04:04 +00:00
Steve Singer
85cf17a011 Bug 1099493 - Fix non-ion build failures. r=luke 2014-11-15 14:56:00 +01:00
Nick Fitzgerald
7acd9e57c6 Bug 1099440 - Make JS_TraceIncomingCCWs use MarkObjectUnbarriered instead of calling the tracer itself. r=terrence 2014-11-14 16:08:00 +01:00
Douglas Crosher
e1f6e3f987 Bug 1097458 - IonMonkey: assigned a named for RValueAllocation Layout UNTYPED_STACK_REG. r=nbp 2014-11-12 15:18:27 +11:00
Brian Hackett
4b75bdf2e6 Bug 1096016 - Fix post barrier insertion for MStoreUnboxedObjectOrNull, r=nmatsakis. 2014-11-16 17:10:24 -07:00
Dan Gohman
85b76e243d Bug 1099466 - IonMonkey: Spew the line and column for blocks in IONFLAGS=codegen r=luke 2014-11-15 07:00:37 -08:00
Luke Wagner
da6ace8a8a Bug 1099339 - Handle SuspendThread failure more gracefully (r=me)
--HG--
extra : rebase_source : 1a282becd92ef472ab36eab6dee62d101c9d807c
2014-11-15 03:41:59 -06:00
Shu-yu Guo
ed6029fe23 Bug 1099224 - Fix cancelling off-thread Ion compiles for scripts going through debug mode OSR. (r=h4writer) 2014-11-14 16:28:29 -08:00
Ryan VanderMeulen
6783f619d5 Backed out changeset d94b6a6469b4 (bug 1092947) for jsreftest crashes. 2014-11-14 19:05:14 -05:00
Nick Fitzgerald
1193ea6fba Bug 911065 - Fix source notes for for/of loops. r=jorendorff 2014-11-13 13:58:00 -05:00
Hannes Verschore
a8abeee7d0 Bug 1092947: IonMonkey: Improve ion entry sequence, r=djvj 2014-11-15 00:04:26 +01:00
Dan Gohman
9c750d7123 Bug 1093356 - IonMonkey: Insert beta nodes for strict eq and ne operators too r=nbp,h4writer 2014-11-14 09:31:45 -08:00
Kannan Vijayan
f38db5dd49 Bug 1081374 - Ensure baseline scripts are released on all compile error paths. r=jandem 2014-11-14 12:21:41 -05:00
Lars T Hansen
9c13ad0235 Bug 1099202 - compile fixes for 'none' platform. r=bbouvier 2014-11-14 17:51:11 +01:00
Tom Schuster
12ee966a97 Bug 783829 - Rename Proxy enumerate trap to getEnumerablePropertyKeys. r=efaust 2014-11-14 16:21:12 +01:00
Jon Coppeard
caadbcaac4 Bug 650161 - Fix leak of moved expando objects r=terrence 2014-11-14 09:22:26 +00:00
Chris Peterson
e8440cad48 Bug 1095990 - Part 2: Treat -Wnon-literal-null-conversion warnings as errors to match C++14's fix for C++11 core defect 903. r=glandium 2014-11-08 11:33:18 -08:00
Steve Fink
b00c1b58cc Bug 1053999 - Switch chrome stack check to use StackForSystemCode, r=bholley
--HG--
extra : rebase_source : 89fe8ac209cec4e626c6c92fa6cee35c8addc395
2014-11-13 12:23:17 -08:00
Steve Fink
bcb05bd4d2 Bug 1053999 - Conservative stack check should assume untrusted code, r=bholley
--HG--
extra : rebase_source : f363a8bc1c2f78e9ab47538cdcf8669275a73cb0
2014-11-13 12:23:11 -08:00
Nicholas Nethercote
990f22e72d Bug 1098618 - Use a smaller initial IdSet size in jsiter.cpp:Snapshot(). r=sfink.
--HG--
extra : rebase_source : b506099d2a57f0c0199e2bd2713309630ebe03d3
2014-11-13 18:06:24 -08:00
Ryan VanderMeulen
e4e3786f32 Backed out changesets 06c511b6093e, dbec0bed9bf5, bfedb105396e (bug 1088831) for causing various assertions on a CLOSED TREE. 2014-11-13 21:11:24 -05:00
Terrence Cole
a8bb61cba7 Backed out changeset ed264e327a93 (Bug 1074961) for build bustage on Windows on a CLOSED TREE.
--HG--
extra : rebase_source : 1c5a06b21831fc62090244b0355988578bf6017c
2014-11-13 16:21:56 -08:00
Steve Fink
d4ce6e4427 Bug 1088831 - Track mutator vs GC time in specified intervals, r=jonco
--HG--
extra : rebase_source : 9a33a646c120df0fb22399c6ea83c0a041bad9f0
2014-11-13 12:23:26 -08:00
Steve Fink
ef9d0235cf Bug 1088831 - Account for the storebuffer compaction time, r=jonco
--HG--
extra : rebase_source : f193ff3774353572c48814f8fd2669d91feb4745
2014-11-13 12:23:26 -08:00
Steve Fink
89d6ea2971 Bug 1088831 - Count storebuffer compactions, r=jonco
--HG--
extra : rebase_source : c60ccc7f85d8dc2c1cccdfc8b133df3a81f0dc95
2014-11-13 12:23:26 -08:00
Tooru Fujisawa
5c047d5d2c Bug 1092537 - Handle optional iterable argument in WeakMap constructor. r=evilpie 2014-11-04 00:23:38 +09:00
Terrence Cole
c489ee40f5 Bug 1074961 - Part 13: Do not iterate the chunk list concurrent with mutation; r=sfink 2014-11-06 14:03:10 -08:00
Shu-yu Guo
54dc6aaed1 Bug 1032869 - Part 5: Add JSOP_DEBUGAFTERYIELD to fix up resumed generator BaselineFrames. (r=jandem) 2014-11-13 14:39:41 -08:00
Shu-yu Guo
879c073038 Bug 1032869 - Part 4: Add an auto-updated DebugModeOSRVolatileJitFrameIterator. (r=jandem) 2014-11-13 14:39:41 -08:00
Shu-yu Guo
5f24e2e873 Bug 1032869 - Part 3: Don't consider onExceptionUnwind an all-execution-observing hook. (r=jandem) 2014-11-13 14:39:40 -08:00
Shu-yu Guo
e47c015210 Bug 1063330 - Remove the JS shell's evalInFrame. (r=jimb) 2014-11-13 14:39:40 -08:00
Shu-yu Guo
82a5a42d38 Bug 1063328 - Fix on-stack live iterator handling when bailing out in-place due to debug mode OSR. (r=jandem) 2014-11-13 14:39:40 -08:00
Shu-yu Guo
7a12b58d5c Bug 1062629 - Off-thread compartment debug mode should match main thread compartment debug mode. (r=jimb)
--HG--
rename : js/src/jit-test/tests/debug/onNewScript-off-main-thread.js => js/src/jit-test/tests/debug/onNewScript-off-main-thread-01.js
2014-11-13 14:39:40 -08:00
Shu-yu Guo
004c7e5f8e Bug 1032869 - Part 2: Move debuggee-ness to frames and selectively deoptimize when Debugger needs to observe execution. (r=jimb) 2014-11-13 14:39:39 -08:00
Shu-yu Guo
9ed68b11bb Bug 1032869 - Part 1: Rename isDebuggerFrame to isDebuggerEvalFrame. (r=jimb) 2014-11-13 14:39:39 -08:00
Shu-yu Guo
aacff59837 Bug 1097871 - Fix gc test that doesn't account for the JS_GC_ZEAL env var. (r=terrence) 2014-11-13 14:39:39 -08:00
Jan de Mooij
5f60319597 Bug 1093573 part 15 - Add and optimize IsSuspendedStarGenerator. r=wingo 2014-11-13 21:10:05 +01:00
Jan de Mooij
b6d70bfd97 Bug 1093573 part 14 - Remove newborn generator state. r=wingo
--HG--
extra : rebase_source : 63c0f3d2708867c891ed5c70aa9566d282eeabcf
2014-11-13 17:39:53 +01:00
Jan de Mooij
d1eb2a8818 Bug 1093573 part 13 - Handle closing legacy generators correctly. r=wingo,shu
--HG--
extra : rebase_source : d561bc9b8893e8cdff0941530a00824e47d097fc
2014-11-13 17:39:51 +01:00
Jan de Mooij
b651fb06f0 Bug 1093573 part 12 - Inline INITIALYIELD and YIELD in Baseline. r=wingo
--HG--
extra : rebase_source : 9efa54ab41b250ad659443bd5409c179af478c68
2014-11-13 17:39:49 +01:00
Brian Hackett
c8d450dc31 Bug 1096023 - Fix code generation for ClassHook caches when the SPS profiler is active, r=jandem. 2014-11-13 09:30:28 -07:00
Brian Hackett
83c91ef391 Bug 1097585 - Don't generate ClassHook caches for calling or constructing proxies, r=jandem. 2014-11-13 09:27:17 -07:00
Jan de Mooij
8ee0514186 Bug 1097890 - Inline JSOP_NEWOBJECT in Baseline. r=bhackett 2014-11-13 16:41:53 +01:00
Luke Wagner
ea143386f2 Bug 1091912 - stop using mprotect to halt Ion/asm.js execution (r=bhackett)
--HG--
extra : rebase_source : 3642ce948e577bca54008d3c55206184b107d023
2014-11-11 08:36:52 -06:00
Jon Coppeard
5746f80c02 (no bug) Update count of GC reasons in comment DONTBUILD 2014-11-13 13:43:17 +00:00
Mike Hommey
2cfa0fab91 Bug 1096651 - Avoid using random bits when determining SSE3/SSE4 availability for the JIT. r=luke 2014-11-13 09:23:40 +09:00
Jim Blandy
e780473752 Bug 1083913: Restrict source lines included in error messages to the source text actually available. r=shu 2014-11-12 14:51:42 -08:00
Jim Blandy
155ef09737 Bug 1083913: Column spans are restricted to 31-bit, not 24-bit, signed values. r=shu
This also cleans up the column span / offset conversions, and fixes some comments.
2014-11-12 14:51:41 -08:00
Jim Blandy
f5e193968c Bug 1083913: Add a 'columnNumber' parameter to the JS shell's 'evaluate' and 'offThreadCompileScript' functions. r=shu 2014-11-12 14:51:41 -08:00
Jim Blandy
53c73dd1e7 Bug 1083913: Add a no-op js::frontend::Parser::checkOptions() method, and ensure that it's called everywhere. r=shu 2014-11-12 14:51:41 -08:00
Jim Blandy
8e95cb1c57 Bug 1083913: Make TokenStream::linebase an offset, not a pointer into nothingness. r=shu 2014-11-12 14:51:40 -08:00
Jim Blandy
29234315de Bug 1083913: Make js::TokenStream::TokenBuf store the starting offset of its buffer explicitly, not implicitly as a bias on base_. r=shu 2014-11-12 14:51:40 -08:00
Jim Blandy
e2487efe89 Bug 1083913: Replace TokenBuf::base and TokenStream::rawBase with better abstractions. r=shu 2014-11-12 14:51:40 -08:00
Kannan Vijayan
f1e95e95db Bug 1080462 - Fix up leak of native2bytecode mapping information. r=h4writer 2014-11-12 17:38:22 -05:00
Boris Zbarsky
d76620aecc Bug 1095660 part 4. Add overloads of JS_ExecuteScript and JS::Evaluate that take an explicit scope chain argument. r=waldo 2014-11-12 17:04:29 -05:00
Boris Zbarsky
3004f99d36 Bug 1095660 part 3. Give With objects defineProperty/Element/Generic class hooks. r=luke 2014-11-12 17:04:28 -05:00
Boris Zbarsky
8e9f9042cb Bug 1095660 part 2. Change API-provided scope chains to flag their DynamicWithObjects as being special and adjust some asserts to allow those With objects as the scope chain for toplevel scripts. r=luke 2014-11-12 17:04:28 -05:00
Boris Zbarsky
6f09de16d4 Bug 1095660 part 1. Remove the pointless JS_ExecuteScriptVersion API. r=waldo,bholley 2014-11-12 17:04:28 -05:00
Kannan Vijayan
7c9dfa2b0f Bug 1081850 - Check for resolve hooks when optimizing no-such-prop operations in baseline. r=jandem 2014-11-12 16:22:44 -05:00
Luke Wagner
f6d2a93417 Bug 1095740 - OdinMonkey: refine rules for 'const' (r=bbouvier) 2014-11-12 14:45:31 -06:00
Dan Gohman
13fa9bad1e Bug 1096684 - IonMonkey: Optimize with SSE3 movsldup and movshdup r=bbouvier 2014-11-12 12:38:32 -08:00
Dan Gohman
988ebe60fc Bug 1096684 - IonMonkey: Optimize with SSE4.1 pextrd r=bbouvier 2014-11-12 12:38:32 -08:00
Dan Gohman
366aa7cc1d Bug 1096684 - IonMonkey: Optimize with SSE4.1 insertps and blendps r=bbouvier 2014-11-12 12:38:32 -08:00
Dan Gohman
8adf5a1e18 Bug 1096684 - IonMonkey: extraName() for SIMD insert and extract element r=bbouvier 2014-11-12 12:38:31 -08:00
Dan Gohman
aeb551c57a Bug 892702 - IonMonkey: Add unit tests for range analysis r=nbp 2014-11-12 12:38:31 -08:00
Ryan VanderMeulen
85e724868a Backed out changeset 0dae8ac74ab4 (bug 1080462) for crashes during packaging. 2014-11-12 15:14:56 -05:00
Kannan Vijayan
feb09902cc Bug 1080462 - Fix up leak of native2bytecode mapping information. r=h4writer 2014-11-12 14:42:42 -05:00
Terrence Cole
cf1c5e1373 Bug 1093307 - Part 2: Make OOM flushing paths more straightforward; r=jonco 2014-11-06 14:03:05 -08:00
Jan de Mooij
fd3ad8b2cf Bug 1093573 part 11 - Remove bytecode offset slot from generators. r=wingo 2014-11-12 12:12:41 +01:00
Jan de Mooij
e12021be76 Bug 1093573 part 10 - Baseline-compile JSOP_RESUME. r=shu,wingo 2014-11-12 12:12:39 +01:00
Jan de Mooij
3c38cb2380 Bug 1093573 part 9 - Add InterpretGeneratorResume. r=wingo 2014-11-12 12:12:36 +01:00
Alexander J. Vincent
179821a35d Bug 1092477 - Let the subscript Loader report any URL it fails on, when it can. r=bholley 2014-11-08 17:08:09 -08:00
Jason Orendorff
0688d8e8b4 Bug 1094062 - Delete js/public/PropertyKey.h. r=jandem.
--HG--
extra : rebase_source : 4ff841a634f08f611529d18878074d6dc73d0fd3
2014-11-05 00:56:36 -06:00
Jason Orendorff
438232fc71 Bug 1066322 - Enable ES6 symbols in all builds. r=jandem.
--HG--
extra : rebase_source : 49654e9105657b17862e3fed97ec4878d9373447
2014-11-05 01:38:49 -06:00
Jason Orendorff
7049029aed Bug 1095973, epilogue - Tweaks to PurgeProtoChain/PurgeScopeChain and a jit-test for the invariant enforced by PurgeProtoChain. r=efaust.
--HG--
extra : rebase_source : 6f0e1a4d7573fdcdc45962a63d30bf6ee480d3be
2014-11-10 11:19:53 -06:00
Jason Orendorff
ff3e2e1e7f Bug 1095973 - Fix crash @PurgeProtoChain introduced by 1090537. r=efaust.
--HG--
extra : rebase_source : a2e90c7ffd69dddee190a4de927fe68cb52482dd
2014-11-10 16:53:04 -06:00
Luke Wagner
176eac56f4 Bug 1087178 - OdinMonkey: explain why 'not stored in cache' (r=bbouvier,janv)
--HG--
extra : rebase_source : d37893913a09d5a5b339e4ae4ee42f873d449d1e
2014-10-22 17:28:07 -05:00
Luke Wagner
0bbf234774 Bug 1091916 - simplify the interrupt/jitStackLimit situation (r=bhackett)
--HG--
extra : rebase_source : 44ac5dbc77174414f4596aa7c318fdaa23b8e292
2014-10-30 17:35:35 -05:00
Ryan VanderMeulen
50905e0270 Merge fx-team to m-c. a=merge 2014-11-11 16:43:46 -05:00
Ryan VanderMeulen
1533f5ace3 Backed out changeset 583284c299fb (bug 1091916) for causing intermittent "too much recursion" jit-test failures on Win32 and OSX 10.6.
CLOSED TREE
2014-11-11 14:53:11 -05:00
Ryan VanderMeulen
f5421a2329 Backed out changeset 51572056e797 (bug 1091912) for frequent Android 4.0 crashes.
CLOSED TREE
2014-11-11 14:16:40 -05:00
Boris Zbarsky
6dd0aff8b6 Bug 1095870. Don't generate baseline set IC stubs for primitive 'this' values, since all the stubs only work on objects. r=jandem 2014-11-11 12:50:43 -05:00
Paolo Amadini
6ff08403e2 Bug 1095443 - Ensure processNextEvent never blocks after processing a Promise microtask. r=bz 2014-11-11 13:47:28 +00:00
Jan de Mooij
c980c9545a Bug 1093573 part 8 - Add JitFrame_Unwound_BaselineJS. r=nbp 2014-11-11 17:50:44 +01:00
Jan de Mooij
d640179104 Bug 1093573 part 7 - Allow OSR for generator scripts. r=wingo 2014-11-11 17:50:42 +01:00
Luke Wagner
1b5e06a738 Bug 1091916 - simplify the interrupt/jitStackLimit situation (r=bhackett) 2014-10-30 17:35:35 -05:00
Steve Fink
2fddf87a5a Bug 1074961 - Part 12: Simplify the locking in releaseArena; r=sfink
--HG--
extra : amend_source : 45ad5e52ee44ca41216ee15f9c6142c37a5cd106
2014-11-10 14:55:29 -08:00
Wes Kocher
c7d648224f Backed out changeset 6a96e15c810c (bug 1093307) for ggc bustage on a CLOSED TREE 2014-11-10 14:40:59 -08:00
Wes Kocher
717bf55f6a Backed out changeset fdcf11277625 (bug 1074961) for ggc bustage on a CLOSED TREE 2014-11-10 14:37:25 -08:00
Terrence Cole
28f0818a08 Bug 1074961 - Part 12: Simplify the locking in releaseArena; r=sfink
--HG--
extra : rebase_source : 3b1f8e728a31948a1bcb04aa3a46a5ea2b216aa4
2014-11-06 14:03:09 -08:00
Terrence Cole
b0ef029ce6 Bug 1093307 - Part 2: Make OOM flushing paths more straightforward; r=jonco
--HG--
extra : rebase_source : 4634215f64ea96c2057f4ff609119b2a6cad008f
2014-11-06 14:03:05 -08:00
Nathan Froyd
c767cf0846 Bug 1095633 - part 2 - remove HAVE_CPP_TROUBLE_COMPARING_TO_ZERO bits from the build system; r=mshal 2014-11-07 14:08:13 -05:00
Nicolas B. Pierron
9d2f7da0a5 Bug 1095284 - Fix test case, check that ParallelJS is enabled. r=shu 2014-11-10 14:04:00 +01:00
Emanuel Hoogeveen
024559acd7 Bug 1084651 - Part 6: Rename SliceBudget::reset to the less misleading makeUnlimited. r=billm 2014-11-04 07:35:00 +01:00
Emanuel Hoogeveen
29ff200005 Bug 1084651 - Part 4b: Adjust and clarify some tests using gcslice(0). r=billm 2014-11-04 08:17:00 +01:00
Emanuel Hoogeveen
054bab0b96 Bug 1084651 - Part 4a: Adjust some tests to preserve previous behavior. r=billm 2014-10-21 11:50:00 +02:00
Emanuel Hoogeveen
e3596f6327 Bug 1084651 - Part 3: Tighten up the bounds of SliceBudget to work as a budget should. r=billm 2014-11-04 07:34:00 +01:00
Emanuel Hoogeveen
b7672edb91 Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=billm r=mccr8 2014-10-22 14:13:00 +02:00
Emanuel Hoogeveen
1eae38bc29 Bug 1084651 - Part 1: Thread SliceBudget through several functions to choose the budget type at the source. r=billm 2014-11-07 13:05:00 +01:00
Steve Singer
5855e11c3a Bug 1096052 - Add unboxNonDouble to the None MacroAssembler. r=bhackett 2014-11-09 18:08:00 +01:00
Nick Fitzgerald
504a3e3703 Bug 1083456 - Part 1: Add JS_TraceIncomingCCWs. r=terrence 2014-11-07 11:56:00 +01:00
Luke Wagner
7c30f4465a Bug 1091912 - stop using mprotect to halt Ion/asm.js execution (r=bhackett)
--HG--
extra : rebase_source : 2b5b2958d5a1782680800132ab01bf407640a92b
2014-11-11 08:36:52 -06:00
Jan de Mooij
d010174e36 Bug 1093573 part 6 - Baseline-compile yield instructions. r=wingo 2014-11-11 15:12:28 +01:00
Jan de Mooij
60aac04766 Bug 1093573 part 5 - Baseline-compile JSOP_GENERATOR. r=wingo 2014-11-11 15:12:26 +01:00
Jan de Mooij
41cf2228a5 Bug 1093573 part 4 - Add yield index to YIELD ops. r=wingo 2014-11-11 15:12:24 +01:00
Jan de Mooij
88b1d4572f Bug 1094255 - Optimize GetElements on NodeLists to make fun.apply(x, nodeList) faster. r=bz,evilpie 2014-11-11 11:56:44 +01:00
Jason Orendorff
ec4aab528e Bug 1090537, part 12 - Change SetNonexistentProperty to use only receiver, not obj. No change in behavior. r=efaust.
(The behavior doesn't change because Unqualified is only passed from two call sites, and in both places, the same object is passed for both receiver and obj.)

--HG--
extra : rebase_source : 9e71c3aca2d35829c9be8386e4855ad050e12a13
extra : amend_source : 3f95d45b5d630f4a2d45869c84520b28dc936792
2014-10-25 11:24:55 -05:00
Jason Orendorff
4e7969f411 Bug 1090537, part 11 - Delete a special case for arrays in SetNonexistentProperty that is (a) unreachable; (b) redundant with a check in DefinePropertyOrElement. r=efaust.
The code being deleted would be ineffective even if we did have Reflect.set, but Reflect.set does enable a very near miss (where receiver, not obj, is an array), so we leave a sleeper test for that case.

--HG--
extra : rebase_source : ea38558aaa9e52ebb999cf1eea53abfde5608161
2014-10-28 12:49:17 -05:00
Jason Orendorff
99cc6789cf Bug 1090537, part 10 - Factor out SetNonexistentProperty. No change in behavior. r=efaust.
--HG--
extra : rebase_source : f9bbad80dcb455bfccb5ad9cead6dcb7b53d71d3
2014-11-07 13:02:49 -06:00
Jason Orendorff
e3cb01a4ac Bug 1090537, part 9 - Just move SetPropertyByDefining. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 8accf39f3c7e3d9d4121244213173aa5581f57d3
2014-11-07 13:00:50 -06:00
Jason Orendorff
182e465b26 Bug 1090537, part 8 - In SetPropertyHelper, if defining a new data property, define it on receiver, not obj. r=efaust.
Most of the diff is just renaming an argument. The only new code is necessary because unlike obj, receiver can be non-native.

--HG--
extra : rebase_source : 115769a212724dddec315663a7a7e71a9abaa992
2014-10-18 16:49:50 -05:00
Jason Orendorff
84d27e840c Bug 1090537, part 7 - Eliminate useless attrs argument to SetPropertyByDefining. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 4eb90cb86d576f9014265b9b00808a099f589915
2014-10-18 16:43:25 -05:00