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

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

Issue 8993009: Implement string interpolation up to SSA. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address (some) review comments and update status file Created 9 years 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 | « dart/frog/leg/scanner/scanner.dart ('k') | dart/frog/leg/tools/find_file_to_parse.sh » ('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 class SsaBuilderTask extends CompilerTask { 5 class SsaBuilderTask extends CompilerTask {
6 SsaBuilderTask(Compiler compiler) : super(compiler); 6 SsaBuilderTask(Compiler compiler) : super(compiler);
7 String get name() => 'SSA builder'; 7 String get name() => 'SSA builder';
8 8
9 HGraph build(FunctionElement element, TreeElements elements) { 9 HGraph build(FunctionElement element, TreeElements elements) {
10 return measure(() { 10 return measure(() {
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 HBasicBlock joinBlock = addNewBlock(); 947 HBasicBlock joinBlock = addNewBlock();
948 thenBlock.addSuccessor(joinBlock); 948 thenBlock.addSuccessor(joinBlock);
949 elseBlock.addSuccessor(joinBlock); 949 elseBlock.addSuccessor(joinBlock);
950 open(joinBlock); 950 open(joinBlock);
951 951
952 definitions = joinDefinitions(joinBlock, thenDefinitions, definitions); 952 definitions = joinDefinitions(joinBlock, thenDefinitions, definitions);
953 HPhi phi = new HPhi.manyInputs(null, [thenInstruction, elseInstruction]); 953 HPhi phi = new HPhi.manyInputs(null, [thenInstruction, elseInstruction]);
954 joinBlock.addPhi(phi); 954 joinBlock.addPhi(phi);
955 stack.add(phi); 955 stack.add(phi);
956 } 956 }
957
958 visitStringInterpolation(StringInterpolation node) {
959 compiler.unimplemented('SsaBuilder.visitStringInterpolation', node: node);
960 }
961
962 visitStringInterpolationPart(StringInterpolationPart node) {
963 compiler.unimplemented('SsaBuilder.visitStringInterpolationPart',
964 node: node);
965 }
957 } 966 }
OLDNEW
« no previous file with comments | « dart/frog/leg/scanner/scanner.dart ('k') | dart/frog/leg/tools/find_file_to_parse.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698