| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 V(_TypedList, _setInt16, ByteArrayBaseSetInt16, 287047804) \ | 52 V(_TypedList, _setInt16, ByteArrayBaseSetInt16, 287047804) \ |
| 53 V(_TypedList, _setUint16, ByteArrayBaseSetUint16, 287047804) \ | 53 V(_TypedList, _setUint16, ByteArrayBaseSetUint16, 287047804) \ |
| 54 V(_TypedList, _setInt32, ByteArrayBaseSetInt32, 287047804) \ | 54 V(_TypedList, _setInt32, ByteArrayBaseSetInt32, 287047804) \ |
| 55 V(_TypedList, _setUint32, ByteArrayBaseSetUint32, 287047804) \ | 55 V(_TypedList, _setUint32, ByteArrayBaseSetUint32, 287047804) \ |
| 56 V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, 1032541114) \ | 56 V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, 1032541114) \ |
| 57 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, 1032541114) \ | 57 V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, 1032541114) \ |
| 58 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, 1016704782) \ | 58 V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, 1016704782) \ |
| 59 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \ | 59 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \ |
| 60 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \ | 60 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \ |
| 61 V(_StringBase, get:length, StringBaseLength, 320803993) \ | 61 V(_StringBase, get:length, StringBaseLength, 320803993) \ |
| 62 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 110632481) \ | 62 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 1026765313) \ |
| 63 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 984449525) \ | 63 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 984449525) \ |
| 64 V(_StringBase, [], StringBaseCharAt, 1062366987) \ | 64 V(_StringBase, [], StringBaseCharAt, 1062366987) \ |
| 65 V(_IntegerImplementation, toDouble, IntegerToDouble, 927078825) \ | 65 V(_IntegerImplementation, toDouble, IntegerToDouble, 1267108971) \ |
| 66 V(_Double, toInt, DoubleToInteger, 362666636) \ | 66 V(_Double, toInt, DoubleToInteger, 362666636) \ |
| 67 V(_Double, truncateToDouble, DoubleTruncate, 620870996) \ | 67 V(_Double, truncateToDouble, DoubleTruncate, 620870996) \ |
| 68 V(_Double, roundToDouble, DoubleRound, 620870996) \ | 68 V(_Double, roundToDouble, DoubleRound, 620870996) \ |
| 69 V(_Double, floorToDouble, DoubleFloor, 620870996) \ | 69 V(_Double, floorToDouble, DoubleFloor, 620870996) \ |
| 70 V(_Double, ceilToDouble, DoubleCeil, 620870996) \ | 70 V(_Double, ceilToDouble, DoubleCeil, 620870996) \ |
| 71 V(_Double, pow, DoublePow, 1229411686) \ | 71 V(_Double, pow, DoublePow, 631903778) \ |
| 72 V(_Double, _modulo, DoubleMod, 437099337) \ | 72 V(_Double, _modulo, DoubleMod, 437099337) \ |
| 73 V(::, sqrt, MathSqrt, 1662640002) \ | 73 V(::, sqrt, MathSqrt, 1662640002) \ |
| 74 | 74 |
| 75 // Class that recognizes the name and owner of a function and returns the | 75 // Class that recognizes the name and owner of a function and returns the |
| 76 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable | 76 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable |
| 77 // functions. | 77 // functions. |
| 78 class MethodRecognizer : public AllStatic { | 78 class MethodRecognizer : public AllStatic { |
| 79 public: | 79 public: |
| 80 enum Kind { | 80 enum Kind { |
| 81 kUnknown, | 81 kUnknown, |
| (...skipping 4734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4816 ForwardInstructionIterator* current_iterator_; | 4816 ForwardInstructionIterator* current_iterator_; |
| 4817 | 4817 |
| 4818 private: | 4818 private: |
| 4819 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 4819 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 4820 }; | 4820 }; |
| 4821 | 4821 |
| 4822 | 4822 |
| 4823 } // namespace dart | 4823 } // namespace dart |
| 4824 | 4824 |
| 4825 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 4825 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |