Bill McCloskey
20e3b7290e
Bug 535912 - Eliminate blockChain from JSStackFrame (r=cdleary)
2010-09-29 13:21:36 -07:00
David Anderson
2f002d500e
Add local and argument closure information to JSScript (bug 592973, r=brendan+dmandelin).
...
--HG--
extra : rebase_source : 3d36a7908230006f2b048835f7526962fac2b32b
2010-09-13 22:33:44 -07:00
Ginn Chen
5b67866f99
Bug 584305 Define no extern "C" version ObjectOps to fix build issue with Solaris Studio r=brendan
2010-09-28 17:59:25 +08:00
Brendan Eich
4244210552
Object.defineProperty should avoid JS API inside engine, plus a few other cleanups (598176, r=jorendorff).
2010-09-16 23:07:02 -07:00
Gregor Wagner
fdb731becb
Bug 558861 - Compartmental GC (r=gal)
2010-09-24 10:54:39 -07:00
Brendan Eich
c27e88caa4
Fix shape vs. slot management under putProperty, plus related layering and error reporting fixes (596805, r=jorendorff).
2010-09-16 11:56:54 -07:00
Jim Blandy
9b88f70086
Bug 492845: Implement Object.isSealed, Object.seal. a=jwalden, r=brendan
2010-09-21 11:35:30 -07:00
Jim Blandy
accd8966fa
Bug 492844: Implement Object.freeze, Object.isFrozen r=brendan,jorendorff
...
This also moves ecma_5/strict/shell.js's deep_equal to ecma_5/shell.js, and
renames it deepEqual, for consistency with the rest of the world. It also improves deepEqual's handling of -0, 0, and NaN.
2010-09-21 11:35:29 -07:00
Jim Blandy
96d7c2007b
Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan
...
--HG--
rename : js/src/jsapi-tests/testSeal.cpp => js/src/jsapi-tests/testDeepFreeze.cpp
2010-09-21 11:35:29 -07:00
Jim Blandy
ad83424ea2
Bug 594574: Change GetPropertyNames to take its out-parameter by address, not by non-const reference. r=brendan
2010-09-21 11:35:29 -07:00
Brian Hackett
066d48b6b6
Backed out changeset 09ffb30caa47
2010-09-20 12:05:21 -07:00
Brian Hackett
e8819f33fa
Make JSObject flexible length, bug 584917. r=brendan
2010-09-20 11:40:32 -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
3bced69ba2
Fix instanceof with bound functions (bug 597167, r=brendan).
2010-09-16 19:31:11 -07:00
Chris Leary
c1efc206b8
Fix windows build breakage.
2010-09-16 01:38:19 -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
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
Igor Bukanov
dc286830a3
bug 595207 - making functionNamespaceURIAtom eager for simpler code. r=brendan
2010-09-15 16:55:35 +02:00
Chris Leary
2fa4fedbc1
Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw)
2010-09-13 09:38:22 -07:00
Brendan Eich
0366d26673
Try to fix Ts regression from patch for bug 592556...
2010-09-12 08:53:18 -07:00
Luke Wagner
562fc49870
Bug 539144 - Make formal args a jit-time const offset from fp; rm argv/argc/thisv/script/callobj (r=brendan,dvander)
2010-08-09 22:43:33 -07:00
Brendan Eich
6ba6389297
Rename freeslot appropriately (593256 separated cosmetics-only patch, r=jorendorff).
2010-09-03 11:05:43 -07:00
Brendan Eich
d7abc9c150
Eliminate JSObject::freeslot via monotonic lastProp->freeslot (592556, r=jorendorff,dvander).
2010-09-02 14:50:44 -07:00
Luke Wagner
273362efd0
Bug 583275 - remove unnecessary unboxing cost of obj->getPrivate() on x64 (r=brendan)
2010-09-10 17:06:30 -07:00
Chris Leary
7c740a8dc0
Back out due to mochiserver breakage. (no_r=me)
2010-09-09 16:52:31 -07:00
Chris Leary
7c2ac56dff
Bug 540675: remove callerVersion from stack frame. (r=lw)
2010-09-09 14:25:30 -07:00
Igor Bukanov
e353306519
bug 588016 - Avoid reporting OOM when background has not finished. r=anygregor
...
--HG--
extra : rebase_source : 7d6b09d93bdc463cf7d06d2cdbe09085fd0e4b4b
2010-09-07 23:08:20 +02:00
Brendan Eich
32e251d137
Wrong behavior setting existing properties to joined function object values (592412, r=jorendorff).
2010-08-31 16:45:34 -07:00
Blake Kaplan
2b71d97594
No bug - Don't assert in js_DumpObject on non-native objects. rs=brendan
2010-09-02 15:59:19 -07:00
Luke Wagner
5e9978f911
Bug 581263 - remove slow natives (r=waldo,mrbkap)
2010-08-16 12:35:04 -07:00
Steve Fink
139d2a2a71
Bug 584175 - Unify various JS probes into a single set of static probe points. r=gal
...
Part 1: Change dtrace-specific names to probes
Part 2: Stop using the frame pointer for probes.
Part 3: Update the set of available probes
r=gal@uci.edu
a=NPOTB
--HG--
rename : js/src/jsdtracef.cpp => js/src/jsprobes.cpp
rename : js/src/jsdtracef.h => js/src/jsprobes.h
2010-09-01 14:09:54 -07:00
Robert Sayre
0308956e29
Backed out changeset e2e1ea2a39ce. (Igor Bukanov – bug 588016 - Avoid reporting OOM when background has not finished. r=anygregor)
2010-09-01 11:24:45 -07:00
Igor Bukanov
3232f601ce
bug 588016 - Avoid reporting OOM when background has not finished. r=anygregor
2010-08-19 21:28:12 +02:00
Brendan Eich
b15d952f7c
Bug 535629 - Deleted properties' slots are not recycled (r=gal).
...
--HG--
extra : rebase_source : 04a8bbd6731e4e9b9d36a5d685c5ee0f87db064e
2010-08-18 11:34:13 -07:00
David Mandelin
5eba7a1580
[JAEGER] Merge from Tracemonkey.
2010-08-31 10:36:08 -07:00
Brendan Eich
85ea65ea98
Bug 592001 - Fix v8-regexp regression in wake of patch for bug 558451 (r=igor, CLOSED TREE).
2010-08-31 07:33:25 -07:00
David Mandelin
de19395f25
[JAEGER] Merge from Tracemonkey.
2010-08-30 15:19:36 -07:00
David Mandelin
3dc48e12b2
[JAEGER] Merge from Tracemonkey.
2010-08-30 15:13:32 -07:00
Igor Bukanov
175710cef6
bug 558451 - followup to fix GCC warnings and link error. "CLOSED TREE"
2010-08-29 23:24:23 +02:00
Brendan Eich
790ddc9e99
Merge JSScope into JSObject and JSScopeProperty (now js::Shape; bug 558451, r=jorendorff).
2010-08-29 11:57:08 -07:00
David Mandelin
78cdeefdf2
[JAEGER] Merge from Tracemonkey.
2010-08-24 11:56:29 -07:00
Nicholas Nethercote
c5586f145a
Bug 578216 - Make eval(json-like string) fast. r=sayrer
2010-08-24 11:50:54 -04:00
Nicholas Nethercote
2ab58fd02d
Backed out changeset 74ce80e8782e
2010-08-23 22:38:19 -07:00
Nicholas Nethercote
7ba153876d
Bug 578216 - Make eval(json-like string) fast. r=sayrer.
2010-08-23 18:13:09 -07:00
Brian Hackett
a4a17593d6
Move cx->fp to cx->regs->fp, bug 588978. r=lw
...
--HG--
extra : rebase_source : 14a90a53ceeb1f65d0ab70eafb5371095535e66f
2010-08-22 16:00:20 -07:00
David Mandelin
02f201cead
[JAEGER] Merge from tracemonkey.
2010-08-23 11:35:14 -07:00
Brian Hackett
53791f1d70
Move cx->fp to cx->regs->fp, bug 588978. r=lw
2010-08-22 16:00:20 -07:00
Jim Blandy
285b03968f
Bug 438633: Give new JSScript objects lifetimes like GCThings. r=brendan
...
Attach script objects immediately in all JSAPI script-creating functions;
have JS_NewScriptObject simply return the already-allocated object; and
make JS_DestroyScript a no-op.
Verify that all scripts given to JSAPI script-consuming functions have
objects, or are the canonical empty script object.
2010-08-20 13:11:05 -07:00
David Mandelin
169803d2d3
[JAEGER] Merge from tracemonkey.
2010-08-19 17:30:04 -07:00
Brian Hackett
2aeb294c19
Interface for JSStackFrame.argc, bug 586533. r=lw
2010-08-19 16:44:12 -07:00