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

Side by Side Diff: runtime/lib/core_patch.dart

Issue 2451623006: Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." (Closed)
Patch Set: Fix Created 4 years, 1 month 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 | « runtime/lib/compact_hash.dart ('k') | runtime/lib/developer.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import "dart:async";
6 import "dart:collection" show LinkedList, LinkedListEntry;
7 import 'dart:convert' show ASCII, JSON;
8 import "dart:isolate";
5 import "dart:math"; 9 import "dart:math";
6 import "dart:typed_data"; 10 import "dart:typed_data";
11 import 'dart:_internal' as internal;
7 12
8 // Equivalent of calling FATAL from C++ code. 13 // Equivalent of calling FATAL from C++ code.
9 _fatal(msg) native "DartCore_fatal"; 14 _fatal(msg) native "DartCore_fatal";
10 15
11 // The members of this class are cloned and added to each class that 16 // The members of this class are cloned and added to each class that
12 // represents an enum type. 17 // represents an enum type.
13 class _EnumHelper { 18 class _EnumHelper {
14 String _name; 19 String _name;
15 String toString() => _name; 20 String toString() => _name;
16 int get hashCode => _name.hashCode; 21 int get hashCode => _name.hashCode;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 continue; 76 continue;
72 } 77 }
73 return true; 78 return true;
74 } 79 }
75 } 80 }
76 } 81 }
77 82
78 @patch class StackTrace { 83 @patch class StackTrace {
79 @patch static StackTrace get current native "StackTrace_current"; 84 @patch static StackTrace get current native "StackTrace_current";
80 } 85 }
OLDNEW
« no previous file with comments | « runtime/lib/compact_hash.dart ('k') | runtime/lib/developer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698