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
Harry Terkelsen
3d00bbf484
Update Angular to da6def3772e22665c381306fd5f8be30a60c2058
...
R=sra@google.com
Review URL: https://codereview.chromium.org//1348033004 .
2015-09-21 18:25:17 -07:00
Terry L. Lucas
87541f5ef5
Few more tests now pass some still have problems
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1362493003 .
2015-09-21 14:26:40 -07:00
John McCutchan
860b9140a7
Add global timeline stream overrides
...
- Needed for the mojo TraceProvider implementation
R=rmacnak@google.com
Review URL: https://codereview.chromium.org//1362503002 .
2015-09-21 14:23:59 -07:00
keertip
578f3df71c
fix comment - add whitespace
...
BUG=
R=sethladd@google.com
Review URL: https://codereview.chromium.org//1343173004 .
2015-09-21 13:03:01 -07:00
Konstantin Shcheglov
f67bc2f546
Replace NameElement with IndexableName.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//1347943006 .
2015-09-21 12:02:34 -07:00
John McCutchan
f6e0a8f30b
Catch unexpected http uri error in service isolate
...
Fixes #24388
R=iposva@google.com
Review URL: https://codereview.chromium.org//1357023004 .
2015-09-21 11:01:34 -07:00
Terry L. Lucas
36f70ac68b
Point to latest change for DevConsole
...
TBR=jacobr@google.com
Review URL: https://codereview.chromium.org//1355753006 .
2015-09-21 10:44:29 -07:00
Konstantin Shcheglov
bd51946e6f
Remove old translated code from DAS.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//1355173002 .
2015-09-21 10:43:35 -07:00
Konstantin Shcheglov
173cb44a85
Add '<!doctype html>' to spec.
...
The new task model's HTML parser reports an error otherwise.
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org//1351323004 .
2015-09-21 10:10:57 -07:00
Konstantin Shcheglov
3aabaa96e6
Fix for a stupid copy/paste bug in the incremental resolver.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//1360583003 .
2015-09-21 09:17:35 -07:00
William Hesse
ecc9b87690
Suppress failing HTML tests on firefox and IE 11.
...
BUG=dartbug.com/24384 dartbug.com/24386 dartbug.com/24387
R=ricow@google.com
Review URL: https://codereview.chromium.org//1350973005 .
2015-09-21 15:30:08 +02:00
Asger Feldthaus
e97d32be50
Revert "dart2js cps: Change type tests to null tests when applicable."
...
This reverts commit 29dedfa97e
.
This triggers an assertion failure.
BUG=
Review URL: https://codereview.chromium.org//1358843002 .
2015-09-21 14:17:54 +02:00
Asger Feldthaus
29dedfa97e
dart2js cps: Change type tests to null tests when applicable.
...
When null is the only value that might fail a type test we can
rewrite it to just compare against null.
R=kmillikin@google.com , sra@google.com
Review URL: https://codereview.chromium.org//1306773005 .
2015-09-21 13:33:16 +02:00
Florian Schneider
2bbf0c61ae
Speedup x64 disassembler to avoid tests timing out.
...
Same change as I already did for ia32.
We don't have a lot of raw addresses embedded in code anymore with the new
calling convention, so this part of the disassembler is not useful anymore.
TBR=rmacnak
Review URL: https://codereview.chromium.org//1347363004 .
2015-09-21 12:56:27 +02:00
Asger Feldthaus
8c6b990305
dart2js cps: Set receiver-nullability in analysis pass.
...
Setting receiverIsNotNull, objectIsNotNull in the analysis pass
simplifies the transformation pass since predicates like
'isSafeForElimination' depend on them.
This would prevent constant folding of array lengths since
GetLength was not marked as safe for elimination at the
time it was considered for constant folding.
BUG=
R=kmillikin@google.com
Review URL: https://codereview.chromium.org//1348233002 .
2015-09-21 12:43:26 +02:00
William Hesse
eee0e77207
Fix obsolete gsutil command in scripts. Delete editor signing script.
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//1353373002 .
2015-09-21 12:18:50 +02:00
Seth Ladd
55fc80e15e
specify when a Future completes for IOSink's addStream
...
BUG=
R=lrn@google.com
Review URL: https://codereview.chromium.org//1342293003 .
2015-09-21 11:57:27 +02:00
Asger Feldthaus
ccb3af54ab
dart2js cps: Set result of 'await' to dynamic instead of empty.
...
BUG=
R=karlklose@google.com
Review URL: https://codereview.chromium.org//1349723002 .
2015-09-21 11:37:39 +02:00
Ryan Macnak
f1a0056430
Load the native call wrapper via Thread.
...
R=fschneider@google.com
Review URL: https://codereview.chromium.org//1358773002 .
2015-09-20 13:48:17 -07:00
Florian Schneider
18faa55764
Fix lazy deoptimization from deferred code.
...
Insert enough padding to ensure enough space for when lazy deoptimization occurs
from the last deferred code object.
Also, speed up ia32 disassembler to avoid tests timing out.
BUG=
TBR=rmacnak@google.com ,
Review URL: https://codereview.chromium.org//1355953002 .
2015-09-19 18:00:36 +02:00
Florian Schneider
bac82e2592
VM: New calling convention for generated code.
...
Instead of calling code object directly, call indirectly and
pass the code object in a register. The object pool is then loaded from
the code object. This is another preparation step for making generated code
relocatable.
All non-ia32 platforms:
No entry patching.
ARM:
PC marker (now code object) moves to the same place as on x64 (below saved PP, above saved FP).
R9 is now used as PP, R10 as CODE_REG.
BUG=
R=koda@google.com , rmacnak@google.com
Committed: 1d343e5a7b
Review URL: https://codereview.chromium.org//1192103004 .
2015-09-19 13:21:09 +02:00
Stephen Adams
19f2296576
Nicer error for JS() form with mismatched arguments.
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//1353243002 .
2015-09-18 18:51:47 -07:00
Stephen Adams
fb740933ee
assert_with_message_test incorrectly suppressed for dart2js
...
Some of the dart2js bots are red due to this.
I'm not sure what the Dartium problem is, considering this is a dart2js-only test.
TBR=terry@google.com
Review URL: https://codereview.chromium.org//1357783002 .
2015-09-18 18:42:15 -07:00
Konstantin Shcheglov
a25cc8129a
Limit cache invalidation by the updated source bounds.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//1355853005 .
2015-09-18 18:11:54 -07:00
Ryan Macnak
f4baf19a4c
Mark dart2js as failing invocation_mirror_empty_arguments_test.
...
BUG=http://dartbug.com/24331
Review URL: https://codereview.chromium.org//1359443006 .
2015-09-18 18:03:17 -07:00
Ryan Macnak
5ee2da4475
Spec says empty namedArguments is const {}, not const <Symbol, dynamic>{}.
...
BUG=http://dartbug.com/24331
R=gbracha@google.com
Review URL: https://codereview.chromium.org//1359503002 .
2015-09-18 17:05:35 -07:00
Stephen Adams
d0c00d2b61
Throw Error on unreachable code rather than throwing a String.
...
Still under a 'flag'.
Enable with:
DART_VM_OPTIONS=-Dunreachable-throw=true <compile>
These tests fail with an [empty] input to createRuntimeType.
DART_VM_OPTIONS=-Dunreachable-throw=true tools/test.py -mrelease -cdart2js -rd8 dart2js_extra/deferred/deferred_mirrors1_test
DART_VM_OPTIONS=-Dunreachable-throw=true tools/test.py -mrelease -cdart2js -rd8 dart2js_extra/mirrors_used_warning2_test
R=sigmund@google.com
Review URL: https://codereview.chromium.org//1355873003 .
2015-09-18 16:54:50 -07:00
Alan Knight
1b12c2c89c
Operator precedence in isJavaScriptSimpleObject
...
BUG=
Review URL: https://codereview.chromium.org//1356653003 .
2015-09-18 14:30:41 -07:00
Terry L. Lucas
0e1c08f304
More tests busted by Dartium JSInterop
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1356463003 .
2015-09-18 13:59:09 -07:00
Alan Knight
7c6439044b
import dart:async in dart2js version of html_common
...
BUG=
Review URL: https://codereview.chromium.org//1354173005 .
2015-09-18 13:50:47 -07:00
Alan Knight
a2b606dd54
isJavaScriptPromise needs to handle Promise not being defined (IE)
...
BUG=
Review URL: https://codereview.chromium.org//1355913002 .
2015-09-18 13:45:33 -07:00
Konstantin Shcheglov
fcb0c319da
Fix for updating HINTS during incremental resolution with TM.
...
The key change is not updating LIBRARY_UNIT_ERRORS in IncrementalResolver.
Otherwise it becomes VALID and we don't recompute it, so don't recompute HINTS.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//1355503004 .
2015-09-18 13:41:09 -07:00
keertip
d6cff42ea5
fix build (TBR)
...
BUG=
Review URL: https://codereview.chromium.org//1353213002 .
2015-09-18 13:35:38 -07:00
keertip
3d37a55dce
remove docgen from the sdk
...
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org//1356943002 .
2015-09-18 13:18:10 -07:00
danrubel
d6051a53a0
refactor ContributionSorter to use new API
...
move CompletionTarget to public API
modify DartCompletionRequest to return completion target
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//1347283005 .
2015-09-18 16:03:22 -04:00
danrubel
9ad1bf1f0e
rename inherited_computer to inherited_contributor (TBR)
...
Review URL: https://codereview.chromium.org//1357003002 .
2015-09-18 15:56:59 -04:00
danrubel
3d05453793
add inherited_computer.dart (TBR)
...
Review URL: https://codereview.chromium.org//1346813005 .
2015-09-18 15:46:56 -04:00
Alan Knight
aebb870b13
Start using the dart2js type conversions in Dartium as well.
...
BUG=
Review URL: https://codereview.chromium.org//1349293006 .
2015-09-18 12:44:36 -07:00
Konstantin Shcheglov
14b726f3e6
Partially fix the cache invalidation problem during incremental resolution.
...
It still takes 90% of total incremental resolution time.
But at least it's not 10 seconds anymore, just 300ms in Analyzer + Server, or 80ms in pure Analyzer.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//1350423002 .
2015-09-18 12:02:30 -07:00
Terry L. Lucas
1b9b77d735
Mark Dartium JSInterop that need to be fixed.
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1352463005 .
2015-09-18 11:39:30 -07:00