Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Side by Side Diff: sdk/bin/dart2js

Issue 12386030: - Remove the --no-use-inlining flag as it is not beneficial as the compiled programs grow. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/bin/dart2js.bat » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 function follow_links() { 6 function follow_links() {
7 while [ -h "$1" ]; do 7 while [ -h "$1" ]; do
8 # On Mac OS, readlink -f doesn't work. 8 # On Mac OS, readlink -f doesn't work.
9 1="$(readlink "$1")" 9 1="$(readlink "$1")"
10 done 10 done
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 echo Using snapshot "$SNAPSHOT" 1>&2 44 echo Using snapshot "$SNAPSHOT" 1>&2
45 EXTRA_VM_OPTIONS[${#EXTRA_VM_OPTIONS[@]}]="--use-script-snapshot=$SNAPSHOT" 45 EXTRA_VM_OPTIONS[${#EXTRA_VM_OPTIONS[@]}]="--use-script-snapshot=$SNAPSHOT"
46 fi 46 fi
47 47
48 # Tell the VM to grow the heap more aggressively. This should only 48 # Tell the VM to grow the heap more aggressively. This should only
49 # be necessary temporarily until the VM is better at detecting how 49 # be necessary temporarily until the VM is better at detecting how
50 # applications use memory. 50 # applications use memory.
51 # TODO(ahe): Remove this option (http://dartbug.com/6495). 51 # TODO(ahe): Remove this option (http://dartbug.com/6495).
52 EXTRA_VM_OPTIONS[${#EXTRA_VM_OPTIONS[@]}]='--heap_growth_rate=512' 52 EXTRA_VM_OPTIONS[${#EXTRA_VM_OPTIONS[@]}]='--heap_growth_rate=512'
53 53
54 # Tell the VM to don't bother inlining methods. So far inlining isn't
55 # paying off but the VM team is working on fixing that.
56 # TODO(ahe): Remove this option (http://dartbug.com/6495).
57 EXTRA_VM_OPTIONS[${#EXTRA_VM_OPTIONS[@]}]='--no_use_inlining'
58
59 case $0 in 54 case $0 in
60 *_developer) 55 *_developer)
61 EXTRA_VM_OPTIONS[${#EXTRA_VM_OPTIONS[@]}]='--checked' 56 EXTRA_VM_OPTIONS[${#EXTRA_VM_OPTIONS[@]}]='--checked'
62 ;; 57 ;;
63 esac 58 esac
64 59
65 exec "$DART" "${EXTRA_VM_OPTIONS[@]}" "$DART2JS" "${EXTRA_OPTIONS[@]}" "$@" 60 exec "$DART" "${EXTRA_VM_OPTIONS[@]}" "$DART2JS" "${EXTRA_OPTIONS[@]}" "$@"
OLDNEW
« no previous file with comments | « no previous file | sdk/bin/dart2js.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698