Commit graph

33767 commits

Author SHA1 Message Date
Ryan Macnak
d4fa240a25 Address static warning about service library's Isolate hiding dart:isolate's Isolate.
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1364903002 .
2015-09-23 14:05:55 -07:00
John McCutchan
dca52b0eb1 Fix observatory_tool so it works in mojo tree again
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1360263002 .
2015-09-23 13:55:06 -07:00
Ryan Macnak
c6d5e4796e Fail sooner and with better error message when attempting precompilation on IA32.
Allocate megamorphic cache table in old space.

R=srdjan@google.com

Review URL: https://codereview.chromium.org//1357423005 .
2015-09-23 13:47:31 -07:00
pq
d869088ea3 Error handling for bad .analysis_options files.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1364813003 .
2015-09-23 13:27:19 -07:00
Ryan Macnak
f6021d0608 Let the embedder provide entry points to Dart_Precompile.
R=srdjan@google.com

Review URL: https://codereview.chromium.org//1359963002 .
2015-09-23 13:18:56 -07:00
Ryan Macnak
8c44721965 Don't emit the lazy deopt sequence when we can't deopt.
Saves 3.2% of instructions size for precompiled hello world on ARM.

R=fschneider@google.com

Review URL: https://codereview.chromium.org//1367573002 .
2015-09-23 12:27:52 -07:00
Todd Turnidge
66f9abc7e3 Refactor isolate interrupts to use OOB messages instead of interrupt bits.
Closes #24349

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1344993002 .
2015-09-23 12:13:25 -07:00
pq
8e3b555fc5 Bump analyzer to publish plugin config API.
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1366683003 .
2015-09-23 11:20:53 -07:00
Ryan Macnak
6732c05f6e Write the contents of ICData and ObjectPools more eagerly and the contents of Code and Functions less eagerly.
Fix read/write mismatch in ClosureData.

Fixes precompiled dart2js benchmarks.

R=fschneider@google.com

Review URL: https://codereview.chromium.org//1345053003 .
2015-09-23 11:12:15 -07:00
pq
7ff04709e7 Plugin config cleanup.
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1366663002 .
2015-09-23 10:44:02 -07:00
Konstantin Shcheglov
6899986bfe Use TypeSystem in the 'Extract Method' refactoring.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1364803003 .
2015-09-23 10:28:50 -07:00
keertip
18b68f7290 remove docgen remnants from repo, update CHANGELOG
BUG=
R=alanknight@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//1361163002 .
2015-09-23 10:27:15 -07:00
Konstantin Shcheglov
5fd8b38737 Tweak navigation for 'part of' directives.
This makes it consistent with import/export/part directives, where only URIs are navigation sources.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1365663002 .
2015-09-23 10:14:49 -07:00
pq
e2ec118554 Plugin config format validation (and tests).
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1362033002 .
2015-09-23 09:51:29 -07:00
Leaf Petersen
ff86501c85 This adds support for a DDC special case of inline JS. It also addresses an issue from an earlier CL, makes some readability improvements, and eliminates some now-redundant TODOs.
BUG=
R=scheglov@google.com, vsm@google.com

Review URL: https://codereview.chromium.org//1355393003 .
2015-09-23 08:58:04 -07:00
Konstantin Shcheglov
27a8bbd415 Reset Source modification stamp to -1 if it does not exist.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1361003002 .
2015-09-23 08:20:12 -07:00
Konstantin Shcheglov
4aa6466ccb Use IndexContributor(s) in LocalIndex.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1359113002 .
2015-09-23 08:17:33 -07:00
Brian Wilkerson
7aa459affd Add more performance data
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1363653005 .
2015-09-23 07:44:44 -07:00
Brian Wilkerson
45a81cbab4 Fix a repeated spelling error
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1361833003 .
2015-09-23 07:44:05 -07:00
Florian Schneider
4ce88c68c3 Temporily update status of SIMD test for ARM.
This test contains denormalized numbers as expected results. As long as we use NEON
instructions which always use flush-to-zero mode, we will get 0.0 as
a result for these operations.

BUG=dartbug.com/24416
R=whesse@google.com

Review URL: https://codereview.chromium.org//1359353002 .
2015-09-23 14:08:02 +02:00
Sigurd
1c3dd67408 Avoid warning when using return; from sync* and async* functions.
Fixes https://github.com/dart-lang/sdk/issues/24406

R=johnniwinther@google.com

Committed: 75f80a204b
Reverted: 8163c4a141

Review URL: https://codereview.chromium.org//1367433002 .
2015-09-23 13:50:56 +02:00
Sigurd
8163c4a141 Revert "Avoid warning when using return; from sync* and async* functions."
This reverts commit 75f80a204b.

BUG=

Review URL: https://codereview.chromium.org//1361813003 .
2015-09-23 12:21:52 +02:00
Florian Loitsch
f36b8aa4e4 dart2js: Make sure that super classes have their inheritance chain set up correctly.
This bug was only happening for the --fast-startup.
For most browsers we simply change the '__proto__' and the order wouldn't be important. However, for the other browsers we have to do it in order.

R=sigmund@google.com

Review URL: https://codereview.chromium.org//1347423003 .
2015-09-23 11:48:18 +02:00
Florian Loitsch
eb2878c830 dart2js: isExtensible can throw for bad objects.
Guard the call to Object.isExtensible when trying to set a property on JS objects.

R=sra@google.com

Review URL: https://codereview.chromium.org//1364473002 .
2015-09-23 11:41:55 +02:00
Lasse R.H. Nielsen
4e94938f7e Fix some cases where Map.containsValue did not accept Object as argument.
Add tests.
Also remove a left-over check in SplayTreeMap.

