| 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.program_info; | 5 library fletchc.program_info; |
| 6 | 6 |
| 7 import 'dart:async' show | 7 import 'dart:async' show |
| 8 Future, | 8 Future, |
| 9 Stream, | 9 Stream, |
| 10 StreamSink; | 10 StreamSink; |
| 11 | 11 |
| (...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 867 Configuration _getConfiguration(bits, floatOrDouble) { | 867 Configuration _getConfiguration(bits, floatOrDouble) { |
| 868 if (bits == '64') { | 868 if (bits == '64') { |
| 869 if (floatOrDouble == 'float') return Configuration.Offset64BitsFloat; | 869 if (floatOrDouble == 'float') return Configuration.Offset64BitsFloat; |
| 870 else if (floatOrDouble == 'double') return Configuration.Offset64BitsDouble; | 870 else if (floatOrDouble == 'double') return Configuration.Offset64BitsDouble; |
| 871 } else if (bits == '32') { | 871 } else if (bits == '32') { |
| 872 if (floatOrDouble == 'float') return Configuration.Offset32BitsFloat; | 872 if (floatOrDouble == 'float') return Configuration.Offset32BitsFloat; |
| 873 else if (floatOrDouble == 'double') return Configuration.Offset32BitsDouble; | 873 else if (floatOrDouble == 'double') return Configuration.Offset32BitsDouble; |
| 874 } | 874 } |
| 875 throw 'Invalid arguments'; | 875 throw 'Invalid arguments'; |
| 876 } | 876 } |
| OLD | NEW |