Commit Graph

47660 Commits

Author SHA1 Message Date
Eric Faust
f8ae67b56d Bug 1101903 - Part 1: Convert SharedContext::strict to a method. (r=Waldo) 2015-02-25 17:30:07 -08:00
Eric Faust
55d9fa93ae Bug 1124362 - Allow strict-reserved names to be method names. (r=jorendorff) 2015-02-25 17:30:07 -08:00
Nick Fitzgerald
fd687cb7a9 Bug 1031152 - Part 2: Define a JSAPI test for the SavedFrame public API; r=jandem 2015-02-25 17:07:05 -08:00
Nick Fitzgerald
9c6cd14045 Bug 1031152 - Define a JS public API for working with SavedFrame instances; r=jandem,bz
This should fix the SM(arm) build.

New try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=eef29c61b5b7
2015-02-25 17:06:56 -08:00
Shu-yu Guo
52e5c3c147 Bug 1136397 - Ensure OSR frame scripts have debug instrumentation. (r=jandem) 2015-02-25 16:15:11 -08:00
Kannan Vijayan
ec632c2fe5 Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 16:43:39 -05:00
Jon Coppeard
f2e458ed92 Bug 1136193 - OSObject issues, r=sfink 2015-02-25 08:41:00 -08:00
Ryan VanderMeulen
2351be3127 Backed out changesets 3de23a29bf71 and d42c64b791e6 (bug 1129510) for debug SM(e) timeouts. 2015-02-25 13:44:19 -05:00
Lars T Hansen
935d77b39e Bug 1136584 - Fix warning-as-errors error. r=me 2015-02-25 19:13:32 +01:00
Andrew McCreight
bbb6dc7e24 Bug 1135772 - Return null on failure in nsXPCWrappedJS's QueryInterface. r=smaug 2015-02-25 09:44:10 -08:00
Lars T Hansen
95fbf2b032 Bug 1136584 - Copy JIT options from global settings. r=bhackett 2015-02-25 18:43:51 +01:00
Kannan Vijayan
16b1c00471 Bug 1129510 - Fix static analysis test failure on CLOSED TREE.
--HG--
extra : rebase_source : 3dfdb378bfdc033af0f2b66f34bd8220aae54b3e
2015-02-20 18:50:38 -05:00
Hannes Verschore
b577627a8b Bug 1131955 - IonBuilder: Add collectRangeInfoPreTrunc to MBoundsCheck, r=sunfish 2015-02-25 17:36:20 +01:00
Kannan Vijayan
d784692baf Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 11:26:28 -05:00
Brian Hackett
512025dfa5 Bug 1135718 - Convert unboxed plain objects to natives before changing their prototype, r=jandem. 2015-02-25 09:33:04 -06:00
Brian Hackett
0a55b16211 Bug 1135723 - Traverse layout properties instead of object group properties in makeNativeGroup, handle int32->double coercion in ensureDefiniteType, r=jandem. 2015-02-25 09:29:36 -06:00
Hannes Verschore
e77f233405 Bug 1136337 - IonMonkey: Override default alias set for MCheckOverRecursed, r=sstangl 2015-02-25 15:22:49 +01:00
ziyunfei
b61ec8482c Bug 1135429 - Object.create shouldn't throw when its second argument is a primitive value. r=till
--HG--
extra : rebase_source : 38790b9867c09ddf4422c91186704ff762a4cd22
2015-02-24 08:56:00 +01:00
Nick Fitzgerald
e666a06a1b Bug 1135827 - Don't root more times than necessary in js::SavedStacks::insertFrames. r=jimb 2015-02-24 10:35:00 +01:00
ziyunfei
f5fed2912d Bug 1135560 - Number.{parseInt, parseFloat} should be the same functions as global ones. r=till 2015-02-24 06:57:00 +01:00
Xidorn Quan
2db6e570ff Bug 1135535 part 4 - Fix C4275 dll-interface warning and mark this warning as error in js/src on MSVC. r=luke
Fix warning:
js\src\jswrapper.h(58) : error C4275: non dll-interface class 'js::DirectProxyHandler' used as base for dll-interface class 'js::Wrapper'
        obj-firefox\dist\include\js/Proxy.h(358) : see declaration of 'js::DirectProxyHandler'
        js\src\jswrapper.h(57) : see declaration of 'js::Wrapper'

--HG--
extra : rebase_source : cc1e87a0b1ce01094263a20f40638b0532e3f24e
extra : source : 9207eefa78eea211092df344b7aa9752fbc7bfb3
2015-02-25 15:26:23 +11:00
Xidorn Quan
8d137d5b83 Bug 1135535 part 3 - Fix C4258 definition ignored warnings and mark it an error in js/src on MSVC. r=luke
Fix warnings:
js\src\vm/UnboxedObject.cpp(212) : error C4258: 'i' : definition from the for loop is ignored; the definition from the enclosing scope is used
        js\src\vm/UnboxedObject.cpp(209) : definition of 'i' ignored
        js\src\vm/UnboxedObject.cpp(204) : definition of 'i' used
js\src\vm/UnboxedObject.cpp(213) : error C4258: 'i' : definition from the for loop is ignored; the definition from the enclosing scope is used
        js\src\vm/UnboxedObject.cpp(209) : definition of 'i' ignored
        js\src\vm/UnboxedObject.cpp(204) : definition of 'i' used

--HG--
extra : rebase_source : 8ac8533686614faac97c7e58c1a014fae24f067c
extra : source : 1c10edf1b22a90eb60dfeb7557043a9d3e71d90d
2015-02-25 15:26:23 +11:00
Xidorn Quan
79b28e6f04 Bug 1135535 part 2 - Fix C4067 unexpected token in js/src and mark this warning an error on MSVC. r=luke
Fix warning:
js/src/frontend/Parser.cpp(2571) : error C4067: unexpected tokens following preprocessor directive - expected a newline

--HG--
extra : rebase_source : 306de2dd08d4ae6cd5cd2c3d98253834af30e91d
extra : source : a92c239aab4f18bed4df0f5581152862c5e75740
2015-02-25 15:26:23 +11:00
Xidorn Quan
ac32ade601 Bug 1135535 part 1 - Suppress C4805 unsafe mix type warnings in js/src and mark that warning an error on MSVC. r=luke
Suppress warnings:
js\src\asmjs/AsmJSModule.cpp(2060) : error C4805: '!=' : unsafe mix of type 'const uint32_t' and type 'bool' in operation
js\src\jit/BaselineDebugModeOSR.cpp(650) : error C4805: '==' : unsafe mix of type 'bool' and type 'js::Debugger::IsObserving' in operation
js\src\jit/BaselineDebugModeOSR.cpp(670) : error C4805: '==' : unsafe mix of type 'bool' and type 'js::Debugger::IsObserving' in operation
js\src\jit/shared/Assembler-x86-shared.h(2434) : error C4805: '|' : unsafe mix of type 'bool' and type 'int' in operation
js\src\vm/Debugger.cpp(2042) : error C4805: '==' : unsafe mix of type 'bool' and type 'js::Debugger::IsObserving' in operation
js\src\vm/Debugger.cpp(2063) : error C4805: '==' : unsafe mix of type 'bool' and type 'js::Debugger::IsObserving' in operation
js\src\vm/ScopeObject.cpp(823) : error C4805: '|' : unsafe mix of type 'int' and type 'bool' in operation
js\src\vm/SPSProfiler.cpp(81) : error C4805: '==' : unsafe mix of type 'uint32_t' and type 'bool' in operation

