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

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

Issue 16110002: Revert "Reapply "Make int a double in argument type checks."" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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
Index: sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
index 48570cd562199cd510a8fe3ef0d3b154b8d9679f..e06fbc62539fc77046b5de28abc591bf7e0c4cd5 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
@@ -321,7 +321,7 @@ class Primitives {
/// Returns the type of [object] as a string (including type arguments).
static String objectTypeName(Object object) {
- String name = constructorNameFallback(getInterceptor(object));
+ String name = constructorNameFallback(object);
if (name == 'Object') {
// Try to decompile the constructor by turning it into a string
// and get the name out of that. If the decompiled name is a

Powered by Google App Engine
This is Rietveld 408576698