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

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

Issue 9086010: closure calls (just the invocation part). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add test 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | frog/leg/namer.dart » ('j') | frog/leg/resolver.dart » ('J')
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('leg'); 5 #library('leg');
6 6
7 #import('io/io.dart', prefix: 'io'); 7 #import('io/io.dart', prefix: 'io');
8 8
9 #import('elements/elements.dart'); 9 #import('elements/elements.dart');
10 #import('scanner/scannerlib.dart'); 10 #import('scanner/scannerlib.dart');
11 #import('scanner/scanner_implementation.dart'); 11 #import('scanner/scanner_implementation.dart');
12 #import('ssa/ssa.dart'); 12 #import('ssa/ssa.dart');
13 #import('tree/tree.dart'); 13 #import('tree/tree.dart');
14 #import('util/util.dart'); 14 #import('util/util.dart');
15 15
16 #source('compiler.dart'); 16 #source('compiler.dart');
17 #source('resolver.dart'); 17 #source('resolver.dart');
18 #source('script.dart'); 18 #source('script.dart');
19 #source('tree_validator.dart'); 19 #source('tree_validator.dart');
20 #source('typechecker.dart'); 20 #source('typechecker.dart');
21 #source('universe.dart'); 21 #source('universe.dart');
22 #source('warnings.dart'); 22 #source('warnings.dart');
23 #source('emitter.dart'); 23 #source('emitter.dart');
24 #source('namer.dart'); 24 #source('namer.dart');
25 25
26 final bool GENERATE_SSA_TRACE = false; 26 final bool GENERATE_SSA_TRACE = false;
27 27
28 void unreachable() { 28 void unreachable([msg = "UNREACHABLE"]) {
kasperl 2012/01/05 07:01:52 msg -> message
floitsch 2012/01/05 12:18:38 Done.
ngeoffray 2012/01/05 14:05:46 Since we'll get rid of this method, I suggest you
floitsch 2012/01/24 13:28:37 Done.
29 throw const Exception("Internal Error (Leg): UNREACHABLE"); 29 throw new Exception("Internal Error (Leg): $msg");
30 } 30 }
OLDNEW
« no previous file with comments | « no previous file | frog/leg/namer.dart » ('j') | frog/leg/resolver.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698