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

Side by Side Diff: pkg/dartino_compiler/lib/generate_bytecodes.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 months 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
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/dartino_compiler/lib/debug_state.dart ('k') | pkg/dartino_compiler/lib/generated_bytecodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698