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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/constants.dart

Issue 99303004: Remove unused API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: dart/sdk/lib/_internal/compiler/implementation/constants.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/constants.dart b/dart/sdk/lib/_internal/compiler/implementation/constants.dart
index 3e15ab8b8b174ff7fcfbef94746b572e0c1266c2..d0305244a8c765a205ba3b97d9606a9da83f2350 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/constants.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/constants.dart
@@ -123,10 +123,6 @@ class NullConstant extends PrimitiveConstant {
return compiler.typesTask.nullType;
}
- void _writeJsCode(CodeBuffer buffer, ConstantHandler handler) {
- buffer.write(JsNull);
- }
-
// The magic constant has no meaning. It is just a random value.
int get hashCode => 785965825;
DartString toDartString() => const LiteralDartString("null");
@@ -337,6 +333,7 @@ abstract class ObjectConstant extends Constant {
final DartType type;
ObjectConstant(this.type);
+
bool isObject() => true;
DartType computeType(Compiler compiler) => type;

Powered by Google App Engine
This is Rietveld 408576698