Commit Graph

53644 Commits

Author SHA1 Message Date
Brendan Eich
95d5ebd4d3 Fix bogus assertion: "!shape->inDictionary()" (only if not shape->frozen(); 592217, r=jorendorff). 2010-09-20 08:01:06 -07:00
Brendan Eich
b0a31f8bcb Fix test for 597870 (CLOSED TREE). 2010-09-19 22:04:16 -07:00
Brendan Eich
0134ef3da3 Fix decompiler LHS -> RHS special cases switch to cover JSOP_SETXMLNAME (597870, r=igor; CLOSED TREE). 2010-09-19 16:24:13 -07:00
Igor Bukanov
74d6525584 bug 597654 - PurgeScriptFragments must do its job even with jit disabled. r=gal 2010-09-18 11:44:22 +02:00
Makoto Kato
c93588f2e2 Bug 597288 - alignment on call stack isn't 16byte on x86_64 CPU. r=dvander 2010-09-19 00:06:26 +09:00
Chris Leary
402dc1f5d2 Bug 596502: unbreak XML parsing on JS1.6 and onwards. (r=brendan) 2010-09-18 00:31:36 -07:00
Brendan Eich
2253bb99d7 Don't recycle class-reserved slots onto a dictionary table's freelist (595230, r=jorendorff). 2010-09-14 17:08:16 -07:00
David Anderson
1eb18e8c61 Compile JSOP_HOLE, JSOP_CONDSWITCH (bug 597452, r=sstangl).
--HG--
extra : rebase_source : 7e4ee290322b071cd50e1bb21bf5722ac3d0c0d0
2010-09-17 11:35:01 -07:00
Sean Stangl
86f33eea9f Use loadValueAsComponents() for faster loading on x64. b=587444, r=dvander. 2010-09-17 14:13:13 -04:00
David Anderson
7556886c23 Compile JSOP_IN (bug 594111, r=dmandelin). 2010-09-17 10:41:29 -07:00
Jason Orendorff
38d63ffa56 Back out changeset a8252fe3f211 due to turning everything orange. 2010-09-16 20:58:40 -07:00
Jason Orendorff
31cfa81e35 Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=mrbkap.
--HG--
extra : rebase_source : 717f7f4d4f3e6e96955cbb1ddb8ca9e1533914f7
2010-09-16 17:29:21 -07:00
David Anderson
3bced69ba2 Fix instanceof with bound functions (bug 597167, r=brendan). 2010-09-16 19:31:11 -07:00
David Anderson
4c55c224e5 Compile JSOP_DELNAME (bug 597137, r=dmandelin). 2010-09-16 17:26:32 -07:00
David Anderson
c4431d1a07 Compile JSOP_DEFVAR (bug 594117, r=dmandelin). 2010-09-16 17:25:38 -07:00
David Mandelin
c1def1ffa6 Bug 596460: try making Interpret not inlined to avoid stack frame bloat in other functions, r=dvander 2010-09-16 15:20:56 -07:00
David Anderson
699ebd405b Compile JSOP_DELPROP, JSOP_DELELEM (bug 578736, r=dmandelin). 2010-09-16 12:13:25 -07:00
Blake Kaplan
7418b836b8 Fix warning. No bug. rs=jorendorff
--HG--
extra : rebase_source : 00de9de8537125213dd43420511c449c2ee77167
2010-09-16 11:51:54 -07:00
Blake Kaplan
2cdbd6c122 Bug 597118 - Give proxy handler the ability to have an innerObject hook. r=gal
--HG--
extra : rebase_source : 5dd07ac858135c13e5399fff336d513791c1ded0
2010-08-23 15:34:11 -07:00
Blake Kaplan
2607e0162a Bug 597116 - We need to set vp for non-SHARED properties, even if they have a native getter. r=gal
--HG--
extra : rebase_source : 35cffbaf0517c7640278fc5109670dafa4f1d3e9
2010-09-16 11:45:55 -07:00
Blake Kaplan
67c5e81443 Bug 597114 - Actually pass the new value when calling setters and set argc correctly. r=gal
--HG--
extra : rebase_source : 596c02dff54a3608eba86213e4a80d97bf0f297b
2010-09-16 11:43:33 -07:00
Blake Kaplan
a49526d99e Bug 597109 - Deal with PropertyStub as being equivalent to NULL to mean "no getter" or "no setter". r=gal
--HG--
extra : rebase_source : 64ab966efeef8bff33307d91d6d173d2b617383c
2010-09-16 11:40:59 -07:00
Blake Kaplan
56ddbac0a3 Bug 597104 - Innerize cx->globalObject before using it. r=gal
--HG--
extra : rebase_source : 3303961f10d4afa07f7e5b5a1b589265ad5084d9
2010-09-16 11:36:18 -07:00
Blake Kaplan
c8933c7fa2 Bug 583232 followup -- actually add the functions to jsapi.h. r=gal
--HG--
extra : rebase_source : 81e8c6e0bafaa7ee0ddd873d694209f7bb1e3008
2010-09-16 11:32:18 -07:00
Chris Leary
e347ae1b1b Fix warning on GCC 4.0.1. No bug, r=jorendorff. 2010-09-16 11:46:58 -07:00
Jim Blandy
bdd7ba704a Bug 585803: Unit tests for existing JSScript and script object creation API. r=jorendorff
These tests exercise the new API, in which script objects are allocated
immediately for scripts that can have them.
2010-09-16 09:59:10 -07:00
Chris Leary
c1efc206b8 Fix windows build breakage. 2010-09-16 01:38:19 -07:00
David Anderson
d9994e6934 Fixed thinko in 89283cd55a98 (bug 596457, no_r=me). 2010-09-15 23:01:03 -07:00
David Anderson
797765d0c9 Require SSE2 to use Method JIT on x86 (bug 596457, r=dmandelin). 2010-09-15 22:27:17 -07:00
Luke Wagner
22b9595546 Bug 595923 - InvokeConstructor can return primitive value (r=brendan)
--HG--
extra : rebase_source : 75fd8e06ce4abceb17f2452236e3425efdb035fa
2010-09-15 21:59:08 -07:00
Luke Wagner
4399739182 Bug 595916 - don't access actual args in TraceRecorder (r=dvander)
--HG--
extra : rebase_source : 72db63003c6995b446a5718fae1ca101e3a23996
2010-09-15 21:55:02 -07:00
Chris Leary
204b2a98e5 Bug 596026: PIC-like construct for GETELEM on trace. (r=jorendorff, a=nnethercote,cdleary)
--HG--
extra : rebase_source : 63b57898593b2b178a7ebb1f38071c1058ccb4f7
2010-09-15 21:33:17 -07:00
Benjamin Stover
755c4ace79 Bug 596433 - Method JIT inline assembly has illegal instruction [r=dvander, will get r=Jacob.Bramley asap] 2010-09-15 13:58:21 -07:00
Nicholas Nethercote
1196fa707b Remove unnecessary V8 platform-detection code that broke PPC builds in 562dc7fd7492. r=me. 2010-09-15 16:24:40 -07:00
Jim Blandy
2a3cf83056 Bug 537873, Bug 514574: Have strict mode code report TypeErrors for assignments, deletions. r=brendan
TODO: Fix error messages.
2010-09-15 13:43:55 -07:00
Jim Blandy
7747ff883f Bug 537873, Bug 514574: Delete unused property operation typedefs: JSDefinePropOp, JSPropertyIdOp. r=luke 2010-09-15 13:43:54 -07:00
Jim Blandy
f1251d7a8d Bug 537873, Bug 514574: Tests for strict mode assignments to read-only properties, deletions of non-configurable properties. r=jorendorff 2010-09-15 13:43:54 -07:00
Jim Blandy
eed175c2ac Bug 537873, Bug 514574: Use ObjectOps::setProperty for both fast and slow arrays. r=brendan 2010-09-15 13:43:54 -07:00
Nicholas Nethercote
3e6075346a Bug 594680 - Update about:license with the relevant information for V8. r=gerv. 2010-09-15 11:49:49 -07:00
Nicholas Nethercote
687594069c Bug 558799 - Import FastDtoa code from V8. r=gal. 2010-09-15 11:49:12 -07:00
David Mandelin
3577fae9f6 Bug 595604: make sure we have a stack frame before we run the compiler in call ICs, r=dvander 2010-09-14 15:18:48 -07:00
Igor Bukanov
dc286830a3 bug 595207 - making functionNamespaceURIAtom eager for simpler code. r=brendan 2010-09-15 16:55:35 +02:00
Brendan Eich
666763cd97 Sample initialShape after putProperty call, which may go toDictionaryMode (596128, r=bhackett). 2010-09-14 12:07:15 -07:00
Brian Hackett
c401cdd9f8 OOL fast path for string comparison, bug 579479. r=dvander 2010-09-14 20:07:11 -07:00
Dave Herman
206fee8283 bug 594622, r=cdleary: support for TOK_XMLSPACE nodes 2010-09-14 19:55:53 -07:00
Dave Herman
9d8c1a41fa bug 569464, r=brendan: bad let-expression-statements in strict mode 2010-09-14 19:53:35 -07:00
Brendan Eich
158b754944 JSFunction::addLocal never calls Shape::maybeHash (595918, r=jorendorff). 2010-09-13 18:44:34 -07:00
Jason Orendorff
06829c5b39 Merge backout. 2010-09-14 17:44:30 -07:00
Jason Orendorff
1676aac8c4 Backed out changeset 84b4d4856e1e (bug 580033) due to orange. 2010-09-14 17:42:36 -07:00
Jason Orendorff
a43bea11f5 Bug 593147 - TM: global Object created in _newJSDContext needs a compartment. r=gal. 2010-09-14 16:24:59 -07:00