Commit Graph

20510 Commits

Author SHA1 Message Date
Brendan Eich
5f587ea9fe Fix test for 597870 (CLOSED TREE). 2010-09-19 22:04:16 -07:00
Brendan Eich
dc9289096a 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
52e7bc13b8 bug 597654 - PurgeScriptFragments must do its job even with jit disabled. r=gal 2010-09-18 11:44:22 +02:00
Makoto Kato
a0fd050d6d 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
d0e1ff2c6e Bug 596502: unbreak XML parsing on JS1.6 and onwards. (r=brendan) 2010-09-18 00:31:36 -07:00
Brendan Eich
c2d459282e 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
23773215ec Compile JSOP_HOLE, JSOP_CONDSWITCH (bug 597452, r=sstangl).
--HG--
extra : rebase_source : 7e4ee290322b071cd50e1bb21bf5722ac3d0c0d0
2010-09-17 11:35:01 -07:00
Sean Stangl
7741d2b1af Use loadValueAsComponents() for faster loading on x64. b=587444, r=dvander. 2010-09-17 14:13:13 -04:00
David Anderson
862cc7db4c Compile JSOP_IN (bug 594111, r=dmandelin). 2010-09-17 10:41:29 -07:00
Jason Orendorff
e59d7a4125 Back out changeset a8252fe3f211 due to turning everything orange. 2010-09-16 20:58:40 -07:00
Jason Orendorff
d602680591 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
c102245b8e Fix instanceof with bound functions (bug 597167, r=brendan). 2010-09-16 19:31:11 -07:00
David Anderson
2b656fd125 Compile JSOP_DELNAME (bug 597137, r=dmandelin). 2010-09-16 17:26:32 -07:00
David Anderson
4d97ae7a36 Compile JSOP_DEFVAR (bug 594117, r=dmandelin). 2010-09-16 17:25:38 -07:00
David Mandelin
d3b6f206a9 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
fb08505b09 Compile JSOP_DELPROP, JSOP_DELELEM (bug 578736, r=dmandelin). 2010-09-16 12:13:25 -07:00
Blake Kaplan
c2984257f6 Fix warning. No bug. rs=jorendorff
--HG--
extra : rebase_source : 00de9de8537125213dd43420511c449c2ee77167
2010-09-16 11:51:54 -07:00
Blake Kaplan
2b0559641b 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
19804c6595 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
b6dc718d39 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
a4d976c46a 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
f8ba158e5b 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
5f098ddf56 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
65af984eb6 Fix warning on GCC 4.0.1. No bug, r=jorendorff. 2010-09-16 11:46:58 -07:00
Jim Blandy
107e896d2c 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
59d5d2ffe2 Fix windows build breakage. 2010-09-16 01:38:19 -07:00
David Anderson
ec25fd9cb2 Fixed thinko in 89283cd55a98 (bug 596457, no_r=me). 2010-09-15 23:01:03 -07:00
David Anderson
c3fd63d4da Require SSE2 to use Method JIT on x86 (bug 596457, r=dmandelin). 2010-09-15 22:27:17 -07:00
Luke Wagner
900c434f4d Bug 595923 - InvokeConstructor can return primitive value (r=brendan)
--HG--
extra : rebase_source : 75fd8e06ce4abceb17f2452236e3425efdb035fa
2010-09-15 21:59:08 -07:00
Luke Wagner
b10ff35164 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
1db51bcac3 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
b1ed878f22 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
5104f19d00 Remove unnecessary V8 platform-detection code that broke PPC builds in 562dc7fd7492. r=me. 2010-09-15 16:24:40 -07:00
Jim Blandy
1ccd1db5cf 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
c568d21361 Bug 537873, Bug 514574: Delete unused property operation typedefs: JSDefinePropOp, JSPropertyIdOp. r=luke 2010-09-15 13:43:54 -07:00
Jim Blandy
90758fe6a0 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
f45b8f47a2 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
b75798a618 Bug 558799 - Import FastDtoa code from V8. r=gal. 2010-09-15 11:49:12 -07:00
David Mandelin
5f999ddfb5 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
830fa83ae2 bug 595207 - making functionNamespaceURIAtom eager for simpler code. r=brendan 2010-09-15 16:55:35 +02:00
Brendan Eich
8c380c404e Sample initialShape after putProperty call, which may go toDictionaryMode (596128, r=bhackett). 2010-09-14 12:07:15 -07:00
Brian Hackett
7e383a400f OOL fast path for string comparison, bug 579479. r=dvander 2010-09-14 20:07:11 -07:00
Dave Herman
da81ffb827 bug 594622, r=cdleary: support for TOK_XMLSPACE nodes 2010-09-14 19:55:53 -07:00
Dave Herman
cdf10ce268 bug 569464, r=brendan: bad let-expression-statements in strict mode 2010-09-14 19:53:35 -07:00
Brendan Eich
ac9c40ba05 JSFunction::addLocal never calls Shape::maybeHash (595918, r=jorendorff). 2010-09-13 18:44:34 -07:00
Jason Orendorff
150b64fcad Merge backout. 2010-09-14 17:44:30 -07:00
Jason Orendorff
da3b6c1d0f Backed out changeset 84b4d4856e1e (bug 580033) due to orange. 2010-09-14 17:42:36 -07:00
Jason Orendorff
d638cb98b6 Bug 593147 - TM: global Object created in _newJSDContext needs a compartment. r=gal. 2010-09-14 16:24:59 -07:00
Jason Orendorff
1491318f84 Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=gal,mrbkap.
--HG--
extra : rebase_source : ff05faf1a39513255bcd6218b0adf6ab554a30b1
2010-09-14 14:38:09 -07:00
Brian Hackett
dfdfb5e887 Fix assert, bug 595921. r=dmandelin 2010-09-14 14:28:55 -07:00