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

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

Issue 10545031: Fix checked mode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | lib/compiler/implementation/ssa/builder.dart » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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('mock_compiler'); 5 #library('mock_compiler');
6 6
7 #import("dart:uri"); 7 #import("dart:uri");
8 8
9 #import("../../../lib/compiler/implementation/elements/elements.dart"); 9 #import("../../../lib/compiler/implementation/elements/elements.dart");
10 #import("../../../lib/compiler/implementation/leg.dart"); 10 #import("../../../lib/compiler/implementation/leg.dart");
(...skipping 16 matching lines...) Expand all
27 ltB() {} leB() {} eqB() {} gtB() {} geB() {} eqNullB(a) {} 27 ltB() {} leB() {} eqB() {} gtB() {} geB() {} eqNullB(a) {}
28 iae(x) {throw x;} ioore(x) {throw x;} 28 iae(x) {throw x;} ioore(x) {throw x;}
29 guard$array(x) { return x; } 29 guard$array(x) { return x; }
30 guard$num(x) { return x; } 30 guard$num(x) { return x; }
31 guard$string(x) { return x; } 31 guard$string(x) { return x; }
32 guard$stringOrArray(x) { return x; } 32 guard$stringOrArray(x) { return x; }
33 index(a, index) {} 33 index(a, index) {}
34 indexSet(a, index, value) {} 34 indexSet(a, index, value) {}
35 setRuntimeTypeInfo(a, b) {} 35 setRuntimeTypeInfo(a, b) {}
36 getRuntimeTypeInfo(a) {} 36 getRuntimeTypeInfo(a) {}
37 stringConcat() {} 37 S() {}''';
38 stringToString() {}''';
39 38
40 final String DEFAULT_INTERCEPTORSLIB = @''' 39 final String DEFAULT_INTERCEPTORSLIB = @'''
41 add$1(receiver, value) {} 40 add$1(receiver, value) {}
42 get$length(receiver) {} 41 get$length(receiver) {}
43 filter(receiver, predicate) {} 42 filter(receiver, predicate) {}
44 removeLast(receiver) {} 43 removeLast(receiver) {}
45 iterator(receiver) {} 44 iterator(receiver) {}
46 next(receiver) {} 45 next(receiver) {}
47 hasNext(receiver) {}'''; 46 hasNext(receiver) {}''';
48 47
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 importLibrary(library, compiler.coreLibrary, compiler); 198 importLibrary(library, compiler.coreLibrary, compiler);
200 return library; 199 return library;
201 } 200 }
202 201
203 class StringScript extends Script { 202 class StringScript extends Script {
204 final String code; 203 final String code;
205 StringScript(this.code) : super(null, null); 204 StringScript(this.code) : super(null, null);
206 String get text() => code; 205 String get text() => code;
207 String get name() => "mock script"; 206 String get name() => "mock script";
208 } 207 }
OLDNEW
« no previous file with comments | « no previous file | lib/compiler/implementation/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698