| 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 28 matching lines...) Expand all Loading... |
| 39 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \ | 39 V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \ |
| 40 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \ | 40 V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \ |
| 41 V(_StringBase, get:length, StringBaseLength, 320803993) \ | 41 V(_StringBase, get:length, StringBaseLength, 320803993) \ |
| 42 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 711547329) \ | 42 V(_StringBase, get:isEmpty, StringBaseIsEmpty, 711547329) \ |
| 43 V(_StringBase, charCodeAt, StringBaseCharCodeAt, 984449525) \ | 43 V(_StringBase, charCodeAt, StringBaseCharCodeAt, 984449525) \ |
| 44 V(_StringBase, [], StringBaseCharAt, 1062366987) \ | 44 V(_StringBase, [], StringBaseCharAt, 1062366987) \ |
| 45 V(_IntegerImplementation, toDouble, IntegerToDouble, 733149324) \ | 45 V(_IntegerImplementation, toDouble, IntegerToDouble, 733149324) \ |
| 46 V(_Double, toInt, DoubleToInteger, 362666636) \ | 46 V(_Double, toInt, DoubleToInteger, 362666636) \ |
| 47 V(_Double, truncate, DoubleTruncate, 620870996) \ | 47 V(_Double, truncate, DoubleTruncate, 620870996) \ |
| 48 V(_Double, round, DoubleRound, 620870996) \ | 48 V(_Double, round, DoubleRound, 620870996) \ |
| 49 V(_Double, floor, DoubleFloor, 620870996) \ |
| 50 V(_Double, ceil, DoubleCeil, 620870996) \ |
| 49 V(::, sqrt, MathSqrt, 1662640002) \ | 51 V(::, sqrt, MathSqrt, 1662640002) \ |
| 50 | 52 |
| 51 // Class that recognizes the name and owner of a function and returns the | 53 // Class that recognizes the name and owner of a function and returns the |
| 52 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable | 54 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable |
| 53 // functions. | 55 // functions. |
| 54 class MethodRecognizer : public AllStatic { | 56 class MethodRecognizer : public AllStatic { |
| 55 public: | 57 public: |
| 56 enum Kind { | 58 enum Kind { |
| 57 kUnknown, | 59 kUnknown, |
| 58 #define DEFINE_ENUM_LIST(class_name, function_name, enum_name, fp) k##enum_name, | 60 #define DEFINE_ENUM_LIST(class_name, function_name, enum_name, fp) k##enum_name, |
| (...skipping 4364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4423 ForwardInstructionIterator* current_iterator_; | 4425 ForwardInstructionIterator* current_iterator_; |
| 4424 | 4426 |
| 4425 private: | 4427 private: |
| 4426 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 4428 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 4427 }; | 4429 }; |
| 4428 | 4430 |
| 4429 | 4431 |
| 4430 } // namespace dart | 4432 } // namespace dart |
| 4431 | 4433 |
| 4432 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 4434 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |