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 ba537fd8c7cefa90da31d63b2d064a4a09e66d0d..af96764c5665553988c70778e3e1b16191570c6b 100644 |
--- a/sdk/lib/_internal/js_runtime/lib/core_patch.dart |
+++ b/sdk/lib/_internal/js_runtime/lib/core_patch.dart |
@@ -500,6 +500,7 @@ class RegExp { |
} |
// Patch for 'identical' function. |
+@NoInline() // No inlining since we recognize the call in optimizer. |
@patch |
bool identical(Object a, Object b) { |
return JS('bool', '(# == null ? # == null : # === #)', a, b, a, b); |