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

Side by Side Diff: pkg/dartino_compiler/lib/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 library fletch.bytecodes; 5 library dartino.bytecodes;
6 6
7 import 'dart:typed_data' show 7 import 'dart:typed_data' show
8 ByteData, 8 ByteData,
9 Endianness, 9 Endianness,
10 Uint8List; 10 Uint8List;
11 11
12 part 'generated_bytecodes.dart'; 12 part 'generated_bytecodes.dart';
13 13
14 const int VAR_DIFF = 0x3FFFFFFF; 14 const int VAR_DIFF = 0x3FFFFFFF;
15 15
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void addUint64(int value) { 88 void addUint64(int value) {
89 growBytes(8); 89 growBytes(8);
90 view.setUint64(position, value, Endianness.LITTLE_ENDIAN); 90 view.setUint64(position, value, Endianness.LITTLE_ENDIAN);
91 position += 8; 91 position += 8;
92 } 92 }
93 93
94 void sendOn(Sink<List<int>> sink) { 94 void sendOn(Sink<List<int>> sink) {
95 sink.add(new Uint8List.view(list.buffer, list.offsetInBytes, position)); 95 sink.add(new Uint8List.view(list.buffer, list.offsetInBytes, position));
96 } 96 }
97 } 97 }
OLDNEW
« no previous file with comments | « pkg/dartino_compiler/lib/back_trace.dart ('k') | pkg/dartino_compiler/lib/dartino_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698