Commit Graph

16780 Commits

Author SHA1 Message Date
Boris Zbarsky
4c7e3136cd Bug 698495 part 4. Implement a JS_GetElementIfPresent API. r=waldo 2011-11-04 12:19:13 -04:00
Boris Zbarsky
bc9acd044b Bug 698495 part 3. Expose IndexToId to API consumers. r=waldo 2011-11-04 12:19:07 -04:00
Boris Zbarsky
23e72ba66d Bug 698495 part 2. Add an optional getElementIfPresent ObjectOps hook. r=waldo 2011-11-04 12:19:00 -04:00
Boris Zbarsky
c36a1bb221 Bug 698495 part 1. Create a getElementIfPresent method on JSObject with a generic implementation and use it from JSArray code. r=waldo 2011-11-04 12:18:52 -04:00
Boris Zbarsky
2f77d358a2 Bug 698551. When forwarding gets to the prototype in nodelists, make sure to use the right |this|. r=waldo,peterv 2011-11-04 12:18:38 -04:00
Boris Zbarsky
85b919ee4f Bug 688685 test. r=waldo 2011-11-04 01:32:10 -04:00
Boris Zbarsky
91f20632a5 Bug 699661. Call the class getElement hook from JSObject::getElement as needed. r=waldo 2011-11-04 01:32:09 -04:00
Makoto Kato
9e5924b6ab Bug 632630 - Should add debug flag of assembler obj when MOZ_DEBUG_SYMBOLS. r=khuey 2011-11-04 11:59:47 +09:00
Matt Brubeck
1d21bad0c9 Back out a242f11d7c58 and f73841ef020a because of test failures 2011-11-03 15:23:10 -07:00
Brian Hackett
718d2e1bb8 Watch for global mismatches on regexp literals when compiling regexp ops, bug 695896. r=cdleary 2011-11-03 14:40:49 -07:00
Tom Schuster
5cd5937411 Bug 430927 - Don't decompile to \0 as it was incorrectly interpreted as octal. r=waldo 2011-11-03 21:58:06 +01:00
Tom Schuster
a7b4b06a16 Bug 698584 - Fix crash in RegExp.test in case of OOM. r=mrbkap 2011-11-03 21:57:32 +01:00
Neil Deakin
f55fc4c956 Bug 94199, part 2, add method to serialize/deserialize js function, r=mwu 2011-11-03 16:39:08 -04:00
Brian Hackett
72819628ee Try converting known doubles to integers in GETELEM/SETELEM paths, bug 678687. r=dvander 2011-11-03 09:24:40 -07:00
Ben Turner
d1ccef79ea Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : %84%E3%96%9F%C5%BA%D56%A4%94%83%9F%C3%F5%2B%01%7B%87%FB9
2011-11-03 08:57:30 -07:00
Nicholas Nethercote
744ba05dd6 Bug 696284 - Add a comment explaining why we allocate BytecodeEmitter on the heap. r=jorendorff. DONTBUILD 2011-11-02 20:45:48 -07:00
Ed Morley
b08ad8e6dc Backout eb32aca6d54d, b5c0bfd03fcf and 5675bf2c7930 (bug 692669 and bug 692669) for failing to build on all platforms 2011-11-03 01:57:48 +00:00
Ben Turner
8ec37931d5 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : E%E9%F9%B5%FB%88%1E%FA%C1%BE%04%1F%1E%3D%5E%EB%3C%D2%D2c
2011-11-02 18:03:15 -07:00
Jason Orendorff
118bcfc35f Bug 694306 - Keywords should not be permitted in destructuring shorthand. r=Waldo. 2011-11-02 14:30:58 -05:00
Gabor Krizsanits
d6244732f9 Bug 677294 - need a way to create new JS scopes and run scripts against them (same compartment) 2011-11-02 10:20:00 -07:00
Nicholas Nethercote
dbd773b4ff Bug 684800 - Measure slop in TI-related JS memory reporters. r=bhackett. 2011-11-01 21:59:43 -07:00
Ms2ger
227d64152e No bug - Fix OSX -Werror builds by initializing Chars::cx in the constructor; rs=Waldo over IRC 2011-11-01 22:46:48 +01:00
Brian Hackett
19d0d9a85e Back out b979f9d59e89 (bug 678687) for intermittent test_jQuery timeout. 2011-11-01 14:52:26 -07:00
Brian Hackett
7880fc1d8b Remove ARGCNT, ARGSUB opcodes, bug 698015. r=dvander 2011-11-01 09:01:04 -07:00
Brian Hackett
6b7b024d60 Try converting known doubles to integers in GETELEM/SETELEM paths, bug 678687. r=dvander 2011-11-01 08:43:40 -07:00
Jacob Bramley
71e768a15c Bug 643213: Fix signed integer arithmetic used to construct ARM load instructions. [r=mrosenberg] 2011-11-01 08:51:17 +00:00
Nicolas Pierron
178b6396f6 Add gc::Mark and gc::IsMarked functions. (Bug 687843, r=billm)
Use overloading to choose the Mark/IsMarked function based on the static type of
the argument.

---
2011-10-31 15:41:48 -07:00
Matt Brubeck
6ba206e797 Merge mozilla-central to mozilla-inbound 2011-10-31 14:51:24 -07:00
Kyle Huey
36a8302905 Merge b-s to m-c. 2011-10-31 14:13:23 -04:00
Kyle Huey
e6f8798925 Merge m-c to b-s. 2011-10-31 13:12:45 -04:00
Ed Morley
d3095eb7a4 Merge mozilla-central and mozilla-inbound 2011-10-30 11:52:20 +00:00
Brian Hackett
85181051df Sync FrameState entries based on tracker, bug 698100. r=dvander 2011-10-29 18:16:35 -07:00
Brian Hackett
519d2afef5 Propagate OOM triggered by inlineCallHelper, bug 695290. r=dvander 2011-10-29 17:40:34 -07:00
Brian Hackett
e47b86f599 Remove defined variables analysis, bug 697861. r=dvander 2011-10-29 17:30:08 -07:00
Nicholas Nethercote
e2861e8677 Bug 697933 - Allow HashTables to have a capacity as small as four. r=luke. 2011-10-30 16:12:48 -07:00
Ms2ger
567f4260b6 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Matheus Kerschbaum
8096db3748 Bug 697666 - Don't build the jstracer by default. r=dmandelin 2011-10-30 15:33:44 +01:00
Jonas Sicking
0588c874fd Bug 687400: Kill Node.isSameNode. r=smaug 2011-10-28 19:52:27 -07:00
Ted Mielczarek
3b16e50c71 bug 697709 - shuffle around some blocks in configure so we can choose the right STLport flavor for ARMv6 Android builds. r=glandium 2011-10-26 13:59:43 -04:00
Nicholas Nethercote
d88a09cc15 Bug 697016 - Add js-total-* memory reports. r=bhackett. 2011-10-27 22:20:36 -07:00
Nicholas Nethercote
71761b057d Bug 697016 - Refine per-compartment JS reporters. r=bhackett. 2011-10-27 22:19:57 -07:00
Jason Orendorff
66dc6a8e8f Remove unused flag TCF_NEED_MUTABLE_SCRIPT as suggested by Waldo in review. Bug 696953 comment 8. rs=Waldo over IRC.
--HG--
extra : rebase_source : 2da200e67b56453a6d15a58e8937c23c8ed8403e
2011-10-27 21:20:32 -05:00
Jason Orendorff
19bf5b2e7a Divorce analyzeFunctions() and friends from class js::Parser. Bug 696953, part 4 of 4. r=Waldo.
--HG--
rename : js/src/frontend/Parser.cpp => js/src/frontend/SemanticAnalysis.cpp
extra : rebase_source : 735796e90d053bc979060c2b988926954b90f435
2011-10-27 21:16:32 -05:00
Jason Orendorff
ba6ee1ae03 Remove class BytecodeCompiler. Bug 696953, part 3 of 4. r=Waldo.
--HG--
rename : js/src/frontend/Parser.cpp => js/src/frontend/SemanticAnalysis.cpp
extra : rebase_source : 2d9b17328a656f5f5dccda11311fd5d4637a6663
2011-10-27 17:03:54 -05:00
Jason Orendorff
64c6bc2b3d Move GlobalScope from BytecodeCompiler to BytecodeEmitter. Bug 696953, part 2 of 4. r=Waldo.
--HG--
rename : js/src/frontend/Parser.cpp => js/src/frontend/SemanticAnalysis.cpp
extra : rebase_source : d07f9e50246b46d9704c3a45ae0fa368c88319be
2011-10-27 17:00:48 -05:00
Jason Orendorff
557c9ac390 Split Parser::analyzeFunctions and friends off into their own file. Bug 696953, part 1 of 4. r=Waldo.
--HG--
rename : js/src/frontend/Parser.cpp => js/src/frontend/SemanticAnalysis.cpp
extra : rebase_source : 6f4a032e9d31a0cc549d501661e6c3f5c831f5a8
2011-10-27 16:59:48 -05:00
Nicholas Nethercote
5fde953dc7 Bug 697646 - Don't create tiny property tables. r=bhackett. 2011-10-27 17:58:44 -07:00
Jason Orendorff
22579e0c64 Bug 696220 - js1_8_5/extensions/reflect-parse.js is failing. r=luke.
--HG--
extra : rebase_source : b6452bd11b342921ac7667dfb2765bb213db9e23
2011-10-27 15:40:40 -05:00
Jim Blandy
2c8a234e0e Bug 695985: Provide CFI for the code address GDB checks when a return address points at JaegerThrowpoline's or JaegerInterpoline's entry point. r=sfink
Details in comments.
2011-10-27 13:14:22 -07:00
Bobby Holley
89ea734227 Bug 693341 - Test arrays of iid_is params. r=khuey 2011-10-27 12:43:38 -07:00