Commit Graph

16293 Commits

Author SHA1 Message Date
Brian Hackett
42f96c43bb [INFER] Fail compilation rather than assert if a constant pool is dumped while generating an IC, bug 669715. 2011-09-15 12:11:03 -07:00
Brian Hackett
df83129530 [INFER] Backout bug 685358. 2011-09-14 22:09:40 -07:00
Hari R
82b52e08fa Bug 684083 - Avoid null dereference when using Components.utils.getWeakReference(undefined). r=mrbkap 2011-09-14 23:13:00 -04:00
Kyle Huey
0bf2dfd277 Merge m-c to b-s. 2011-09-14 08:45:54 -07:00
Brian Hackett
dc9404d8a6 [INFER] Fix code discarding for JM+TM integration, bug 685358. 2011-09-13 15:01:46 -07:00
Chris Leary
12c65c3fc1 Fix SpiderMonkey build warning.
--HG--
extra : rebase_source : dfb62c170abef907f3584697cf5d40b37f93be5a
2011-09-14 17:43:02 -07:00
Chris Leary
d8356af29a Bug 670049 - JSParseNode accessors. (r=dherman)
--HG--
extra : rebase_source : c83d7bafafe951e2365573c459e2fab2d5ba4362
2011-09-13 22:32:14 -07:00
Chris Leary
fa6b47ea65 Bug 685025 - Shell should be able to read from stdin. (r=brendan)
--HG--
extra : rebase_source : 9ddc8e09ddb00baa50bccef395330f846a2ce531
2011-09-14 17:00:59 -07:00
Tom Schuster
22acbaaabb Bug 686323: Put JSOP_DIV logic into its own function r=dvander
--HG--
extra : rebase_source : 782f70b7af3d8f0866517f17af23c4c4d11fb9cd
2011-09-14 20:47:08 +02:00
Makoto Kato
8ef06ea553 Bug 686418 - [INFER] PIC doesn't work on Win64 after bug 557358. r=bhackett 2011-09-13 16:23:42 +09:00
Jonathan Kew
9ad3a411a2 bug 686317 - fix format string/argument list mismatches in ARMAssembler.h. r=cdleary 2011-09-14 08:05:51 +01:00
Brian Hackett
ba1711afe3 [INFER] Fix red. 2011-09-12 12:46:24 -07:00
Brian Hackett
cb6667a21f Merge MC->JM 2011-09-12 12:42:13 -07:00
Brian Hackett
67e19477d5 [INFER] Fix orange. 2011-09-12 12:16:43 -07:00
Ehsan Akhgari
cccd5e8563 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-12 09:46:06 -04:00
Brian Hackett
ef62105951 [INFER] Fix orange. 2011-09-12 00:31:38 -07:00
Brian Hackett
e8687ad96d [INFER] Fix bogus assert, bug 686179. 2011-09-11 23:06:52 -07:00
Brian Hackett
d8a567c773 [INFER] Remove bogus assert, bug 686178. 2011-09-11 22:38:33 -07:00
Brian Hackett
bd9939fb3a [INFER] Don't use loop registers for entries whose representation changed due to a jump into the loop, bug 684824. 2011-09-11 22:36:04 -07:00
Brian Hackett
093c919b57 [INFER] Don't update 'this' types of a script during compilation, bug 684084 (round 2). 2011-09-11 21:56:47 -07:00
Olli Pettay
9efa44eaaa Bug 685798 - Node.parentElement, r=bz 2011-09-11 15:45:39 -07:00
Brian Hackett
17dee4bbc0 [INFER] Fix orange. 2011-09-11 11:49:27 -07:00
Kyle Huey
775e4bf54d Merge m-c to b-s. 2011-09-11 05:32:38 -04:00
Brian Hackett
0436b790e1 [INFER] Fix orange. 2011-09-11 01:12:04 -07:00
Brian Hackett
773360dcfa [INFER] Fix orange. 2011-09-11 00:21:15 -07:00
Brian Hackett
833d891bce [INFER] Allow inlined frames to call native functions from ICs, bug 683804. 2011-09-10 22:03:01 +02:00
Brian Hackett
18acc6e41b [INFER] Check result type of property access stubcalls in jitcode, bug 686000. 2011-09-10 09:58:41 +02:00
Alex Vincent
91dcbea388 Bug 684465 - Add Reflect.parse support to xpcshell, r=jorendorff, bz 2011-09-09 15:11:00 -07:00
Phil Ringnalda
15200cf8ef Remove trailing space from 52550df07858 (bug 684559) which is turning the tree red 2011-09-09 18:29:59 -07:00
Brian Hackett
d3435e89d8 [INFER] Always maintain a synced interpreter stack for method JIT stub calls, bug 685358. 2011-09-09 21:55:57 +02:00
Brian Hackett
ceb94a57c3 [INFER] Fix some TI ARM bustage, bug 669715. 2011-09-08 18:11:19 -07:00
Marty Rosenberg
ee37a2f0c3 Stop using emitInst to emit vfp instructions, bug 684404. 2011-09-08 17:48:50 -07:00
Marty Rosenberg
6a4f2efa1f Reset the number of instructions since the last flush even when we don't flush anything, bug 669715. 2011-09-08 17:47:12 -07:00
Brian Hackett
70706ec50e [INFER] Don't resolve NAME accesses which are on the DeclEnv of named lambdas, bug 685313. 2011-09-08 17:44:17 -07:00
Jacek Caban
6a65818e8b Bug 686117 - Port TI assembly changes to mingw-w64 variant [r=dvander, NPOTB, DONTBUILD] 2011-09-14 16:12:15 +02:00
Oleg Romashin
ebc7020bfe Bug 584217 - Add Meego Touch based filepicker implementation. r=jeremias.bosch,florian.haenel 2011-09-14 14:16:28 +01:00
Brian Hackett
0238320401 Fix inverted test, use the right id when calling getter hooks, bug 557358. 2011-09-08 14:24:10 -07:00
Brian Hackett
f5364430bd Merge MC->JM 2011-09-08 09:59:59 -07:00
Brian Hackett
8091e24a60 Don't try to generate getter ICs when fusing GETPROP, bug 557358. 2011-09-08 09:36:55 -07:00
Brian Hackett
05d0d8b18d Don't mark bytecodes accessing getter ops when inside an imacro, bug 557358. 2011-09-07 22:43:06 -07:00
Nicholas Nethercote
f30f41ec0b Update nanojit-import-rev stamp. 2011-09-07 21:37:54 -07:00
Nicholas Nethercote
c3b5cb830c Bug 676585 - fix JS compilation for Darwin/ARM. r=edwsmith.
--HG--
extra : convert_revision : d66d2e24ef1688e3b6d47e824354f5a78ac22487
2011-09-07 21:31:33 -07:00
Phil Ringnalda
7adb586a3d Back out 240cfe9e5c2c (bug 675150) for Win7 debug xpcshell failures 2011-09-07 21:22:40 -07:00
Steve Fink
f3bd051686 Bug 686571 - Check for jit->pcLengths before using (r=bhackett) 2011-09-07 17:25:25 -07:00
Steve Fink
d375e9cba8 Bug 684713 - Match full function name when giving JS shell help messages (r=cdleary)
--HG--
extra : rebase_source : 20c5e3748e7918cc19c13c09d732cc8560188762
2011-09-08 11:25:06 -07:00
Mounir Lamouri
8cd289fd81 Bug 686350 - Check in configure script that the selected Android SDK is correct. r=glandium 2011-09-13 15:35:23 -07:00
Makoto Kato
d84a97500d Bug 685468 - warnaserr: js/src/jsinterp.cpp(6176) : warning C4805: '&=' : unsafe mix of type 'JSBool' and type 'bool' in operation. r=luke 2011-09-13 18:08:17 +09:00
julian.reschke@greenbytes.de
d194959f71 Bug 272541: Empty disposition type treated as 'attachment'. r=jduell 2011-09-12 20:14:16 -07:00
Igor Bukanov
eea4ae40cb bug 686279 - fixing GCC 4.6 warnings under js/src. r=luke 2011-09-12 11:43:47 +02:00
Jan de Mooij
e4413a9223 Bug 686106 - Don't allocate an extra register for JSOP_MUL with constant operand. r=bhackett 2011-09-12 19:23:25 +02:00
Cameron Kaiser
1270c81714 Bug 684559: bring back PCRE for JavaScript regexps on systems without YARR JIT because it's faster than YARR's interpreter. r=dmandelin 2011-09-07 17:05:59 -07:00
Ed Morley
64619d9a1c Bug 609431 - Fix various LNK4221 MSVC warnings in js/src/Makefile.in; r=khuey 2011-09-18 20:00:07 +01:00
Rafael Ávila de Espíndola
28388b7197 Bug 674647 - Set MOZ_CAN_RUN_PROGRAMS in mozconfig.leopard and propagate it. r=khuey.
This patch sets MOZ_CAN_RUN_PROGRAMS in mozconfig.leopard so that the build
system knows it can run programs when producing 32 bit dmg files in a 64 bit
host (10.6).

