Index: tools/precompilation/create_instructions_snapshot_assembly.dart |
diff --git a/tools/precompilation/create_instructions_snapshot_assembly.dart b/tools/precompilation/create_instructions_snapshot_assembly.dart |
deleted file mode 100644 |
index 98cccb26db7563c27700d15b5c16a27d902500f9..0000000000000000000000000000000000000000 |
--- a/tools/precompilation/create_instructions_snapshot_assembly.dart |
+++ /dev/null |
@@ -1,21 +0,0 @@ |
-import 'dart:io'; |
- |
-void main(List<String> args) { |
- print(args[0]); |
- print(args[1]); |
- |
- var bytes = new File(args[0]).readAsBytesSync(); |
- print(bytes.length); |
- |
- var out = new StringBuffer(); |
- out.writeln(".text"); |
- out.writeln(" .globl _kInstructionsSnapshot"); |
- out.writeln("_kInstructionsSnapshot:"); |
- out.writeln(" .balign 32, 0"); |
- for (var i = 0; i < bytes.length; i++) { |
- var byte = bytes[i]; |
- out.writeln(" .byte $byte"); |
- } |
- |
- new File(args[1]).writeAsString(out.toString()); |
-} |