| Index: sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
| index 7721152828ca122906778004e701eeb526b89d91..3ad87ad46e82debdea4d091ffc01c43716c07810 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
| @@ -3174,13 +3174,16 @@ if (typeof document !== "undefined" && document.readyState !== "complete") {
|
| emitStaticFunctionGetters(mainBuffer);
|
|
|
| emitRuntimeTypeSupport(mainBuffer);
|
| + emitGetInterceptorMethods(mainBuffer);
|
| + // Constants in checked mode call into RTI code to set type information
|
| + // which may need getInterceptor methods, so we have to make sure that
|
| + // [emitGetInterceptorMethods] has been called.
|
| emitCompileTimeConstants(mainBuffer);
|
| // Static field initializations require the classes and compile-time
|
| // constants to be set up.
|
| emitStaticNonFinalFieldInitializations(mainBuffer);
|
| emitOneShotInterceptors(mainBuffer);
|
| emitInterceptedNames(mainBuffer);
|
| - emitGetInterceptorMethods(mainBuffer);
|
| emitLazilyInitializedStaticFields(mainBuffer);
|
|
|
| mainBuffer.add(nativeBuffer);
|
|
|