Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(754)

Side by Side Diff: runtime/vm/object.h

Issue 212883009: Handle creating ParameterMirrors for the parameters of forwarding constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: different Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 static intptr_t super_type_offset() { 812 static intptr_t super_type_offset() {
813 return OFFSET_OF(RawClass, super_type_); 813 return OFFSET_OF(RawClass, super_type_);
814 } 814 }
815 815
816 // Asserts that the class of the super type has been resolved. 816 // Asserts that the class of the super type has been resolved.
817 RawClass* SuperClass() const; 817 RawClass* SuperClass() const;
818 818
819 RawType* mixin() const { return raw_ptr()->mixin_; } 819 RawType* mixin() const { return raw_ptr()->mixin_; }
820 void set_mixin(const Type& value) const; 820 void set_mixin(const Type& value) const;
821 821
822 // Note this returns false for mixin application aliases.
822 bool IsMixinApplication() const; 823 bool IsMixinApplication() const;
823 bool IsAnonymousMixinApplication() const;
824 824
825 RawClass* patch_class() const { 825 RawClass* patch_class() const {
826 return raw_ptr()->patch_class_; 826 return raw_ptr()->patch_class_;
827 } 827 }
828 void set_patch_class(const Class& patch_class) const; 828 void set_patch_class(const Class& patch_class) const;
829 829
830 // Interfaces is an array of Types. 830 // Interfaces is an array of Types.
831 RawArray* interfaces() const { return raw_ptr()->interfaces_; } 831 RawArray* interfaces() const { return raw_ptr()->interfaces_; }
832 void set_interfaces(const Array& value) const; 832 void set_interfaces(const Array& value) const;
833 static intptr_t interfaces_offset() { 833 static intptr_t interfaces_offset() {
(...skipping 5945 matching lines...) Expand 10 before | Expand all | Expand 10 after
6779 6779
6780 6780
6781 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6781 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6782 intptr_t index) { 6782 intptr_t index) {
6783 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6783 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6784 } 6784 }
6785 6785
6786 } // namespace dart 6786 } // namespace dart
6787 6787
6788 #endif // VM_OBJECT_H_ 6788 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698