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

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

Issue 2455593002: Revert "Merge more Kernel infrastructure from kernel_sdk SDK fork." (Closed)
Patch Set: 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";
9 import "dart:math"; 5 import "dart:math";
10 import "dart:typed_data"; 6 import "dart:typed_data";
11 import 'dart:_internal' as internal;
12 7
13 // Equivalent of calling FATAL from C++ code. 8 // Equivalent of calling FATAL from C++ code.
14 _fatal(msg) native "DartCore_fatal"; 9 _fatal(msg) native "DartCore_fatal";
15 10
16 // The members of this class are cloned and added to each class that 11 // The members of this class are cloned and added to each class that
17 // represents an enum type. 12 // represents an enum type.
18 class _EnumHelper { 13 class _EnumHelper {
19 String _name; 14 String _name;
20 String toString() => _name; 15 String toString() => _name;
21 int get hashCode => _name.hashCode; 16 int get hashCode => _name.hashCode;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 continue; 71 continue;
77 } 72 }
78 return true; 73 return true;
79 } 74 }
80 } 75 }
81 } 76 }
82 77
83 @patch class StackTrace { 78 @patch class StackTrace {
84 @patch static StackTrace get current native "StackTrace_current"; 79 @patch static StackTrace get current native "StackTrace_current";
85 } 80 }
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