| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 V(_Int32Array, _setIndexed, Int32ArraySetIndexed, 306194131) \ | 70 V(_Int32Array, _setIndexed, Int32ArraySetIndexed, 306194131) \ |
| 71 V(_Uint32Array, _setIndexed, Uint32ArraySetIndexed, 410753485) \ | 71 V(_Uint32Array, _setIndexed, Uint32ArraySetIndexed, 410753485) \ |
| 72 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \ | 72 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \ |
| 73 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \ | 73 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \ |
| 74 V(_StringBase, get:length, StringBaseLength, 320803993) \ | 74 V(_StringBase, get:length, StringBaseLength, 320803993) \ |
| 75 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 711547329) \ | 75 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 711547329) \ |
| 76 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 984449525) \ | 76 V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 984449525) \ |
| 77 V(_StringBase, [], StringBaseCharAt, 1062366987) \ | 77 V(_StringBase, [], StringBaseCharAt, 1062366987) \ |
| 78 V(_IntegerImplementation, toDouble, IntegerToDouble, 733149324) \ | 78 V(_IntegerImplementation, toDouble, IntegerToDouble, 733149324) \ |
| 79 V(_Double, toInt, DoubleToInteger, 362666636) \ | 79 V(_Double, toInt, DoubleToInteger, 362666636) \ |
| 80 V(_Double, truncate, DoubleTruncate, 620870996) \ | 80 V(_Double, truncateToDouble, DoubleTruncate, 620870996) \ |
| 81 V(_Double, round, DoubleRound, 620870996) \ | 81 V(_Double, roundToDouble, DoubleRound, 620870996) \ |
| 82 V(_Double, floor, DoubleFloor, 620870996) \ | 82 V(_Double, floorToDouble, DoubleFloor, 620870996) \ |
| 83 V(_Double, ceil, DoubleCeil, 620870996) \ | 83 V(_Double, ceilToDouble, DoubleCeil, 620870996) \ |
| 84 V(_Double, pow, DoublePow, 1131958048) \ | 84 V(_Double, pow, DoublePow, 1131958048) \ |
| 85 V(_Double, _modulo, DoubleMod, 437099337) \ | 85 V(_Double, _modulo, DoubleMod, 437099337) \ |
| 86 V(::, sqrt, MathSqrt, 1662640002) \ | 86 V(::, sqrt, MathSqrt, 1662640002) \ |
| 87 | 87 |
| 88 // Class that recognizes the name and owner of a function and returns the | 88 // Class that recognizes the name and owner of a function and returns the |
| 89 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable | 89 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable |
| 90 // functions. | 90 // functions. |
| 91 class MethodRecognizer : public AllStatic { | 91 class MethodRecognizer : public AllStatic { |
| 92 public: | 92 public: |
| 93 enum Kind { | 93 enum Kind { |
| (...skipping 4384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4478 ForwardInstructionIterator* current_iterator_; | 4478 ForwardInstructionIterator* current_iterator_; |
| 4479 | 4479 |
| 4480 private: | 4480 private: |
| 4481 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 4481 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 4482 }; | 4482 }; |
| 4483 | 4483 |
| 4484 | 4484 |
| 4485 } // namespace dart | 4485 } // namespace dart |
| 4486 | 4486 |
| 4487 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 4487 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |