Index: sdk/lib/_internal/js_runtime/lib/native_helper.dart |
diff --git a/sdk/lib/_internal/js_runtime/lib/native_helper.dart b/sdk/lib/_internal/js_runtime/lib/native_helper.dart |
index e87ace9432b98bbb18bb548c36ef3a807e262783..30d3ba7458745ee64f0a0888b47e10f3c32f51ff 100644 |
--- a/sdk/lib/_internal/js_runtime/lib/native_helper.dart |
+++ b/sdk/lib/_internal/js_runtime/lib/native_helper.dart |
@@ -164,6 +164,7 @@ const DISCRIMINATED_MARK = '*'; |
* A dispatch record is cached according to the specification of the dispatch |
* tag for [obj]. |
*/ |
+@NoInline() |
lookupAndCacheInterceptor(obj) { |
assert(!isDartObject(obj)); |
String tag = getTagFunction(obj); |
@@ -288,12 +289,14 @@ String constructorNameFallback(object) { |
var initNativeDispatchFlag; // null or true |
+@NoInline() |
void initNativeDispatch() { |
if (true == initNativeDispatchFlag) return; |
initNativeDispatchFlag = true; |
initNativeDispatchContinue(); |
} |
+@NoInline() |
void initNativeDispatchContinue() { |
dispatchRecordsForInstanceTags = JS('', 'Object.create(null)'); |