OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library fletchc.compiled_function; | 5 library fletchc.compiled_function; |
6 | 6 |
7 import 'package:compiler/src/constants/values.dart' show | 7 import 'package:compiler/src/constants/values.dart' show |
8 ConstantValue; | 8 ConstantValue; |
9 | 9 |
10 import 'package:compiler/src/elements/elements.dart'; | 10 import 'package:compiler/src/elements/elements.dart'; |
11 | 11 |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 } | 165 } |
166 sb.writeln(" #$index: $constant"); | 166 sb.writeln(" #$index: $constant"); |
167 }); | 167 }); |
168 | 168 |
169 sb.writeln("Bytecodes (${assembler.byteSize} bytes):"); | 169 sb.writeln("Bytecodes (${assembler.byteSize} bytes):"); |
170 Bytecode.prettyPrint(sb, assembler.bytecodes); | 170 Bytecode.prettyPrint(sb, assembler.bytecodes); |
171 | 171 |
172 return '$sb'; | 172 return '$sb'; |
173 } | 173 } |
174 } | 174 } |
OLD | NEW |