| OLD | NEW | 
|---|
| 1 // Copyright (c) 2015, the Dartino 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 main() { | 5 main() { | 
| 6   print(""" | 6   print(""" | 
| 7 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 7 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 
| 8 // for details. All rights reserved. Use of this source code is governed by a | 8 // for details. All rights reserved. Use of this source code is governed by a | 
| 9 // BSD-style license that can be found in the LICENSE.md file. | 9 // BSD-style license that can be found in the LICENSE.md file. | 
| 10 | 10 | 
| 11 // WARNING: Generated file, do not edit! | 11 // WARNING: Generated file, do not edit! | 
| 12 | 12 | 
| 13 part of fletch.bytecodes; | 13 part of dartino.bytecodes; | 
| 14 """); | 14 """); | 
| 15 | 15 | 
| 16   print("enum Opcode {"); | 16   print("enum Opcode {"); | 
| 17   doBytecodes((String name, bool isBranching, String format, int size, | 17   doBytecodes((String name, bool isBranching, String format, int size, | 
| 18                spDiff, String formatString) { | 18                spDiff, String formatString) { | 
| 19     print("  $name,"); | 19     print("  $name,"); | 
| 20   }); | 20   }); | 
| 21   print("}"); | 21   print("}"); | 
| 22 | 22 | 
| 23   doBytecodes((String name, bool isBranching, String format, int size, | 23   doBytecodes((String name, bool isBranching, String format, int size, | 
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 238   V("IdenticalNonNumeric",   true,    "",   1,       -1, "identical non numeric"
     ); | 238   V("IdenticalNonNumeric",   true,    "",   1,       -1, "identical non numeric"
     ); | 
| 239 | 239 | 
| 240   V("EnterNoSuchMethod",     true,    "B",  2, kVarDiff, "enter noSuchMethod +%d
     "); | 240   V("EnterNoSuchMethod",     true,    "B",  2, kVarDiff, "enter noSuchMethod +%d
     "); | 
| 241   V("ExitNoSuchMethod",      true,    "",   1,       -1, "exit noSuchMethod"); | 241   V("ExitNoSuchMethod",      true,    "",   1,       -1, "exit noSuchMethod"); | 
| 242 | 242 | 
| 243   INVOKES_DO(V, "Unfold", "unfold "); | 243   INVOKES_DO(V, "Unfold", "unfold "); | 
| 244   V("LoadConst",            false,    "I",  5,        1, "load const @%d"); | 244   V("LoadConst",            false,    "I",  5,        1, "load const @%d"); | 
| 245 | 245 | 
| 246   V("MethodEnd",            false,    "I",  5,        0, "method end %d"); | 246   V("MethodEnd",            false,    "I",  5,        0, "method end %d"); | 
| 247 } | 247 } | 
| OLD | NEW | 
|---|