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

Side by Side Diff: pkg/compiler/lib/src/ssa/builder.dart

Issue 687973002: Copy dart2js source into pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | « pkg/compiler/lib/src/source_map_builder.dart ('k') | pkg/compiler/lib/src/ssa/codegen.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 part of ssa; 5 part of ssa;
6 6
7 /// A synthetic local variable only used with the SSA graph. 7 /// A synthetic local variable only used with the SSA graph.
8 /// 8 ///
9 /// For instance used for holding return value of function or the exception of a 9 /// For instance used for holding return value of function or the exception of a
10 /// try-catch statement. 10 /// try-catch statement.
(...skipping 6547 matching lines...) Expand 10 before | Expand all | Expand 10 after
6558 if (unaliased is TypedefType) throw 'unable to unalias $type'; 6558 if (unaliased is TypedefType) throw 'unable to unalias $type';
6559 unaliased.accept(this, builder); 6559 unaliased.accept(this, builder);
6560 } 6560 }
6561 6561
6562 void visitDynamicType(DynamicType type, SsaBuilder builder) { 6562 void visitDynamicType(DynamicType type, SsaBuilder builder) {
6563 JavaScriptBackend backend = builder.compiler.backend; 6563 JavaScriptBackend backend = builder.compiler.backend;
6564 ClassElement cls = backend.findHelper('DynamicRuntimeType'); 6564 ClassElement cls = backend.findHelper('DynamicRuntimeType');
6565 builder.push(new HDynamicType(type, new TypeMask.exact(cls, classWorld))); 6565 builder.push(new HDynamicType(type, new TypeMask.exact(cls, classWorld)));
6566 } 6566 }
6567 } 6567 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/source_map_builder.dart ('k') | pkg/compiler/lib/src/ssa/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698