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

Side by Side Diff: dart/frog/minfrogc.dart

Issue 9111012: Detect crashes in frog/leg (when running on VM). (Closed) Base URL: ssh://aaricia.aar/home/ahe/Dart/all/dart.googlecode.com.git@master
Patch Set: Fix mistake in status file Created 8 years, 11 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
« no previous file with comments | « dart/frog/frogc.dart ('k') | dart/frog/scripts/bootstrap/frog_wrapper.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #library('minfrogc'); 5 #library('minfrogc');
6 6
7 #import('file_system_vm.dart'); 7 #import('file_system_vm.dart');
8 #import('lang.dart'); 8 #import('lang.dart');
9 9
10 main() { 10 main() {
(...skipping 11 matching lines...) Expand all
22 22
23 // TODO(dgrove) we're simulating node by placing the arguments to frogc 23 // TODO(dgrove) we're simulating node by placing the arguments to frogc
24 // starting at index 2. 24 // starting at index 2.
25 argv.insertRange(0, 2, null); 25 argv.insertRange(0, 2, null);
26 26
27 // TODO(dgrove) Until we have a way of getting the executable's path, we'll 27 // TODO(dgrove) Until we have a way of getting the executable's path, we'll
28 // run from '.' 28 // run from '.'
29 var homedir = (new File('.')).fullPathSync(); 29 var homedir = (new File('.')).fullPathSync();
30 30
31 if (!compile(homedir, argv, new VMFileSystem())) { 31 if (!compile(homedir, argv, new VMFileSystem())) {
32 throw "Compilation failed"; 32 print("Compilation failed");
33 exit(1);
33 } 34 }
34 } 35 }
OLDNEW
« no previous file with comments | « dart/frog/frogc.dart ('k') | dart/frog/scripts/bootstrap/frog_wrapper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698