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

Side by Side Diff: lib/system/system.dart

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Address ahe's review Created 5 years 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
« no previous file with comments | « DEPS ('k') | pkg/fletchc/lib/fletch_compiler.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Fletch 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 dart.fletch._system; 5 library dart.fletch._system;
6 6
7 import 'dart:_internal' hide Symbol; 7 import 'dart:_internal' hide Symbol;
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:fletch'; 9 import 'dart:fletch';
10 import 'dart:math'; 10 import 'dart:math';
11 11
12 part 'list.dart'; 12 part 'list.dart';
13 part 'map.dart'; 13 part 'map.dart';
14 part 'nsm.dart'; 14 part 'nsm.dart';
15 15
16 const native = "native"; 16 const native = "native";
17 17
18 const patch = "patch";
19
18 const bool enableBigint = 20 const bool enableBigint =
19 const bool.fromEnvironment('fletch.enable-bigint', defaultValue: true); 21 const bool.fromEnvironment('fletch.enable-bigint', defaultValue: true);
20 22
21 // These strings need to be kept in sync with the strings allocated 23 // These strings need to be kept in sync with the strings allocated
22 // for the raw failure objects in src/vm/program.cc. 24 // for the raw failure objects in src/vm/program.cc.
23 const wrongArgumentType = "Wrong argument type."; 25 const wrongArgumentType = "Wrong argument type.";
24 const indexOutOfBounds = "Index out of bounds."; 26 const indexOutOfBounds = "Index out of bounds.";
25 const illegalState = "Illegal state."; 27 const illegalState = "Illegal state.";
26 28
27 // This enum must be kept in sync with the Interpreter::InterruptKind 29 // This enum must be kept in sync with the Interpreter::InterruptKind
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 } 80 }
79 81
80 /// Make the current process yield. Either to allow other fibers to 82 /// Make the current process yield. Either to allow other fibers to
81 /// make progress or to terminate execution. 83 /// make progress or to terminate execution.
82 external yield(int reason); 84 external yield(int reason);
83 85
84 external get nativeError; 86 external get nativeError;
85 87
86 // Change execution to [coroutine], passing along [argument]. 88 // Change execution to [coroutine], passing along [argument].
87 external coroutineChange(coroutine, argument); 89 external coroutineChange(coroutine, argument);
88
89 const patch = "patch";
OLDNEW
« no previous file with comments | « DEPS ('k') | pkg/fletchc/lib/fletch_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698