| 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 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ | 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ |
| 6 #define VM_INTERMEDIATE_LANGUAGE_H_ | 6 #define VM_INTERMEDIATE_LANGUAGE_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/ast.h" | 9 #include "vm/ast.h" |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 V(_Int32Array, _setIndexed, Int32ArraySetIndexed, 306194131) \ | 78 V(_Int32Array, _setIndexed, Int32ArraySetIndexed, 306194131) \ |
| 79 V(_Uint32Array, _setIndexed, Uint32ArraySetIndexed, 410753485) \ | 79 V(_Uint32Array, _setIndexed, Uint32ArraySetIndexed, 410753485) \ |
| 80 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \ | 80 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \ |
| 81 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \ | 81 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \ |
| 82 V(_StringBase, get:length, StringBaseLength, 320803993) \ | 82 V(_StringBase, get:length, StringBaseLength, 320803993) \ |
| 83 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 711547329) \ | 83 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 711547329) \ |
| 84 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 984449525) \ | 84 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 984449525) \ |
| 85 V(_StringBase, [], StringBaseCharAt, 1062366987) \ | 85 V(_StringBase, [], StringBaseCharAt, 1062366987) \ |
| 86 V(_IntegerImplementation, toDouble, IntegerToDouble, 733149324) \ | 86 V(_IntegerImplementation, toDouble, IntegerToDouble, 733149324) \ |
| 87 V(_Double, toInt, DoubleToInteger, 362666636) \ | 87 V(_Double, toInt, DoubleToInteger, 362666636) \ |
| 88 V(_Double, truncate, DoubleTruncate, 620870996) \ | 88 V(_Double, truncateToDouble, DoubleTruncate, 620870996) \ |
| 89 V(_Double, round, DoubleRound, 620870996) \ | 89 V(_Double, roundToDouble, DoubleRound, 620870996) \ |
| 90 V(_Double, floor, DoubleFloor, 620870996) \ | 90 V(_Double, floorToDouble, DoubleFloor, 620870996) \ |
| 91 V(_Double, ceil, DoubleCeil, 620870996) \ | 91 V(_Double, ceilToDouble, DoubleCeil, 620870996) \ |
| 92 V(_Double, pow, DoublePow, 1131958048) \ | 92 V(_Double, pow, DoublePow, 1131958048) \ |
| 93 V(_Double, _modulo, DoubleMod, 437099337) \ | 93 V(_Double, _modulo, DoubleMod, 437099337) \ |
| 94 V(::, sqrt, MathSqrt, 1662640002) \ | 94 V(::, sqrt, MathSqrt, 1662640002) \ |
| 95 | 95 |
| 96 // Class that recognizes the name and owner of a function and returns the | 96 // Class that recognizes the name and owner of a function and returns the |
| 97 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable | 97 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable |
| 98 // functions. | 98 // functions. |
| 99 class MethodRecognizer : public AllStatic { | 99 class MethodRecognizer : public AllStatic { |
| 100 public: | 100 public: |
| 101 enum Kind { | 101 enum Kind { |
| (...skipping 4402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4504 ForwardInstructionIterator* current_iterator_; | 4504 ForwardInstructionIterator* current_iterator_; |
| 4505 | 4505 |
| 4506 private: | 4506 private: |
| 4507 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 4507 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 4508 }; | 4508 }; |
| 4509 | 4509 |
| 4510 | 4510 |
| 4511 } // namespace dart | 4511 } // namespace dart |
| 4512 | 4512 |
| 4513 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 4513 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |