Index: dart/sdk/bin/dart2js |
diff --git a/dart/sdk/bin/dart2js b/dart/sdk/bin/dart2js |
index 2baaba762ffef2f09f8722b7fe25e6cdd24faaef..04a316ef32a13941c3237664def2e8a9e93dc1a8 100755 |
--- a/dart/sdk/bin/dart2js |
+++ b/dart/sdk/bin/dart2js |
@@ -24,7 +24,7 @@ DART2JS="$SDK_DIR/lib/_internal/compiler/implementation/dart2js.dart" |
DART="$BIN_DIR/dart" |
SNAPSHOT_DIR="$BIN_DIR/snapshots" |
-SNAPSHOT="$SNAPSHOT_DIR/utils_wrapper.dart.snapshot" |
+SNAPSHOT="$SNAPSHOT_DIR/dart2js.dart.snapshot" |
unset EXTRA_OPTIONS |
declare -a EXTRA_OPTIONS |
@@ -57,8 +57,7 @@ case $0 in |
esac |
if test -f "$SNAPSHOT"; then |
- exec "$DART" "${EXTRA_VM_OPTIONS[@]}" "$SNAPSHOT" "dart2js" \ |
- "${EXTRA_OPTIONS[@]}" "$@" |
+ exec "$DART" "${EXTRA_VM_OPTIONS[@]}" "$SNAPSHOT" "${EXTRA_OPTIONS[@]}" "$@" |
else |
exec "$DART" "${EXTRA_VM_OPTIONS[@]}" "$DART2JS" "${EXTRA_OPTIONS[@]}" "$@" |
fi |