| Index: lib/compiler/implementation/js_backend/constant_system_javascript.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/js_backend/constant_system_javascript.dart (revision 12781)
|
| +++ lib/compiler/implementation/js_backend/constant_system_javascript.dart (working copy)
|
| @@ -42,6 +42,8 @@
|
| }
|
| return result;
|
| }
|
| +
|
| + apply(left, right) => dartBitOperation.apply(left, right);
|
| }
|
|
|
| class JavaScriptShiftRightOperation extends JavaScriptBinaryBitOperation {
|
| @@ -87,6 +89,7 @@
|
| }
|
| return dartNegateOperation.fold(constant);
|
| }
|
| + apply(value) => -value;
|
| }
|
|
|
| class JavaScriptBinaryArithmeticOperation implements BinaryOperation {
|
| @@ -102,6 +105,8 @@
|
| if (result == null) return result;
|
| return JAVA_SCRIPT_CONSTANT_SYSTEM.convertToJavaScriptConstant(result);
|
| }
|
| +
|
| + apply(left, right) => dartArithmeticOperation.apply(left, right);
|
| }
|
|
|
| class JavaScriptIdentityOperation implements BinaryOperation {
|
|
|