--HG--
extra : rebase_source : a601688b79fa8f8925f21d6d0f9b28fc8cfc26ef
extra : source : d4711addda74fcce0804bd09646ca7589638a1b5
2015-02-25 15:26:23 +11:00
Steve Fink
e150785466 Bug 1133909 check-style bustage resulting in a CLOSED TREE - alphabetize the includes, a=KWierso 2015-02-24 15:09:46 -08:00
Steve Fink
f4b78e48a0 Bug 1133909 - Fix hazards revealed by adding in new GCPointers, r=terrence
--HG--
extra : rebase_source : df7d5c29f7dd728cd5d5aa1c9000199f7860d1ce
2015-02-24 09:37:13 -08:00
Brian Hackett
17643d2924 Bug 1133369 - Use consistent allocation kinds for new objects after converting an unboxed group, r=jandem. 2015-02-24 16:02:09 -06:00
Brian Hackett
5024d7a796 Bug 826741 - Use the backtracking register allocator by default, r=jandem. 2015-02-24 15:59:37 -06:00
Boris Zbarsky
3b30a33f2c Bug 1134970 part 2. Add JS friend API to quickly copy properties from one object to another if the objects are similar enough. r=bhackett,waldo 2015-02-24 16:04:22 -05:00
Boris Zbarsky
4b52a3332a Bug 1134970 part 1. Add JS friend API to allocate an object which is guaranteed to have no attached metadata. r=waldo 2015-02-24 16:04:22 -05:00
Boris Zbarsky
8bbb911b7e Bug 1134969. Make DeepCloneObjectLiteral correctly handle setLastProperty failures. r=waldo 2015-02-24 16:04:22 -05:00
Boris Zbarsky
5a8c7357de Bug 1134968. If JS_NewObjectWithGivenProto is passed a null parent and null proto, use the context's current global as the parent. r=waldo 2015-02-24 16:04:22 -05:00
Tooru Fujisawa
6134ad7194 Bug 1135401 - Do not run js1_8_5/extensions/file-mapped-arraybuffers.js test if memory mapped array buffer is not supported. r=sfink 2015-02-25 05:47:01 +09:00
Ryan VanderMeulen
b8ac223995 Backed out changeset cd6461410a7a (bug 1130439) for frequent SM test timeouts/failures.
CLOSED TREE
2015-02-24 15:11:08 -05:00
Ulrich Schoepp
061dc25c0a Bug 1047529 - Move caller field from MResumePoint to MBasicBlock. r=nbp 2015-02-24 14:30:02 -05:00
Jon Coppeard
c30c5b4a1e Backed out changeset 4d1ffad0a2fd (bug 1133759) for octane-splay regression 2015-02-24 16:33:06 +00:00
Dan Gohman
a6b1c709a0 Bug 1135903 - OdinMonkey: Check the siginfo si_code field before handling a SIGSEGV r=luke 2015-02-24 07:53:13 -08:00
Dan Gohman
8639ca8c89 Bug 986981 - OdinMonkey: Optimize addresses with constant offsets on x86 and x64 r=luke
--HG--
rename : js/src/jit-test/tests/asm.js/testZOOB.js => js/src/jit-test/tests/asm.js/testAddressErrors.js
2015-02-24 07:50:14 -08:00
Dan Gohman
036bcf67ff Bug 1122856 - OdinMonkey: Split out the flag that says "bounds checks are unneeded because of signal handling" r=luke 2015-02-24 07:50:14 -08:00
Carsten "Tomcat" Book
a93dc01c33 Backed out changeset 7ff335be2c49 (bug 1047529) for causing spidermonkey test failure on a CLOSED TREE 2015-02-24 15:31:15 +01:00
Douglas Crosher
2675b18413 Bug 1135537 - DebugOnly.h needed for DebugOnly uses in SavedStacks. r=nfitzgerald 2015-02-24 11:36:12 +11:00
Ulrich Schoepp
a167acd254 Bug 1047529 - Move caller field from MResumePoint to MBasicBlock. r=nbp
--HG--
extra : rebase_source : 94aa262b92c8cefccdab694f5aae9b60e83a55c4
2015-02-20 14:46:00 +01:00
Jon Coppeard
2758b312fa Bug 1133759 - Always shrink GC buffers at the end of a shrinking GC, even if we don't compact r=terrence 2015-02-24 09:40:02 +00:00
Jon Coppeard
d890cbe8e4 Bug 1135141 - Fix jsapi-test framework to not overwrite original global when createGlobal() fails r=terrence 2015-02-24 09:40:02 +00:00
Jon Coppeard
1cfeb1c8d5 Bug 1135141 - Release relocated arenas immediately on last ditch GC r=terrence 2015-02-24 09:40:02 +00:00
Jon Coppeard
d6e694292c Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence 2015-02-24 09:40:02 +00:00
Jon Coppeard
5e6eee1375 Bug 1135100 - Remove Cell* versions of various GC methods forcing callers to use correct type r=terrence 2015-02-24 09:40:02 +00:00
Jon Coppeard
2f9550d600 Bug 1135100 - Don't bother to check if things we don't relocate have been forwarded r=terrence 2015-02-24 09:40:02 +00:00
Jon Coppeard
846f3968f9 Bug 1135100 - Don't update GC thing pointers that haven't changed after marking r=terrence 2015-02-24 09:40:02 +00:00
Shu-yu Guo
18096462b2 Bug 1129769 - Followup: ignore indirect function calls from JSStreamWriter's use of std::ostream in hazard analysis. (r=sfink) 2015-02-23 20:33:56 -08:00