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

Unified Diff: sdk/lib/_internal/compiler/js_lib/shared/runtime_data.dart

Issue 804423003: dart2js: Change typedef encoding. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add comment. Created 6 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
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/shared/embedded_names.dart ('k') | sdk/lib/_internal/libraries.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/js_lib/shared/runtime_data.dart
diff --git a/sdk/lib/_internal/compiler/js_lib/shared/runtime_data.dart b/sdk/lib/_internal/compiler/js_lib/shared/runtime_data.dart
deleted file mode 100644
index 545aa726995bd06e292b3288cb873d765395f3ac..0000000000000000000000000000000000000000
--- a/sdk/lib/_internal/compiler/js_lib/shared/runtime_data.dart
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-/// Contains encoding, decoding and detection functionality for the
-/// representation of program data at runtime.
-///
-/// This library is shared between the compiler and the runtime system.
-library dart2js.runtime_data;
-
-
-String encodeTypedefFieldDescriptor(int typeIndex) {
- return ":$typeIndex;";
-}
-
-bool isTypedefDescriptor(String descriptor) {
- return descriptor.startsWith(':');
-}
-
-int getTypeFromTypedef(String descriptor) {
- return int.parse(descriptor.substring(1, descriptor.length - 1));
-}
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/shared/embedded_names.dart ('k') | sdk/lib/_internal/libraries.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698