Commit Graph

325 Commits

Author SHA1 Message Date
Jim Blandy
0d6cdd1921 Bug 514585: Use bitfields in JSScript instead of a flag word. r=brendan
This is behavior-neutral cleanup in preparation for the real patch.
2009-10-08 10:29:03 -07:00
Brendan Eich
4034373007 Don't cache an 'adding' entry on a duplicate JSOP_INITPROP (520161, r=jorendorff). 2009-10-02 11:54:41 -07:00
Igor Bukanov
79b9eab8cb bug 520046 - eliminating "uintN flags" parameter from js_NewSomeGCThing functions. r=brendan 2009-10-02 12:21:19 +04:00
Blake Kaplan
5845b2458a Add a trace test and a requested comment for bug 519129. 2009-09-29 16:38:00 -07:00
Blake Kaplan
754d0cad8e Fix Zimbra indirect eval crash. r=brendan 2009-09-29 10:03:42 -07:00
Blake Kaplan
eb16f9a84d Bug 495325 - Follow ES about indirect eval being global eval. r=brendan/igor
--HG--
extra : rebase_source : 397bd79f787fc6d079fea1b2433a8e262626ca46
2009-08-17 18:08:20 -07:00
Robert Sayre
14ef91c61f Merge mozilla-central to tracemonkey. 2009-09-25 11:55:38 -07:00
Igor Bukanov
27c2d57074 bug 517749 - removal of weakRoots.newborn = null. r=mrbkap 2009-09-25 16:30:11 +04:00
Jeff Walden
d13f5937b4 Bug 518731 - Ensure the count of non-hole elements in the array returned by Object.keys(O) is correct. r=mrbkap 2009-09-24 17:38:32 -07:00
David Mandelin
99fb23d064 Bug 511695: Fix JS warnings in MSVC8, r=brendan 2009-09-23 11:16:30 -07:00
Jeff Walden
3b1976c31a Try to fix redness on one Mac tinderbox, r=red
--HG--
extra : rebase_source : cfaeae4518917131658367f4d9f7c98cf829f767
2009-09-22 16:46:13 -07:00
Jeff Walden
553915decf Bug 307791 - Implement ES5's Object.keys(O). r=jorendorff 2009-09-08 15:59:14 -07:00
Jeff Walden
9c93800f2c Bug 516329 - Defining a non-enumerable getter-or-setter property over an enumerable getter-or-setter property loses non-enumerability. r=brendan, hail=jorendorff for jsapi-tests 2009-09-14 13:02:36 -07:00
Igor Bukanov
8da9fad53a bug 512046 - avoid maintaing a per-runtime iterator list. r=brendan 2009-09-19 13:40:43 +04:00
Jason Orendorff
b74384b5c8 Backed out changeset 3f508cfdfa36 (bug 500431) due to tinderbox orangeness 2009-09-18 08:55:01 -05:00
Jason Orendorff
b040e5c724 Bug 500431 - Encapsulate the property cache using C++ best practices - Part 2, refactoring. r=Waldo. 2009-09-17 18:24:38 -05:00
Andreas Gal
38b0ee0297 Backed out changeset 5f449dffdff5 (regressed tp4 private bytes, and we are not sure what the hell that means). 2009-09-17 15:40:37 -07:00
Andreas Gal
4b2f3150ab Use one single GC heap chunk, avoiding frequent mmap and malloc calls (508707, r=igor,brendan). 2009-09-15 14:29:01 -07:00
Brendan Eich
eaabbf253c Bug 516075 - Move shape into JSObjectMap from JSScope, const-ipate and use LIR_ldc* to get to it (r=jorendorff). 2009-09-14 20:29:46 -04:00
Luke Wagner
854c0294df Bug 412571 - replace thisp with thisv (r=brendan,mrbkap) 2009-09-11 19:07:00 -07:00
Benjamin Smedberg
124c9c8007 Bug 517278 - JS_REQUIRES_STACK errors (jsobj.cpp and jstracer.cpp), r=jorendorff 2009-09-18 09:36:51 -04:00
Blake Kaplan
3ad62940d0 Backed out changeset 5f449dffdff5. Trying to fix Tp4 heap size regression. 2009-09-17 15:27:04 -07:00
Brendan Eich
706bd30498 Fix js*inlines.h harder (515628, r=jorendorff). 2009-09-10 10:23:52 -07:00
Jason Orendorff
4e3fc88ef8 Fix release-only linker error introduced by changeset 08ab547f6808 (having to do with jsscriptinlines.h). r=red. 2009-09-10 11:50:43 -05:00
Igor Bukanov
8b5938706b bug 440834 - do not cache enumerators when object shape overflowed. r=brendan 2009-09-10 15:59:43 +04:00
Brendan Eich
016b0f207a Bug 514981 - JSStackFrame::sharp{Array,Depth} should be locals allocated due to #n[#=] usage (r=igor). 2009-09-09 20:21:15 -07:00
Jeff Walden
9deeafc1b0 Fix filename in comment to kick a tinderbox, r=red 2009-09-09 17:23:42 -07:00
Jeff Walden
fcb571fda5 Fix initialization, r=bustage 2009-09-09 17:00:26 -07:00
Jason Orendorff
b53824855d Bug 513119 - Change JSScript macros to methods. r=Waldo. 2009-09-09 18:52:55 -05:00
Jason Orendorff
1a7723b3aa Fix compile bustage from changeset b7ee9263cf96. Trivial fix. r=red. 2009-09-09 18:52:40 -05:00
Jeff Walden
c8f686672d Bug 505587 - Implement ES5 Object.getOwnPropertyDescriptor. r=mrbkap 2009-07-21 19:35:59 -07:00
Jason Orendorff
e170e4b573 Bug 511728 - Misc. cleanup from bug 503080. r=igor.
--HG--
extra : rebase_source : f4b7b385bbece2316912ce67c77a49ac8fca6e5c
2009-09-09 15:53:37 -05:00
Igor Bukanov
6bfe4771cc bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
Brendan Eich
b347b52323 Minimal fix for latent js_InferFlags bug where TR::snapshot calls js_InferFlags on arbitrary ops (514790, r=gal). 2009-09-04 17:47:23 -07:00
Luke Wagner
6bfe9f9329 Bug 460904 - rename/tweak JSTraceableFunction (take 2) 2009-09-04 13:44:31 -07:00
Luke Wagner
3087376a4d Backed out changeset 94da2f68afdb 2009-09-04 11:35:52 -07:00
Luke Wagner
52d822b6d2 Bug 460904 - rename/tweak JSTraceableFunction (r=jorendorff) 2009-09-03 11:57:14 -07:00
Brendan Eich
cce4dce512 Join lambdas assigned or initialized as methods to the compiler-created function object if we can, with a read barrier to clone on method value extractions other than call expressions (471214, r=jorendorff). 2009-09-03 14:41:19 -07:00
Jason Orendorff
d41212b7a6 Bug 514222 - js_GetMutableScope gives the scope a unique shape. r=brendan. 2009-09-02 17:58:25 -05:00
Igor Bukanov
932b904a7a bug 511425 - followup to fix bogus assert 2009-08-30 22:07:19 +04:00
Andreas Gal
c85b53a42a Backout bug 512617. 2009-08-29 18:46:27 -07:00
Andreas Gal
64328a8e94 Consolidate object creation on trace (512617, r=jorendorff). 2009-08-29 12:36:00 -07:00
Igor Bukanov
b919139e8d bug 511425 - removal of JSObjectOps.(get|set)RequiredSlot. r=brendan 2009-08-28 09:53:26 +04:00
Blake Kaplan
6060f8e476 No bug - Fix warning when tracing is not on. r=jorendorff
--HG--
extra : rebase_source : f1733190a19f19d37665eb8d3db2427fed69b5ee
2009-08-25 14:18:12 -07:00
Jason Orendorff
dafc9b5d2a Bug 508685 - Remove last parameter of defineProperty op. r=brendan. 2009-08-26 14:28:36 -07:00
Brendan Eich
b063d31520 Back out changeset aff171a8c4f0 (bug 471214). 2009-08-26 09:34:41 -07:00
Brendan Eich
bd8f55c0ad Join function objects where possible (471214, r=igor). 2009-08-25 23:42:37 -07:00
Andreas Gal
d2459a75f9 Merge. 2009-08-25 14:43:09 -07:00
Andreas Gal
030a8114b2 Backed out changeset 9b6b17a275ec (bug 506125). 2009-08-25 14:42:42 -07:00
David Anderson
e322e64001 Removed JSStackFrame::xmlNamespace (bug 512389, r=brendan). 2009-08-25 12:07:45 -07:00