| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_RAW_OBJECT_H_ | 5 #ifndef VM_RAW_OBJECT_H_ |
| 6 #define VM_RAW_OBJECT_H_ | 6 #define VM_RAW_OBJECT_H_ |
| 7 | 7 |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "vm/globals.h" | 9 #include "vm/globals.h" |
| 10 #include "vm/token.h" | 10 #include "vm/token.h" |
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 kRegularFunction, | 603 kRegularFunction, |
| 604 kClosureFunction, | 604 kClosureFunction, |
| 605 kSignatureFunction, // represents a signature only without actual code. | 605 kSignatureFunction, // represents a signature only without actual code. |
| 606 kGetterFunction, // represents getter functions e.g: get foo() { .. }. | 606 kGetterFunction, // represents getter functions e.g: get foo() { .. }. |
| 607 kSetterFunction, // represents setter functions e.g: set foo(..) { .. }. | 607 kSetterFunction, // represents setter functions e.g: set foo(..) { .. }. |
| 608 kConstructor, | 608 kConstructor, |
| 609 kImplicitGetter, // represents an implicit getter for fields. | 609 kImplicitGetter, // represents an implicit getter for fields. |
| 610 kImplicitSetter, // represents an implicit setter for fields. | 610 kImplicitSetter, // represents an implicit setter for fields. |
| 611 kImplicitStaticFinalGetter, // represents an implicit getter for static | 611 kImplicitStaticFinalGetter, // represents an implicit getter for static |
| 612 // final fields (incl. static const fields). | 612 // final fields (incl. static const fields). |
| 613 kStaticInitializer, // used in implicit static getters. | |
| 614 kMethodExtractor, // converts method into implicit closure on the receiver. | 613 kMethodExtractor, // converts method into implicit closure on the receiver. |
| 615 kNoSuchMethodDispatcher, // invokes noSuchMethod. | 614 kNoSuchMethodDispatcher, // invokes noSuchMethod. |
| 616 kInvokeFieldDispatcher, // invokes a field as a closure. | 615 kInvokeFieldDispatcher, // invokes a field as a closure. |
| 617 }; | 616 }; |
| 618 | 617 |
| 619 enum AsyncModifier { | 618 enum AsyncModifier { |
| 620 kNoModifier, | 619 kNoModifier, |
| 621 kAsync, | 620 kAsync, |
| 622 }; | 621 }; |
| 623 | 622 |
| (...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1986 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == | 1985 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == |
| 1987 kTypedDataInt8ArrayViewCid + 15); | 1986 kTypedDataInt8ArrayViewCid + 15); |
| 1988 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); | 1987 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); |
| 1989 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); | 1988 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); |
| 1990 return (kNullCid - kTypedDataInt8ArrayCid); | 1989 return (kNullCid - kTypedDataInt8ArrayCid); |
| 1991 } | 1990 } |
| 1992 | 1991 |
| 1993 } // namespace dart | 1992 } // namespace dart |
| 1994 | 1993 |
| 1995 #endif // VM_RAW_OBJECT_H_ | 1994 #endif // VM_RAW_OBJECT_H_ |
| OLD | NEW |