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

Unified Diff: sdk/lib/_internal/js_runtime/lib/core_patch.dart

Issue 1220333003: dart2js: Rename emitters. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/annotations.dart ('k') | tests/compiler/dart2js/mock_libraries.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/js_runtime/lib/core_patch.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/core_patch.dart b/sdk/lib/_internal/js_runtime/lib/core_patch.dart
index 4e2e714ed5df6cdcdc6b5c64bb8e45b96b9eeca4..2ec85f03b6bbffea3d8ebc38c123b5d06f8d7782 100644
--- a/sdk/lib/_internal/js_runtime/lib/core_patch.dart
+++ b/sdk/lib/_internal/js_runtime/lib/core_patch.dart
@@ -6,8 +6,8 @@
import "dart:_internal" as _symbol_dev;
import 'dart:_interceptors';
import 'dart:_js_helper' show patch,
- patch_new,
- patch_old,
+ patch_full,
+ patch_lazy,
checkInt,
getRuntimeType,
jsonEncodeNative,
@@ -60,7 +60,7 @@ class Object {
// Patch for Function implementation.
@patch
class Function {
- @patch_old
+ @patch_full
static apply(Function function,
List positionalArguments,
[Map<Symbol, dynamic> namedArguments]) {
@@ -69,7 +69,7 @@ class Function {
namedArguments == null ? null : _toMangledNames(namedArguments));
}
- @patch_new
+ @patch_lazy
static apply(Function function,
List positionalArguments,
[Map<Symbol, dynamic> namedArguments]) {
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/annotations.dart ('k') | tests/compiler/dart2js/mock_libraries.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698