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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/lib/interceptors.dart

Issue 12220013: Fix braino in SSA optimizer and add a test for it. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 library _interceptors; 5 library _interceptors;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:collection-dev'; 8 import 'dart:collection-dev';
9 import 'dart:_js_helper' show allMatchesInStringUnchecked, 9 import 'dart:_js_helper' show allMatchesInStringUnchecked,
10 Null, 10 Null,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 /** 79 /**
80 * The interceptor class for [Null]. 80 * The interceptor class for [Null].
81 */ 81 */
82 class JSNull implements Null { 82 class JSNull implements Null {
83 const JSNull(); 83 const JSNull();
84 84
85 // Note: if you change this, also change the function [S]. 85 // Note: if you change this, also change the function [S].
86 String toString() => 'null'; 86 String toString() => 'null';
87 87
88 int get hashCode => 0; 88 int get hashCode => 0;
89 Type get runtimeType => createRuntimeType('Null'); 89 Type get runtimeType => Null;
90 } 90 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698