BUG= https://github.com/dart-lang/dev_compiler/issues/344
R=wibling@google.com

Review URL: https://codereview.chromium.org//1360053003 .
2015-09-23 11:26:55 +02:00
Sigurd
75f80a204b Avoid warning when using return; from sync* and async* functions.
Fixes https://github.com/dart-lang/sdk/issues/24406

R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//1367433002 .
2015-09-23 11:07:31 +02:00
Karl Klose
e28e578731 dart2js cps: Support sync* and yield.
R=asgerf@google.com, kmillikin@google.com

Review URL: https://codereview.chromium.org//1353843002 .
2015-09-23 11:01:34 +02:00
Rico Wind
bcfbfdfed3 Move VERSION file location into top level variable
This will allow for easier overwriting

R=ahe@google.com, whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1359293002 .
2015-09-23 08:45:30 +02:00
Stephen Adams
03c3d2fde8 Update .status files for recent dart2js fixes
https://codereview.chromium.org//1362553002 fixed some printing issues.

BUG= https://github.com/dart-lang/sdk/issues/24397

TBR=whesse@google.com

Review URL: https://codereview.chromium.org//1365553002 .
2015-09-22 20:15:34 -07:00
pq
d2f4a19fa6 Import cleanup.
R=brianwilkerson@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//1364583002 .
2015-09-22 17:06:55 -07:00
pq
f4c3b30d8a Basic plugin config parsing.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1364493004 .
2015-09-22 17:06:14 -07:00
Alan Knight
43155e60fb Fix a couple of suppressions
BUG=

Review URL: https://codereview.chromium.org//1359163002 .
2015-09-22 15:43:59 -07:00
keertip
c775149a5a remove docgen source and targets from build
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//1364553002 .
2015-09-22 15:10:18 -07:00
Stephen Adams
5612c202a0 dart2js runtime: Harden objectTypeName.
1. Avoid crashing on short minified names.
2. Try to find a better name for external JavaScript classes.
3. Try to find a better name for undistingushed native classes.

BUG= http://dartbug.com/24393

This is related to http://dartbug.com/19137

R=sigmund@google.com

Review URL: https://codereview.chromium.org//1362553002 .
2015-09-22 14:46:14 -07:00
Leaf Petersen
4fe661995d Add additional strong mode inference. This adds in all the remaining inference cases from the strong mode RestrictedStaticTypeAnalyzer.
BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1352763004 .
2015-09-22 14:03:08 -07:00
Alan Knight
b246af4656 Remove suppressions for many failing firefox tests, issue for one new one
BUG=

Review URL: https://codereview.chromium.org//1361703003 .
2015-09-22 13:08:35 -07:00
Konstantin Shcheglov
531f1d1e5b Extract Dart specific node management into DartUnitIndexObjectManager.
We want to be able to index not just CompilationUnitElement(s), but also
for example results of Angular resolution, which while are based on resolved
CompilationUnit(s), are not ready together with it, so should live in separate
split index nodes.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1359023002 .
2015-09-22 12:26:41 -07:00
Brian Wilkerson
163ad75127 Fix status pages when running new task model
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1351243003 .
2015-09-22 11:03:56 -07:00
John McCutchan
59ecb80998 Add API to get the VM global timeline
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1360813002 .
2015-09-22 10:53:24 -07:00
pq
f02dd6b82c Unused import cleanup.
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1349393004 .
2015-09-22 09:49:16 -07:00
keertip
895abbf8dd rev up dartdoc, markdown
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org//1360823002 .
2015-09-22 09:44:56 -07:00
Alan Knight
0568fa8679 Omit extra argument to createElement/NS if null
BUG=

Review URL: https://codereview.chromium.org//1345413004 .
2015-09-22 09:28:38 -07:00
Florian Schneider
60b4e00770 VM: Intrinsify some common SIMD methods to speed up precompiled SIMD code.
This speeds up precompiled code using SIMD (around 2x on Tracer).

Also fix printing of recognized methods which was off-by-one.

BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1347203005 .
2015-09-22 18:28:01 +02:00
Terry L. Lucas
847847dd95 Fixed typo and test that passes and fails in checked mode
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org//1350903008 .
2015-09-22 07:59:37 -07:00
William Hesse
c04db16af6 Fix typo in >= operator.
BUG=
TBR=kevmoo

Review URL: https://codereview.chromium.org//1359813002 .
2015-09-22 14:49:03 +02:00
Kevin Moore
6012e9070d SDK gyp: support Xcode V7
R=whesse@google.com

Review URL: https://codereview.chromium.org//1343393004 .
2015-09-22 14:21:20 +02:00
William Hesse
cd33fc4346 Update dart2js status for failing tests
BUG=dartbug.com/24398 24396 24397
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//1363563002 .
2015-09-22 14:09:23 +02:00
Lasse R.H. Nielsen
232a9d687e Add "environment" parameter to spawnUri for String.fromEnvironment support.
This completes the parameters corresponding to official command line parameters
for the VM/dart2js.

R=floitsch@google.com, iposva@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//1350053002 .
2015-09-22 12:29:40 +02:00
Florian Loitsch
5461f0f5cd dart2js: Don't return null from void functions.
R=sigmund@google.com

Review URL: https://codereview.chromium.org//1348573004 .
2015-09-22 11:10:33 +02:00
Vijay Menon
a7f4f744b3 Bump dev_compiler to 0.1.8 in sdk
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//1354173006 .
2015-09-21 19:45:13 -07:00