Bill McCloskey
68588bf424
Remove call to dis() in tests
2011-05-18 11:06:17 -07:00
Bill McCloskey
601bf94f18
Bug 634090 - Make jstests and jit-tests handle timeout better (r=dmandelin)
2011-05-18 10:30:56 -07:00
Bill McCloskey
e623b63357
Bug 656555 - Handle JSOP_TRAP inside JSOP_LAMBDA (r=dmandelin)
2011-05-18 10:30:47 -07:00
Bill McCloskey
88f9a88fb1
Bug 656381 - Handle JSOP_TRAP when looking up block chain (r=dmandelin)
2011-05-18 10:30:39 -07:00
Igor Bukanov
678c5b61b2
bug 657227 - followup to fix the regression test not to throw an exception.
2011-05-18 15:31:48 +02:00
Igor Bukanov
cad92af0cc
bug 657227 - IsCacheableProtoChain must check for a null proto. r=dvander
2011-05-18 14:26:22 +02:00
Paul Biggar
c556ef313c
Backed out changeset e0288c977846 (bug 600522) due to windows oranges.
2011-05-17 05:23:21 -07:00
Dirkjan Ochtman
e5dbb597d1
Bug 600522 - Force TZ to US/Pacific for jit tests [r=pbiggar]
2011-05-16 21:11:54 +02:00
Luke Wagner
bb15eadb74
Back out 33d8b418732b for causing Talos dromaeo_css crash
2011-05-10 18:49:27 -07:00
Luke Wagner
1bf189f3f2
Fix test added by 33d8b418732b to not hit quota on 64-bit (r=orange)
...
--HG--
rename : js/src/jit-test/tests/test-apply-many-args.js => js/src/jit-test/tests/basic/test-apply-many-args.js
rename : js/src/jit-test/tests/testCrossGlobalInvokeSession.js => js/src/jit-test/tests/basic/testCrossGlobalInvokeSession.js
2011-05-10 11:33:26 -07:00
Luke Wagner
8145c1e4e2
Bug 653785 - Properly compute stack quota in bumpLimit (r=dvander)
2011-05-10 09:51:53 -07:00
Paul Biggar
1cd5ff1908
Backed out changeset 0c6254cb818d (bug 652593) due to PROCESS-CRASH orange in M(oth).
2011-05-09 09:50:36 -07:00
Paul Biggar
9c572e750b
Bug 652593: Remove compound GET*PROP opcodes, to fix strict warnings (r=bhackett,dao)
...
The undefined property strict-mode warning was missed under some compound
opcodes. JM had removed those opcodes, and so the warnings appeared. This
ports the opcode remove to TM, fixing the warnings.
Bug 647626 removed the compound opcodes from JM, as they made type-inference
and the JITs more complex, for a minor speed impact (see
https://bugzilla.mozilla.org/show_bug.cgi?id=647626#c6 for benchmarks).
This also fixes the strict mode warnings that appeared in the browser as a
result of the fix.
2011-05-09 07:37:37 -07:00
Paul Biggar
b7a5a9115b
Bug 653153: Fix the parseInt fast path doubles above 1e21 (r=jwalden)
...
The spec says parseInt needs to convert to a string before being converted to
an integer. For 1e+21 (and greater), ToString uses exponential notation:
"1e+21", which get's parsed as 1. The existing parseInt fast path for doubles
converted it directly into an integer, giving the result 1e21. The fix adds a
bounds check to see if the exponential notation is triggered, and still uses
the fast path if not.
2011-05-07 05:31:59 -07:00
Paul Biggar
4d87b14d7d
Bug 654073: Mark StopIteration as a class with no prototype. (r=jwalden)
...
This prevents infinite recursion when trying to initialize StopIteration.
2011-05-03 12:31:02 -07:00
Luke Wagner
4023060e30
Bug 653396 - Include JS_ARGS_LENGTH_MAX check in SplatApplyArgs (r=waldo)
2011-05-03 17:34:07 +07:00
Paul Biggar
e4d6748cc4
Bug 642772: Don't recreate a class during enumeration, if it has been deleted (r=bhackett)
...
In SM, classes are lazily resolved. If we detect that a class about to be used
has not yet been resolved, then we resolve it. However, the way that we decided
that they were resolved was broken. If the global object had a String property,
then it had been resolved. So what happened when we deleted the String
property? Well, it got resolved again.
Instead of using the String property of the global object, we now use the
contructor slot on the global object. This works fine for String, but some
classes don't have a constructor, like Math and JSON. For those classes, we set
the constructor slot to True. In either case, we can now tell that a class is
resolved if the constructor slot in not Undefined.
2011-04-27 04:13:56 -07:00
Jan de Mooij
e7219c101f
Bug 646938 - Fix NaN-check in jsop_stricteq. r=dvander
2011-04-26 10:29:00 +02:00
Tom Schuster
de983504ce
Bug 202019 - Objects with [[Call]] arent automatically constructbale r=jorendorff
2011-04-26 00:28:30 +02:00
Jan de Mooij
035e5c1537
Bug 652060 - Fix double check in JSVAL_SAME_TYPE_IMPL on 64-bit. r=luke
2011-04-23 09:49:59 +02:00
Jason Orendorff
7c1bcbce33
Backed out changeset e02df4a05968 due to orange.
2011-04-20 16:10:38 -05:00
Tom Schuster
479dc912bc
Bug 202019 - Built-in functions should not be constructors. r=jorendorff.
...
--HG--
extra : rebase_source : 2f845218384004c09a60c59ae03704729f1d91dc
2011-04-20 13:22:57 -05:00
Luke Wagner
475caef8f2
Bug 647425 - Don't try to use js_PrototypeHasIndexedProperties in GetElements; its wrong for arguments objects (r=waldo)
2011-04-07 20:35:02 -07:00
Paul Biggar
f3da85ac7e
Bug 642298: Add jitflags to tinderbox output. (r=dmandelin)
2011-04-01 21:12:07 -07:00
David Mandelin
125dbc8ece
Bug 645184: normalize id in addprop IC handler, r=dvander
2011-03-30 16:57:44 -07:00
Luke Wagner
f37c253b7f
Bug 636224 - rm cx->interpLevel and TSF_ERROR (r=brendan)
...
--HG--
extra : rebase_source : 682e496d3fad9454b0279aff9bfd4c1bcf50055c
2011-03-23 14:33:02 -07:00
Jeff Walden
a0e982d7d2
Bug 639343 - Slight adjustment to how typed-array properties are handled in the tracer. r=dvander
2011-03-18 17:57:17 -07:00
Nicholas Nethercote
89190c0bb0
Bug 626398 - A decision to abort in the tracer gets lost. r=dmandelin.
2011-03-25 09:02:01 +11:00
Igor Bukanov
6990aee491
Bug 633219 - replacing resolve hashtable with a linked list. r=luke
2011-03-07 23:00:00 +01:00
Jim Blandy
ce11400fbc
Bug 554955: Revert test and assertion changes from bug 633890. r=jorendorff
...
At present, AssertValidPropertyCacheHit doesn't catch most property cache
failures. I would like to fix it, but doing so makes
jit-test/tests/basic/bug633890.js fail with a C++ assertion, not a JS shell
assertion, which jit-test/jit_test.py can't handle.
I think it's important to have AssertValidPropertyCacheHit doing its job;
it would have caught problems like bug 554955 earlier. Since bug633890.js
is a known failure (bug 458271), deleting it doesn't reduce coverage.
This patch deletes that test. A later patch in the series fixes
AssertValidPropertyCacheHit.
2011-03-15 12:18:35 -07:00
Brian Hackett
9a20a2ba1d
Deoptimize name accesses within XML filters, bug 605200. r=brendan
2011-03-07 18:16:54 -08:00
Brian Hackett
779fedb80b
Backout b1f8f4f84662
2011-03-07 16:43:26 -08:00
Brian Hackett
00777d1240
Deoptimize name accesses within XML filters, bug 605200. r=brendan
2011-03-07 15:31:17 -08:00
Jan de Mooij
c2a4d22511
Bug 628073 - Compile JSOP_CASE in the methodjit (r=dvander)
...
--HG--
extra : rebase_source : b08711e0550ee1addab6126fd9329a7cc3e894bc
2011-03-07 11:27:43 -08:00
Brian Hackett
8b14aaf92b
Cleanup analysis state to avoid bogus assert, bug 616170. r=dvander
2011-03-04 10:56:18 -08:00
Nicholas Nethercote
0517757fd5
Bug 629858 - improve a strict warning message. r=jwalden.
2011-03-03 16:27:07 -08:00
Jeff Walden
f6da9cb49a
Bug 582717 - Make regular expressions not callable. r=brendan
...
--HG--
extra : rebase_source : 31508fd037fea395d4e1bbacd868e77f2f7a17a9
2011-03-01 09:59:37 -08:00
Jeff Walden
b7b5222619
Bug 637385 - Don't try to trace through a bindname in strict mode eval code. r=dvander
...
--HG--
extra : rebase_source : 5964a8007566005cdc6a2bda9b69c99cb0d4c728
2011-03-01 09:59:37 -08:00
Andreas Gal
a5500a0ce1
Merge.
2011-03-01 17:42:50 -08:00
haytjes
f328b7b2da
Bug 635005: new RegExp(undefined) works like new RegExp(''). (r=cdleary, a=jst)
2011-03-01 17:36:54 -08:00
Nicholas Nethercote
e3ce73e36f
Bug 635155 - Get full JIT-tests coverage back. r=dmandelin, a=beltzner/npotb.
2011-02-28 16:17:05 -08:00
David Mandelin
1ec8dc20b1
Bug 636820 relanding: Use new |this| computation in mjit implementation of callgname, r=dvander,gal, a=blocking
2011-02-25 19:07:32 -08:00
David Mandelin
ab54915f93
Bug 636820 relanding: Use new |this| computation in mjit implementation of callgname, r=dvander,gal, a=blocking
2011-02-25 19:07:32 -08:00
Luke Wagner
56cb551f05
Bug 637397 - Set runtime debug mode in js shell with -d (r=sfink,a=npotb)
...
--HG--
extra : rebase_source : fd6868299f8998769eaaa5a7a985296099c8961d
2011-02-28 13:05:29 -08:00
David Mandelin
8da7f1614f
Backed out changeset 672a84576ca6 -- tinderbox build bustage
2011-02-28 12:08:57 -08:00
David Mandelin
8e2207d22a
Bug 636820: Use new |this| computation in mjit implementation of callgname, r=dvander,gal, a=blocking
2011-02-25 19:07:32 -08:00
Robert Sayre
ccbfde2165
Merge mozilla-central to tracemonkey.
2011-02-26 19:36:09 -08:00
Luke Wagner
35220d90f3
Bug 619565 - Fix activation object handling by InvokeSessionGuard (r=waldo,a=shaver)
...
--HG--
extra : rebase_source : 24e4d6ecf1cb9696fda7468eb631f13d92d7ab7a
2011-02-24 12:34:33 -08:00
David Mandelin
dd55c56f06
Allow -a to be passed with jitflags in jit-tests, NPOTB
2011-02-25 13:09:58 -08:00
David Mandelin
9fec2fde54
Bug 625417: fix detection of ?-quantified groups for empty-match rule in regexes, r=dvander, a=blocking
2011-02-25 11:06:31 -08:00