Chromium Code Reviews| Index: dart/lib/compiler/implementation/lib/js_helper.dart |
| diff --git a/dart/lib/compiler/implementation/lib/js_helper.dart b/dart/lib/compiler/implementation/lib/js_helper.dart |
| index 80d93d3d4b016b31f0727a0c8f4f33e1d654d32c..2e1646ef855d5796d48558ffc7ddc58d9a1b32bc 100644 |
| --- a/dart/lib/compiler/implementation/lib/js_helper.dart |
| +++ b/dart/lib/compiler/implementation/lib/js_helper.dart |
| @@ -1412,3 +1412,5 @@ String getRuntimeTypeString(var object) { |
| var typeInfo = JS('Object', r'#.builtin$typeInfo', object); |
| return JS('String', r'#.runtimeType', typeInfo); |
| } |
| + |
| +compareHelper(compare, a, b) => compare(a, b); |
|
kasperl
2012/10/18 07:46:36
Add a comment that explains what this is used for
|