The patch also propagates MOZ_CAN_RUN_PROGRAMS from the configure system to
Makefile.
2011-09-18 14:43:31 -04:00
Kyle Huey
614dad33a3 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Ehsan Akhgari
dd1857e2c4 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-07 10:06:22 -04:00
Brian Hackett
1dcd09ac35 [INFER] Fix red. 2011-09-07 03:56:20 -07:00
Makoto Kato
bd63f07b96 Bug 684670 - js\src\vm/Debugger.h(406) : warning C4099: 'JSCompartment' : type name first seen using 'struct' now seen using 'class'. r=jorendorff 2011-09-07 16:29:00 +09:00
Makoto Kato
5bfd2ec82f Bug 684664 - js\src\methodjit\BaseAssembler.h(1282) : warning C4146: unary minus operator applied to unsigned type, result still unsigned. r=bhackett 2011-09-07 16:17:55 +09:00
Brian Hackett
bed272d8a5 [INFER] Don't require JS_SplicePrototype to be passed an object with singleton type, bug 683999. 2011-09-06 22:52:38 -07:00
Brian Hackett
0f6bc04a42 [INFER] Ensure type/prototype are preserved when cloning functions at method barriers, bug 683714. 2011-09-06 22:49:47 -07:00
Brian Hackett
cb731565aa [INFER] Don't check for invariant copy preservation in stack entries popped by REJOIN_NONE calls, bug 684943. r=dvander 2011-09-06 22:46:01 -07:00
Brian Hackett
63289b3360 PIC for GETPROP and CALLPROP on JSPropertyOp properties, bug 557358. r=dvander 2011-09-06 22:34:23 -07:00
Nicholas Nethercote
c199e54b1d Bug 684111 - Remove codePool and notePool. r=cdleary. 2011-09-06 19:12:09 -07:00
Nicholas Nethercote
67aaf6921c Bug 684111 - use a limit instead of a mask to detect when the srcnotes buffer is full. r=cdleary. 2011-09-06 19:12:09 -07:00
Nicholas Nethercote
382d6589f2 Bug 684111 - remove an unused parameter from EmitCheck. r=cdleary. 2011-09-06 19:12:08 -07:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Felix Fung
1efc4b73a9 Bug 577266 - Correct misspellings in source code: 'verion' -> 'version' 2011-09-06 22:50:26 -07:00
Nicholas Nethercote
35e556c14e Bug 684799 - Measure slop in more JS memory reporters. r=dmandelin. 2011-09-07 18:41:38 -07:00
Nicholas Nethercote
db7b97785d Update nanojit-import-rev stamp. 2011-09-07 18:21:00 -07:00
Nicholas Nethercote
734053d291 Bug 684799 - Measure slop in more JS memory reporters (NJ-specific part). r=edwsmith.
--HG--
extra : convert_revision : 3fb37580d1ffd01f3f391d3852b14e0a34e57cb7
2011-09-07 18:15:04 -07:00
Brian Hackett
20031f4613 Merge MC->JM 2011-09-06 14:53:24 -07:00
Brian Hackett
4b4c3e28d4 [INFER] Fix red. 2011-09-06 03:08:29 -07:00
Makoto Kato
8062289b5c Bug 684771 - js/src/jsscript.cpp(300) : warning C4309: 'specialization' : truncation of constant value. r=wmccloskey 2011-09-06 17:54:36 +09:00
Makoto Kato
338eb1d1c6 Bug 684674 - js/src/methodjit/FastBuiltins.cpp(511) : warning C4146: unary minus operator applied to unsigned type, result still unsigned. r=bhackett 2011-09-06 17:44:36 +09:00
Brian Hackett
a21793c57d Merge MC->JM 2011-09-06 00:45:22 -07:00
Brian Hackett
85997e5de5 [INFER] Fix test failures. 2011-09-05 09:05:45 -07:00
Brian Hackett
c80c38c904 [INFER] Fix bug 684623. 2011-09-05 07:34:27 -07:00
Brian Hackett
dc782a5ed8 [INFER] Allow uncopies of loop temporaries after backedges, bug 684621. 2011-09-05 07:33:06 -07:00
Brian Hackett
fb7cef441c [INFER] Fix bug 684594. 2011-09-05 07:31:30 -07:00
Brian Hackett
d78ee3ef8a [INFER] Fix test for when double entries need to be forgotten after branching to a location their type is unknown, bug 684576. 2011-09-05 07:29:51 -07:00
Makoto Kato
034ac0e327 Bug 684662 - js\src\methodjit/MethodJIT.h(690) : warning C4305: 'argument' : truncation from 'js::MaybeConstruct' to 'bool'. r=bhackett 2011-09-05 20:10:54 +09:00
Atul Aggarwal
18ab676d77 Bug 458722 - gcc warning mainly 64 bit: src/xpcconvert.cpp:1931: warning: comparison is always false due to limited range of data type; r=bz 2011-09-05 10:29:06 +01:00
Atul Aggarwal
f0303a7fa5 Bug 581474 - Possible uninitialized variable use in nsXPCWrappedJS::GetNewOrUsed; r=mrbkap 2011-09-05 10:29:06 +01:00
Makoto Kato
50edfd4f34 Bug 684666 - js/src/methodjit/MonoIC.cpp:1357:51: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'. r=bhackett 2011-09-05 17:22:44 +09:00
Nicholas Nethercote
fb390fb055 Bug 676732 - Fix Windows bustage caused by 7fb15a645955. 2011-09-04 21:58:19 -07:00
Makoto Kato
010d6b4185 Bug 663748 - js shell doesn't sometimes output exceptions on Win64. r=luke 2011-09-05 11:24:48 +09:00
Nicholas Nethercote
5164fb3ecf Bug 676732 - Measure and/or avoid slop in important JS memory reporters. r=dmandelin. 2011-09-04 18:32:50 -07:00
Ed Morley
59e8ad1ced Merge mozilla-central to mozilla-inbound 2011-09-05 01:18:16 +01:00
Nicholas Nethercote
2b9241092a Bug 684180 - Avoid wasted space caused by AssemblerBuffer's growth strategy. r=dvander. 2011-09-04 16:09:56 -07:00
Brian Hackett
2ac6308262 [INFER] Fix bogus assert, allow Disassemble() to be called during GC/arena traversal, bug 684281. 2011-09-04 13:34:38 -07:00
Brian Hackett
27f0eb5880 [INFER] Always clear jitcode during GC with inference enabled, bug 683227. r=dvander 2011-09-04 13:34:08 -07:00
Brian Hackett
799c6dfea0 Don't try to recompile scripts when clearing traps during GC, bug 683966. 2011-09-04 13:33:33 -07:00
Brian Hackett
4c2126dce8 [INFER] Compiler types should reflect inferred types for JSOP_THIS in scripts which have not executed, bug 684084. 2011-09-04 13:33:04 -07:00
Brian Hackett
59c6ee6694 [INFER] Don't swap newTypes for objects during TradeGuts, bug 684348. r=billm 2011-09-04 13:32:13 -07:00
Brian Hackett
c58767db1c [IFER] Fix red. 2011-09-04 13:17:50 -07:00
Ed Morley
6a60e22cca Merge mozilla-central and mozilla-inbound 2011-09-04 20:56:01 +01:00
Terrence Cole
9e219e8b92 Bug 646597 - Remove unneeded #ifdef DEBUG: use DebugOnly instead; r=bhackett
Assignment to a DebugOnly variable results in a call to either the empty
'operator =' or to an empty implicit 1-arg constructor and empty copy
constructor when in non-debug mode.  Either of these get inlined and
eliminated as dead code above -00, so there is no benefit to skipping
this assignment for non-debug builds.
2011-09-04 13:58:00 +01:00
Jan de Mooij
7900111d6f Bug 670493 - Refactor and optimize booleanJumpScript. r=bhackett 2011-09-03 22:23:33 +02:00
Brian Hackett
4797355341 [INFER] Don't use invalid activeCall when finishing an outer function frame, detect nesting in parents which add scope objects earlier, bug 663138. 2011-09-03 11:04:45 -07:00
Rafael Ávila de Espíndola
a8c970acc2 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.
2011-09-03 13:36:18 -04:00