OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of dart2js.js_emitter; | 5 part of dart2js.js_emitter; |
6 | 6 |
7 class NsmEmitter extends CodeEmitterHelper { | 7 class NsmEmitter extends CodeEmitterHelper { |
8 final List<Selector> trivialNsmHandlers = <Selector>[]; | 8 final List<Selector> trivialNsmHandlers = <Selector>[]; |
9 | 9 |
10 /// If this is true then we can generate the noSuchMethod handlers at startup | 10 /// If this is true then we can generate the noSuchMethod handlers at startup |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 noSuchMethodName, | 379 noSuchMethodName, |
380 createInvocationMirror, | 380 createInvocationMirror, |
381 sliceOffsetParams, // argument to slice | 381 sliceOffsetParams, // argument to slice |
382 minify ? 'shortNames' : 'longNames', | 382 minify ? 'shortNames' : 'longNames', |
383 sliceOffsetArguments | 383 sliceOffsetArguments |
384 ])); | 384 ])); |
385 | 385 |
386 return statements; | 386 return statements; |
387 } | 387 } |
388 } | 388 } |
OLD | NEW |